seimin 3 月之前
父节点
当前提交
3517b697ea
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/app/views/batch-inspection/batch-inspection.component.ts

+ 1 - 1
src/app/views/batch-inspection/batch-inspection.component.ts

@@ -57,10 +57,10 @@ export class BatchInspectionComponent implements OnInit {
57
     .subscribe((data) => {
57
     .subscribe((data) => {
58
       this.message.remove(this.maskFlag);
58
       this.message.remove(this.maskFlag);
59
       this.maskFlag = false;
59
       this.maskFlag = false;
60
-      this.getList();
61
       if (data.status == 200) {
60
       if (data.status == 200) {
62
         this.message.success("修改陪检方式成功");
61
         this.message.success("修改陪检方式成功");
63
       } else {
62
       } else {
63
+        this.getList();
64
         this.message.success(data.msg || "修改陪检方式失败");
64
         this.message.success(data.msg || "修改陪检方式失败");
65
       }
65
       }
66
     });
66
     });