From 9e6514cf56088259a4af9282453cf2bfcd7a9ff0 Mon Sep 17 00:00:00 2001 From: zty <1048209592@qq.com> Date: Tue, 13 Aug 2024 16:35:05 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AD=A3=E5=BA=A6=E5=AE=A1=E6=A0=B8=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E5=A6=82=E6=9E=9C=E6=98=AF=E5=B7=B2=E5=8A=9E=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E5=8F=AF=E4=BB=A5=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E6=89=80=E6=9C=89=E8=AF=84=E5=88=86=EF=BC=8C=E4=B8=94?= =?UTF-8?q?=E6=AD=A4=E6=97=B6=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98=202.?= =?UTF-8?q?=E4=B8=AA=E9=83=A8=E9=97=A8=E8=AF=84=E5=88=86=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E7=BC=96=E8=BE=91=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=B7=B2=E5=8A=9E?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E5=8F=AF=E7=BC=96=E8=BE=91=EF=BC=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=91=98=E5=8F=AF=E7=BC=96=E8=BE=91=203.=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=8C=89=E9=92=AE=E5=A2=9E=E5=8A=A0=E4=BB=85=E4=B8=BA?= =?UTF-8?q?=E4=BB=A3=E5=8A=9E=E6=97=B6=E5=8F=AF=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quarterlyEvaluationDetail.vue | 37 +++++++++++-------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/kehui-oa-front/src/pages/projectManagements/quarterlyAssessment/quarterlyEvaluationDetail.vue b/kehui-oa-front/src/pages/projectManagements/quarterlyAssessment/quarterlyEvaluationDetail.vue index e02f5b4..049c71c 100644 --- a/kehui-oa-front/src/pages/projectManagements/quarterlyAssessment/quarterlyEvaluationDetail.vue +++ b/kehui-oa-front/src/pages/projectManagements/quarterlyAssessment/quarterlyEvaluationDetail.vue @@ -100,42 +100,42 @@ > - + - + - + - + @@ -259,10 +259,11 @@ export default { this.init() this.getBudgetCategory() if (this.verifyStatus == 2) { - this.isStrategy = false - this.isPlatform = false - this.isMarket = false - this.isService = false + // this.isStrategy = false + // this.isPlatform = false + // this.isMarket = false + // this.isService = false + this.isSave=false } }, methods: { @@ -314,7 +315,7 @@ export default { this.reimburseId = this.$route.params.id this.pid = this.$route.params.pid }, - getQuartely: function () { + getQuartely() { let param = { pageNoUtil: { pageNo: this.pageNo, @@ -326,14 +327,13 @@ export default { } Api.ProjectManagements.getIndicators(param.pageNoUtil).then(result => { if (result.status === 0) { - console.log('是不是办公室', this.isOffice) let data = result.data.ls[0] this.formModel = data this.ext = data.ext this.quarter = data.quarter this.formModel.execution = data.ext.execution //当前委托人是userid或者部门主任委托人包含当前则才能保存 - if (data.ext.executor === this.userId || data.ext.executor.includes(this.userId)) { + if (this.verifyStatus=='1'&(data.ext.executor === this.userId || data.ext.executor.includes(this.userId))) { this.isSave = true } if (!this.isOffice) { @@ -344,12 +344,17 @@ export default { this.formModel.platformScoring = data.ext.platformScoring this.formModel.marketScoring = data.ext.marketScoring this.formModel.serviceScoring = data.ext.serviceScoring + if(data.ext.taskName!="季度审核填报" && data.ext.taskName!="部门主任评级"){ + this.isStrategy = false + this.isPlatform = false + this.isMarket = false + this.isService = false + } } if (data.ext.projectAdmin == this.userId) { this.isAdmin = false } if (data.ext.taskName == "季度审核填报" && data.ext.executor==this.userId) { - console.log("执行人是当前") this.applyId = false } }