update 我执行的 我分发的 点击任务打开详情;我分发的编辑异常情况
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
tableName="SIMULATION_TASK_EXECUTE_LIST"
|
||||
:params="taskParams"
|
||||
:actionList="actionList"
|
||||
@show="editTaskFun"
|
||||
@show="showTaskDetailFun"
|
||||
>
|
||||
</taskTable>
|
||||
<Dialog
|
||||
@@ -304,7 +304,10 @@ const actionList = ref<any>([
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
const showTaskDetailFun = (row: any) => {
|
||||
showTaskDetailDialog.value = true;
|
||||
currentTaskInfo.value = row;
|
||||
};
|
||||
const hideKeys = ref();
|
||||
|
||||
const changeFun = (val: any) => {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
:params="taskParams"
|
||||
exportFileName="我分发的任务列表"
|
||||
:action-list="actionList"
|
||||
@show="editTaskFun"
|
||||
@show="showTaskDetailFun"
|
||||
>
|
||||
</taskTable>
|
||||
</div>
|
||||
@@ -295,7 +295,7 @@ const confirmFun = async () => {
|
||||
taskIds: [fromData.uuid],
|
||||
req: {
|
||||
...fromData,
|
||||
exeStatus: fromData.exeStatus,
|
||||
exeStatus: fromData.exeStatus ? Number(fromData.exeStatus) : null,
|
||||
achieveStatus: fromData.achieveStatus,
|
||||
process: fromData.progress,
|
||||
pMemberList: getMemberListIds(fromData.pMemberList),
|
||||
@@ -304,7 +304,7 @@ const confirmFun = async () => {
|
||||
endTime: fromData.planTime ? fromData.planTime[1] : '',
|
||||
},
|
||||
};
|
||||
if (fromData.exeStatus === TASK_PROCESS_STATUS.COMPLETED) {
|
||||
if (fromData.exeStatus == TASK_PROCESS_STATUS.COMPLETED) {
|
||||
params.req.finishTime = dayjs().format('YYYY-MM-DD HH:mm:ss');
|
||||
}
|
||||
const res: any = await updateTaskStatusApi(params);
|
||||
|
||||
Reference in New Issue
Block a user