From 0a124618bb59c222b962c5ef9f61c3cdc557f678 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Mon, 13 Dec 2021 17:12:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E8=AF=84=E4=BB=B7=20-=20?= =?UTF-8?q?=E5=8F=B3=E4=B8=8A=E8=A7=92=E6=80=BB=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otherBussStandardDetails/index.vue | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index 99f3d6e89..4bb1ef841 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -4,6 +4,7 @@
{{sarStandardsInfoEO.standCode}} 《{{sarStandardsInfoEO.standName}}》 企标详情 + {{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(3) }}
@@ -1778,6 +1779,15 @@ export default { }, e => { }) + //刷新动态评价总平均分和质量评价总平均分 + this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { + _this: this + }, res => { + this.qualityCommentScore = res.data.quality.toFixed(3)/2 + this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 + + }, e => { + }) } }, e => { }) @@ -2858,7 +2868,17 @@ export default { // } }, async mounted () { + //查询动态评价总平均分和质量评价总平均分 let standId = this.$route.params.id + this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { + _this: this + }, res => { + this.qualityCommentScore = res.data.quality.toFixed(3)/2 + this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 + + }, e => { + }) + //查询评价人表 const qualityRequest = { lawId: standId, evaluationType: 'quality'