企标评价 - 右上角总分

This commit is contained in:
yanyizhou
2021-12-13 17:12:50 +08:00
parent 785803713e
commit 0a124618bb
@@ -4,6 +4,7 @@
<!--title 标题-->
<div class="details-header">
<span>{{sarStandardsInfoEO.standCode}} {{sarStandardsInfoEO.standName}} 企标详情</span>
<b style="float:right;font-size: 25px;color: #ff9900">{{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(3) }}</b>
<!-- 之前的先注掉-->
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} {{sarStandardsInfoEO.standName}} 企标详情</span>-->
</div>
@@ -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'