seimin 3 settimane fa
parent
commit
3517b697ea

+ 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
     });