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 @@
@@ -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 => {
})