This commit is contained in:
熊成强 2020-11-24 14:14:34 +08:00
parent be20a77c78
commit 2c0ae9b717
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ export default {
if (weight !== 1) {
const noWeightArr = arr.filter(i => i.weight === null)
let str = noWeightArr.map(i => i.name).join(',')
this.$message.error(str + '维度内的权重和必须为' + Math.round(((1 - maxWeight) * 100) * 1000) / 1000 + '%')
this.$message.error(str + '维度内的权重和必须为100%')
return
}
} else {

View File

@ -5,7 +5,7 @@
<div class="set-top-title">总分规则</div>
<div class="set-top-content">
<el-form label-position='left' :model="info">
<el-form-item label="指标评分计算方式加和计算">
<el-form-item label="指标评分计算方式">
<el-radio-group v-model="radio">
<el-radio :label="3">加权计算
<el-popover