From 2496b993cb6cf8ebde8b2e802832d91009e0f5c8 Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Wed, 10 May 2023 17:07:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E6=B5=81=E7=A8=8B=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/userCenter/processCenter.vue | 2 +- .../processCenter/finishProcess.vue | 40 ++++++++++++++++++ .../userCenter/processCenter/gencyProcess.vue | 41 ++++++++++++++++++- 3 files changed, 81 insertions(+), 2 deletions(-) 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',