Commit 8e91a872 by yuananting

Merge branch 'feature/yuananting/20210801/task-center' into dev

parents eb02e460 6348e8e6
......@@ -2,7 +2,7 @@
* @Author: yuananting
* @Date: 2021-07-28 14:56:52
* @LastEditors: yuananting
* @LastEditTime: 2021-08-17 15:18:08
* @LastEditTime: 2021-08-17 16:16:04
* @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
......@@ -80,16 +80,19 @@ function TrainList(props) {
// 显示指派弹窗
function handleShowAssignModal(item) {
const assignList = item.assignList.map((childItem) => {
let _assignList = [];
if (item.assignList?.length > 0) {
_assignList = item.assignList.map((childItem) => {
childItem.checkedId = childItem.assignId;
childItem.checkedName = childItem.assignName;
childItem.checkedType = childItem.assignType;
return childItem;
});
}
const chooseAssignorModal = (
<ChooseAssignorModal
currentAssignorList={assignList}
currentAssignorList={_assignList}
visible={true}
onClose={() => {
setChooseAssignorModal(null);
......
......@@ -29,6 +29,7 @@
height: 60px;
border-radius: 2px;
margin-right: 8px;
flex-shrink: 0;
}
.train-name {
width: 188px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment