【修改】更改流程跳转

This commit is contained in:
zhoulingpo
2023-05-10 17:07:35 +08:00
parent 5535cbe785
commit 2496b993cb
3 changed files with 81 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ import tabs from '../userCenter/processCenter/tabs.vue'
prcNum:'',
prcName:''
},
isShowbtn:this.$store.getters.activeTab =='first'
isShowbtn:this.$store.getters.activeTab =='' || this.$store.getters.activeTab =='first'
}
},
created () {
@@ -137,6 +137,46 @@ export default {
}
})
};break;
case '2' :
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/permission/launch',
query: {
id: this.$route.query.id,
type:'yiban',
taskDefinitionKey:row.taskDefinitionKey
}
})
}else{
this.$router.push({
path: '/permission/examine',
query: {
id: this.$route.query.id,
type:'yiban',
taskDefinitionKey:row.taskDefinitionKey
}
})
};break;
case '3' :
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/permission/launch',
query: {
id: this.$route.query.id,
type:'yiban',
taskDefinitionKey:row.taskDefinitionKey
}
})
}else{
this.$router.push({
path: '/permission/examine',
query: {
id: this.$route.query.id,
type:'yiban',
taskDefinitionKey:row.taskDefinitionKey
}
})
};break;
case '4' :
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
this.$router.push({
@@ -130,7 +130,46 @@ export default {
this.$store.commit('setHandleProcess',params)
switch (row.prcType) {
case '1' :
if (row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/permission/launch',
query: {
id: this.$route.query.id,
taskDefinitionKey:row.taskDefinitionKey,
prcName: row.prcName
}
})
}else{
this.$router.push({
path: '/permission/examine',
query: {
id: this.$route.query.id,
taskDefinitionKey:row.taskDefinitionKey,
prcName: row.prcName
}
})
};break;
case '2' :
if (row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/permission/launch',
query: {
id: this.$route.query.id,
taskDefinitionKey:row.taskDefinitionKey,
prcName: row.prcName
}
})
}else{
this.$router.push({
path: '/permission/examine',
query: {
id: this.$route.query.id,
taskDefinitionKey:row.taskDefinitionKey,
prcName: row.prcName
}
})
};break;
case '3' :
if (row.taskDefinitionKey == 'reEdit') {
this.$router.push({
path: '/permission/launch',