企标详情-评分

This commit is contained in:
zyn
2023-11-07 23:30:11 +08:00
parent 30a6beb93d
commit c49af7b927
@@ -4,7 +4,8 @@
<!--title 标题--> <!--title 标题-->
<div class="details-header"> <div class="details-header">
<span>{{sarStandardsInfoEO.standCode}} {{sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName}} 企标详情</span> <span>{{sarStandardsInfoEO.standCode}} {{sarStandardsInfoEO.standName ? sarStandardsInfoEO.standName : sarStandardsInfoEO.standEnName}} 企标详情</span>
<b style="float:right;font-size: 25px;color: #ff9900">{{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(1) }}</b> <!--<b style="float:right;font-size: 25px;color: #ff9900">{{ ((qualityCommentScore*2*0.9)+(dynamicCommentScore*2*0.1)).toFixed(1) }}</b>-->
<b style="float:right;font-size: 25px;color: #ff9900">{{ score }}</b>
<!-- 之前的先注掉--> <!-- 之前的先注掉-->
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} {{sarStandardsInfoEO.standName}} 企标详情</span>--> <!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} {{sarStandardsInfoEO.standName}} 企标详情</span>-->
</div> </div>
@@ -110,7 +111,7 @@
<el-form-item> <el-form-item>
<el-radio v-model="commentAverageScoreTag" label="1" border @change="tabsClick">质量评价总平均分</el-radio> <el-radio v-model="commentAverageScoreTag" label="1" border @change="tabsClick">质量评价总平均分</el-radio>
<b style="margin-top: 30px;margin-left: 5px;font-size: 20px;color: #ff9900">{{ <b style="margin-top: 30px;margin-left: 5px;font-size: 20px;color: #ff9900">{{
qualityCommentScore * 2 qualityCommentScore
}}</b> }}</b>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -118,7 +119,7 @@
<el-form-item> <el-form-item>
<el-radio v-model="commentAverageScoreTag" label="2" border @change="tabsClick">动态评价总平均分</el-radio> <el-radio v-model="commentAverageScoreTag" label="2" border @change="tabsClick">动态评价总平均分</el-radio>
<b style="margin-top: 30px;margin-left: 5px;font-size: 20px;color: #ff9900">{{ <b style="margin-top: 30px;margin-left: 5px;font-size: 20px;color: #ff9900">{{
dynamicCommentScore * 2 dynamicCommentScore
}}</b> }}</b>
</el-form-item> </el-form-item>
</el-col> </el-col>
@@ -1335,6 +1336,7 @@ export default {
}, },
data () { data () {
return { return {
score: 0,
externalStatus:'', externalStatus:'',
QFTP: false, QFTP: false,
textOptions: [], textOptions: [],
@@ -1684,8 +1686,11 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
_this: this _this: this
}, res => { }, res => {
this.qualityCommentScore = res.data.quality.toFixed(3)/2 if (res.ok) {
this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 this.score = res.data.finalScore.toFixed(2)
this.qualityCommentScore = res.data.quality.toFixed(2)
this.dynamicCommentScore = res.data.dynamic.toFixed(2)
}
}, e => { }, e => {
}) })
@@ -1777,8 +1782,11 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
_this: this _this: this
}, res => { }, res => {
this.qualityCommentScore = res.data.quality.toFixed(3)/2 if (res.ok) {
this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 this.score = res.data.finalScore.toFixed(2)
this.qualityCommentScore = res.data.quality.toFixed(2)
this.dynamicCommentScore = res.data.dynamic.toFixed(2)
}
}, e => { }, e => {
}) })
@@ -1924,8 +1932,11 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
_this: this _this: this
}, res => { }, res => {
this.qualityCommentScore = res.data.quality.toFixed(3)/2 if (res.ok) {
this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 this.score = res.data.finalScore.toFixed(2)
this.qualityCommentScore = res.data.quality.toFixed(2)
this.dynamicCommentScore = res.data.dynamic.toFixed(2)
}
}, e => { }, e => {
}) })
@@ -3194,8 +3205,11 @@ export default {
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, { this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
_this: this _this: this
}, res => { }, res => {
this.qualityCommentScore = res.data.quality.toFixed(3)/2 if (res.ok) {
this.dynamicCommentScore = res.data.dynamic.toFixed(3)/2 this.score = res.data.finalScore.toFixed(2)
this.qualityCommentScore = res.data.quality.toFixed(2)
this.dynamicCommentScore = res.data.dynamic.toFixed(2)
}
}, e => { }, e => {
}) })