feat: 流程审批添加查看流程图,放出必填检查;流程发起添加loading

This commit is contained in:
GAOANG
2024-04-07 08:32:57 +08:00
parent fc8e052a4a
commit 4f32569fae
3 changed files with 86 additions and 53 deletions

View File

@ -1541,10 +1541,14 @@ ${hasTemplatePrint ? ' reactive ' : ''}
hasStartWorkButton
? `
function handleStartwork(record: Recordable) {
if (record.workflowData) {
visibleLookProcessRef.value = true;
processIdRef.value = record.workflowData?.processId;
}
const { processId, schemaId } = record.workflowData;
router.push({
path: '/flow/' + schemaId + '/' + (processId || '') + '/approveFlow',
query: {
readonly: 1,
taskId: ''
}
});
}
${
hasFlowRecordButton