From c49af7b9278ae2373b2a278d731bf575d96aaec5 Mon Sep 17 00:00:00 2001 From: zyn Date: Tue, 7 Nov 2023 23:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E8=AF=A6=E6=83=85-=E8=AF=84?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otherBussStandardDetails/index.vue | 36 +++++++++++++------ 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/src/pages/details/otherBussStandardDetails/index.vue b/src/pages/details/otherBussStandardDetails/index.vue index d63a1d5f8..b24df5418 100644 --- a/src/pages/details/otherBussStandardDetails/index.vue +++ b/src/pages/details/otherBussStandardDetails/index.vue @@ -4,7 +4,8 @@
{{sarStandardsInfoEO.standCode}} 《{{sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName}}》 企标详情 - {{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(1) }} + + {{ score }}
@@ -110,7 +111,7 @@ 质量评价总平均分 {{ - qualityCommentScore * 2 + qualityCommentScore }} @@ -118,7 +119,7 @@ 动态评价总平均分 {{ - dynamicCommentScore * 2 + dynamicCommentScore }} @@ -1335,6 +1336,7 @@ export default { }, data () { return { + score: 0, externalStatus:'', QFTP: false, textOptions: [], @@ -1684,8 +1686,11 @@ export default { 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 + if (res.ok) { + this.score = res.data.finalScore.toFixed(2) + this.qualityCommentScore = res.data.quality.toFixed(2) + this.dynamicCommentScore = res.data.dynamic.toFixed(2) + } }, e => { }) @@ -1777,8 +1782,11 @@ export default { 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 + if (res.ok) { + this.score = res.data.finalScore.toFixed(2) + this.qualityCommentScore = res.data.quality.toFixed(2) + this.dynamicCommentScore = res.data.dynamic.toFixed(2) + } }, e => { }) @@ -1924,8 +1932,11 @@ export default { 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 + if (res.ok) { + this.score = res.data.finalScore.toFixed(2) + this.qualityCommentScore = res.data.quality.toFixed(2) + this.dynamicCommentScore = res.data.dynamic.toFixed(2) + } }, e => { }) @@ -3194,8 +3205,11 @@ export default { 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 + if (res.ok) { + this.score = res.data.finalScore.toFixed(2) + this.qualityCommentScore = res.data.quality.toFixed(2) + this.dynamicCommentScore = res.data.dynamic.toFixed(2) + } }, e => { })