web/src/views/modules/taskReliability/TaskPhase-AddOrUpdate.vue
@@ -55,9 +55,8 @@ async formSubmit() { console.log(this.time,'dataLoaded') if (this.time + Number(this.dataForm.phaseDurationRate > 1)) { this.$alert("当前运行时长比已超出,请重新设置") return } this.$alert("请重新设置当前时长比分配") }else{ let res = await this.$http[!this.dataForm.id ? 'post' : 'put']('/taskReliability/TaskPhase/', this.dataForm) if (res.success) { await this.$tip.success() @@ -67,4 +66,5 @@ } } } } </script>