【修改】更改流程跳转
This commit is contained in:
@@ -58,7 +58,7 @@ import tabs from '../userCenter/processCenter/tabs.vue'
|
|||||||
prcNum:'',
|
prcNum:'',
|
||||||
prcName:''
|
prcName:''
|
||||||
},
|
},
|
||||||
isShowbtn:this.$store.getters.activeTab =='first'
|
isShowbtn:this.$store.getters.activeTab =='' || this.$store.getters.activeTab =='first'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
|
|||||||
@@ -137,6 +137,46 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
};break;
|
};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' :
|
case '4' :
|
||||||
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
|
if (row.taskDefinitionKey == 'start' || row.taskDefinitionKey == 'reEdit') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
|
|||||||
@@ -130,7 +130,46 @@ export default {
|
|||||||
this.$store.commit('setHandleProcess',params)
|
this.$store.commit('setHandleProcess',params)
|
||||||
switch (row.prcType) {
|
switch (row.prcType) {
|
||||||
case '1' :
|
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') {
|
if (row.taskDefinitionKey == 'reEdit') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: '/permission/launch',
|
path: '/permission/launch',
|
||||||
|
|||||||
Reference in New Issue
Block a user