main
Dayu 11 months ago
parent 1db45a0c66
commit ac47b484e9
  1. 9
      src/views/inspection/inspectiontasks.vue

@ -563,8 +563,12 @@
return;
}
this.stopBox = true;
this.$refs.stopForm.resetForm();
},
submitStop(){
this.$refs.stopForm.validate((valid, done, msg) => {
if (valid) {
done()
this.$confirm("是否将选择巡检任务停止?", {
confirmButtonText: "确定",
cancelButtonText: "取消",
@ -574,7 +578,7 @@
return stop(this.ids, this.stopForm.cancelReason);
})
.then(() => {
this.stopForm.cancelReason = '';
this.$refs.stopForm.resetForm();
this.stopBox = false;
this.onLoad(this.page);
this.$message({
@ -583,6 +587,9 @@
});
this.$refs.crud.toggleSelection();
});
}
})
},
handleExport() {
this.$confirm("是否导出数据?", "提示", {

Loading…
Cancel
Save