From 0bf5e77f403fa01b3a3ccd724e3d114cc0cb1cde Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Tue, 16 May 2023 10:48:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=85=88?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=8E=89=E8=8E=B7=E5=8F=96=E9=A2=86=E5=AF=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reportProcess/launch.vue | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/views/reportProcess/launch.vue b/src/views/reportProcess/launch.vue index 16ed70c..5c65f3f 100644 --- a/src/views/reportProcess/launch.vue +++ b/src/views/reportProcess/launch.vue @@ -138,7 +138,7 @@ export default { this.$refs.assignFormRef.clearValidate() }) }) - // this.getLearder() + this.getLearder() } else if (this.$route.query.taskDefinitionKey == 'reEdit' ) { this.taskId = this.$store.getters.handleProcess.taskId @@ -153,7 +153,7 @@ export default { this.processForm=JSON.parse(this.processOld.dataJson) this.$set(this.assignForm,'oneApprove',submitJson.oneApprove) this.$set(this.assignForm,'oneApproveName',submitJson.oneApproveName) - // this.getLearder() + this.getLearder() } else if (this.$route.query.type == 'yiban') { @@ -181,7 +181,7 @@ export default { this.isShowSave = false this.isLevel=false }else{ - // this.getLearder() + this.getLearder() this.isLevel = true this.isShowSave = true } @@ -212,15 +212,16 @@ export default { this.$api.reportProcess.getLeader({ userId:this.userId }).then(res=>{ - debugger + if(res.data){ + this.$set(this.assignForm,'oneApprove',res.data[0].usid) + this.$set(this.assignForm,'oneApproveName',res.data[0].usname) + + this.checkBtn=true + }else{ + this.checkBtn=false + } }) - // if(res.data){ - // this.assignForm.oneApprove=res.userId - // this.assignForm.oneApproveName=res.userName - // this.checkBtn=true - // }else{ - // this.checkBtn=false - // } + }, // 查询文件名称 getFileName(){