update:审核优化
This commit is contained in:
@@ -245,13 +245,17 @@ export const taskAdjust = async (item: any, readType: number = MessageRead.READ)
|
||||
});
|
||||
}
|
||||
} else if (item.msgCategory === MessageCategory.SPDM) { // SPDM CODE
|
||||
if (params?.taskId) {
|
||||
queryTask(params.taskId, false).then((res) => {
|
||||
if (item.msgTitle === '审批通知') {
|
||||
localStorage.setItem('SPDM_MSG_TASK_TYPE', 'flow');
|
||||
localStorage.setItem('SPDM_MSG_TASK_PARAMS', JSON.stringify(params));
|
||||
router.push({
|
||||
path: res.data.endTime ? TaskLink.Completed : TaskLink.Pending,
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
router.push({
|
||||
path: CategoryRoute[item.msgCategory],
|
||||
|
||||
Reference in New Issue
Block a user