-
{{kitem.name}}({{Math.round((kitem.processRate * 100)*1000)/1000|| 0}}%)
-
+
任务{{indexK+1}}:{{kitem.name.length>16?kitem.name.substring(0,12):kitem.name}}(当前进度:{{Math.round((kitem.processRate * 100)*1000)/1000|| 0}}%)
+
+
+ 添加任务
+
编辑
删除
@@ -94,7 +93,7 @@
业务指标权重:{{handleGetWeight(i)}}% /{{Math.round((i.weight * 100)*1000)/1000}}%
- 所有指标总权重: {{ handleGetWeight1()}}%
+ 所有指标总权重: {{ handleGetWeight1()}}%
@@ -139,6 +138,11 @@
+
确定并继续添加
{
if (v) {
this.formTask.processRate = Number(this.formTask.processRate) / 100
@@ -310,7 +314,11 @@ export default {
this.editItem.processRate = this.formTask.processRate || '0'
}
this.$forceUpdate()
- this.handleCancelTask()
+ if (!type) this.handleCancelTask()
+ this.formTask = {
+ name: '',
+ processRate: '0'
+ }
console.log(this.formTask)
}
})
@@ -520,6 +528,9 @@ export default {