add 工作流挂节点路由表单

This commit is contained in:
wangzk
2024-03-29 17:26:56 +08:00
parent c417c6debe
commit c5b3c121c9
5 changed files with 23 additions and 6 deletions

View File

@ -135,7 +135,17 @@ const getWaitingList = () => {
};
//办理
const handleOpen = async (row: TaskVO) => {
if(row.wfFormDefinitionVo){
if (row.formKey != null) {
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `${row.formKey}`,
query: {
id: row.businessKey,
type: 'approval',
taskId: row.id
}
});
} else if (row.wfFormDefinitionVo) {
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `${row.wfFormDefinitionVo.path}`,
@ -144,8 +154,8 @@ const handleOpen = async (row: TaskVO) => {
type: 'approval',
taskId: row.id
}
})
}else{
});
} else {
proxy?.$modal.msgError('请到流程定义菜单配置路由!');
}
};