update 修复 路由跳转未改全

This commit is contained in:
疯狂的狮子Li 2024-12-17 15:05:02 +08:00
parent c362efece4
commit 306d8c35a1
6 changed files with 19 additions and 7 deletions

View File

@ -107,6 +107,10 @@ const flowCodeOptions = [
{ {
value: 'leave4', value: 'leave4',
label: '请假申请-会签' label: '请假申请-会签'
},
{
value: 'leave5',
label: '请假申请-并行会签网关'
} }
]; ];

View File

@ -371,7 +371,9 @@ const handleView = (row) => {
const routerJumpVo = reactive<RouterJumpVo>({ const routerJumpVo = reactive<RouterJumpVo>({
businessKey: row.businessId, businessKey: row.businessId,
taskId: row.id, taskId: row.id,
type: 'view' type: 'view',
formCustom: row.formCustom,
formPath: row.formPath
}); });
workflowCommon.routerJump(routerJumpVo, proxy); workflowCommon.routerJump(routerJumpVo, proxy);
}; };

View File

@ -231,11 +231,11 @@ const submitCallback = async (data) => {
/** 查看按钮操作 */ /** 查看按钮操作 */
const handleView = (row) => { const handleView = (row) => {
const routerJumpVo = reactive<RouterJumpVo>({ const routerJumpVo = reactive<RouterJumpVo>({
wfDefinitionConfigVo: row.wfDefinitionConfigVo,
wfNodeConfigVo: row.wfNodeConfigVo,
businessKey: row.businessId, businessKey: row.businessId,
taskId: row.id, taskId: row.id,
type: 'view' type: 'view',
formCustom: row.formCustom,
formPath: row.formPath
}); });
workflowCommon.routerJump(routerJumpVo, proxy); workflowCommon.routerJump(routerJumpVo, proxy);
}; };

View File

@ -245,7 +245,9 @@ const handleOpen = async (row, type) => {
const routerJumpVo = reactive<RouterJumpVo>({ const routerJumpVo = reactive<RouterJumpVo>({
businessKey: row.businessId, businessKey: row.businessId,
taskId: row.id, taskId: row.id,
type: type type: type,
formCustom: row.formCustom,
formPath: row.formPath
}); });
workflowCommon.routerJump(routerJumpVo, proxy); workflowCommon.routerJump(routerJumpVo, proxy);
}; };

View File

@ -122,7 +122,9 @@ const handleView = (row) => {
const routerJumpVo = reactive<RouterJumpVo>({ const routerJumpVo = reactive<RouterJumpVo>({
businessKey: row.businessId, businessKey: row.businessId,
taskId: row.id, taskId: row.id,
type: 'view' type: 'view',
formCustom: row.formCustom,
formPath: row.formPath
}); });
workflowCommon.routerJump(routerJumpVo, proxy); workflowCommon.routerJump(routerJumpVo, proxy);
}; };

View File

@ -154,7 +154,9 @@ const handleView = (row: FlowTaskVO) => {
const routerJumpVo = reactive<RouterJumpVo>({ const routerJumpVo = reactive<RouterJumpVo>({
businessKey: row.businessId, businessKey: row.businessId,
taskId: row.id, taskId: row.id,
type: 'view' type: 'view',
formCustom: row.formCustom,
formPath: row.formPath
}); });
workflowCommon.routerJump(routerJumpVo, proxy); workflowCommon.routerJump(routerJumpVo, proxy);
}; };