审批流程优化

This commit is contained in:
‘huanghaiixia’
2025-12-29 17:59:07 +08:00
parent b4b883af02
commit 8fd18b347b
9 changed files with 31 additions and 16 deletions

View File

@ -152,7 +152,7 @@
if (!actionButtonConfig?.value.some(element => element.code == 'view')) {
return;
}
const { processId, taskIds, schemaId } = record.workflowData || {};
const { processId, taskIds, schemaId, status } = record.workflowData || {};
if (taskIds && taskIds.length) {
router.push({
path: '/flow/' + schemaId + '/' + (processId || '') + '/approveFlow',
@ -171,7 +171,8 @@
taskId: '',
formName: formName,
formId:currentRoute.value.meta.formId,
id: record.id
id: record.id,
status
}
});
} else {