diff --git a/src/views/userCenter/processCenter.vue b/src/views/userCenter/processCenter.vue index 76446cb..c9320a8 100644 --- a/src/views/userCenter/processCenter.vue +++ b/src/views/userCenter/processCenter.vue @@ -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 () { diff --git a/src/views/userCenter/processCenter/finishProcess.vue b/src/views/userCenter/processCenter/finishProcess.vue index 050be09..0252a3a 100644 --- a/src/views/userCenter/processCenter/finishProcess.vue +++ b/src/views/userCenter/processCenter/finishProcess.vue @@ -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({ diff --git a/src/views/userCenter/processCenter/gencyProcess.vue b/src/views/userCenter/processCenter/gencyProcess.vue index 2898c92..b255ec1 100644 --- a/src/views/userCenter/processCenter/gencyProcess.vue +++ b/src/views/userCenter/processCenter/gencyProcess.vue @@ -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',