update 路由跳转
This commit is contained in:
@ -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('请到流程定义菜单配置路由!');
|
||||
|
@ -253,7 +253,11 @@ const handleOpen = async (row,type) => {
|
||||
if(row.wfFormDefinitionVo){
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `${row.wfFormDefinitionVo.path}/${row.businessKey}/${type}`
|
||||
path: `${row.wfFormDefinitionVo.path}`,
|
||||
query: {
|
||||
id: row.businessKey,
|
||||
type: type
|
||||
}
|
||||
})
|
||||
}else{
|
||||
proxy?.$modal.msgError('请到流程定义菜单配置路由!');
|
||||
|
@ -130,7 +130,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('请到流程定义菜单配置路由!');
|
||||
|
@ -117,7 +117,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('请到流程定义菜单配置路由!');
|
||||
|
@ -138,8 +138,10 @@ const handleOpen = async (row: TaskVO) => {
|
||||
if(row.wfFormDefinitionVo){
|
||||
proxy.$tab.closePage(proxy.$route);
|
||||
proxy.$router.push({
|
||||
path: `${row.wfFormDefinitionVo.path}/${row.businessKey}/approval`,
|
||||
path: `${row.wfFormDefinitionVo.path}`,
|
||||
query: {
|
||||
id: row.businessKey,
|
||||
type: 'approval',
|
||||
taskId: row.id
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user