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 } }