seimin %!s(int64=3) %!d(string=hai) anos
pai
achega
d646edd28c

+ 2 - 1
src/app/views/regular-off-duty/regular-off-duty.component.ts

@@ -70,9 +70,10 @@ export class RegularOffDutyComponent implements OnInit {
70 70
   // 确认立即执行
71 71
   confirmExec() {
72 72
     this.btnLoading = true;
73
-    let posData = this.coopItem.classesIds.split(',');
73
+    let posData = this.coopItem.classesIds.split(",");
74 74
     this.mainService.executeNowClassesJob(posData).subscribe((result: any) => {
75 75
       this.closeExecModal();
76
+      this.btnLoading = false;
76 77
       if (result.status == 200) {
77 78
         this.showPromptModal("当前班次下班", true, "");
78 79
       } else {

+ 1 - 0
src/app/views/round-robin/round-robin.component.ts

@@ -661,6 +661,7 @@ export class RoundRobinComponent implements OnInit {
661 661
       .executeNowOrderPlan(this.coopItem.id)
662 662
       .subscribe((result: any) => {
663 663
         this.closeExecModal();
664
+        this.btnLoading = false;
664 665
         if (result.status == 200) {
665 666
           this.showPromptModal("立即执行", true, "");
666 667
         } else {