add 添加流程实例,全部待办表单查看

This commit is contained in:
gssong
2024-03-22 23:42:30 +08:00
parent 31f4219f3d
commit d186c800f0
4 changed files with 78 additions and 59 deletions

View File

@ -114,8 +114,14 @@ const getFinishList = () => {
};
/** 查看按钮操作 */
const handleView = (row) => {
proxy.$tab.closePage(proxy.$route);
proxy.$router.push(`/demo/leaveEdit/index/${row.businessKey}/view`);
if(row.wfFormDefinitionVo){
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `${row.wfFormDefinitionVo.path}/${row.businessKey}/view`
})
}else{
proxy?.$modal.msgError('请到流程定义菜单配置路由!');
}
};
onMounted(() => {