From a805f6885f4b4a499663d66ca6ec9239052c80bf Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Thu, 11 May 2023 11:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=9D=83=E9=99=90=E7=94=B3=E8=AF=B7=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/permissionApplication/launch.vue | 5 +++-- src/views/userCenter/processCenter/taskDraft.vue | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/views/permissionApplication/launch.vue b/src/views/permissionApplication/launch.vue index 01fce42..db27879 100644 --- a/src/views/permissionApplication/launch.vue +++ b/src/views/permissionApplication/launch.vue @@ -106,7 +106,7 @@ export default { max: 500, message: '说明最多填写500字符' }] }, - prcType: 1, + prcType: '', prcName:'', params:[] //处理好格式的数据 @@ -129,6 +129,7 @@ export default { this.prcId = this.$store.getters.handleProcess?.prcId this.prcName = this.$store.getters.handleProcess?.prcName this.dataId= this.$store.getters.handleProcess?.dataId + this.prcType= this.$store.getters.handleProcess?.prcType this.getProcessDetail().then(res => { let powerName='' let dataJson=JSON.parse(this.processOld.dataJson) @@ -245,7 +246,7 @@ export default { let obj={} obj={ prcName:item.name, - prcType:item.power, + prcType:item.power==0?'':item.power, createUser:this.userId, createUserName:this.userName, userId:this.userId, diff --git a/src/views/userCenter/processCenter/taskDraft.vue b/src/views/userCenter/processCenter/taskDraft.vue index 29ea3af..373c757 100644 --- a/src/views/userCenter/processCenter/taskDraft.vue +++ b/src/views/userCenter/processCenter/taskDraft.vue @@ -149,7 +149,14 @@ export default { isDraft: 1 } });break; - + default: + this.$router.push({ + path: '/permission/launch', + query: { + id: this.$route.query.id, + isDraft: 1, + } + });break; } }, },