diff --git a/src/views/kpi/assessment/goals/index.vue b/src/views/kpi/assessment/goals/index.vue index e97c473..c8252af 100644 --- a/src/views/kpi/assessment/goals/index.vue +++ b/src/views/kpi/assessment/goals/index.vue @@ -262,11 +262,6 @@ export default { } }) }, - handleAddIndicators (item) { - console.log(item) - this.showIndicators = true - this.formIndicators = Object.assign({}, item) - }, // 编辑 hanidleEdit (item, index, type) { if (item.maxCount !== null) { @@ -278,7 +273,9 @@ export default { } } if (index === -1) { - this.formIndicators = {} + this.formIndicators = { + checkWeight: 0 + } } else { this.formIndicators = Object.assign({}, item) this.formIndicators.checkWeight = this.formIndicators.checkWeight * 100