{{ item.teamScore }}
{{ item.teamCalculationMethodName }}
-权重:
-{{ item.pointWeight }}%
+ +权重:
+{{ item.pointWeight }}%
+ @@ -324,7 +326,8 @@ export default { }, uploaded: 0, multipleSelection: [], - loading: false + loading: false, + isPointWeight: false }; }, mounted () { @@ -443,11 +446,12 @@ export default { data.stageIds = ids.splice(0, this.index + 1) // 发布跟没发布调不同的接口 // if (this.published) { - this.$post(this.api.totalRankingScoreDetails, data).then(({ data }) => { - if (data.length) { + this.$post(this.api.totalRankingScoreDetails, data).then(res => { + this.isPointWeight = res.isPointWeight + if (res.data.length) { const result = [] // 合并数据 - data.map(e => { + res.data.map(e => { const team = e.stageTeamInformation if (team.length) { const teamCItem = this.teamCalculationMethods.find(n => n.id == e.teamCalculationMethod)