update:审核优化

This commit is contained in:
2025-12-26 14:38:53 +08:00
parent 3cc5b76bed
commit 9f38e460ac

View File

@@ -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],