소스 검색

Merge branch 'develop' into lmm

seimin 3 년 전
부모
커밋
b1059bd2fe
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/app/views/regular-off-duty/regular-off-duty.component.ts
  2. 1 0
      src/app/views/round-robin/round-robin.component.ts

+ 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 {