update 路由跳转

This commit is contained in:
gssong
2024-03-24 15:13:05 +08:00
parent d186c800f0
commit cd129aa949
9 changed files with 69 additions and 30 deletions

View File

@ -263,7 +263,11 @@ const handleView = (row) => {
if(row.wfFormDefinitionVo){
proxy.$tab.closePage(proxy.$route);
proxy.$router.push({
path: `${row.wfFormDefinitionVo.path}/${row.businessKey}/view`
path: `${row.wfFormDefinitionVo.path}`,
query: {
id: row.businessKey,
type: 'view'
}
})
}else{
proxy?.$modal.msgError('请到流程定义菜单配置路由!');