seimin 9 月之前
父节点
当前提交
24a847255a

+ 2 - 2
src/app/components/configurationCenter/configuration-callcenter/configuration-callcenter.component.html

@@ -8,7 +8,7 @@
8
             节假日班次:
8
             节假日班次:
9
             <nz-select class="select" [nzDropdownMatchSelectWidth]="false" nzAllowClear [(ngModel)]="dataInfo.holidayClassId"
9
             <nz-select class="select" [nzDropdownMatchSelectWidth]="false" nzAllowClear [(ngModel)]="dataInfo.holidayClassId"
10
               nzPlaceHolder="请选择节假日班次" nzServerSearch>
10
               nzPlaceHolder="请选择节假日班次" nzServerSearch>
11
-              <ng-container *ngFor="let data of classList1">
11
+              <ng-container *ngFor="let data of classList2">
12
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
12
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
13
               </ng-container>
13
               </ng-container>
14
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
14
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
@@ -20,7 +20,7 @@
20
             工作日班次:
20
             工作日班次:
21
             <nz-select class="select" [nzDropdownMatchSelectWidth]="false" nzAllowClear [(ngModel)]="dataInfo.workdayClassId"
21
             <nz-select class="select" [nzDropdownMatchSelectWidth]="false" nzAllowClear [(ngModel)]="dataInfo.workdayClassId"
22
               nzPlaceHolder="请选择工作日班次" nzServerSearch>
22
               nzPlaceHolder="请选择工作日班次" nzServerSearch>
23
-              <ng-container *ngFor="let data of classList2">
23
+              <ng-container *ngFor="let data of classList1">
24
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
24
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
25
               </ng-container>
25
               </ng-container>
26
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
26
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>

+ 1 - 0
src/app/components/configurationCenter/configuration-callcenter/configuration-callcenter.component.ts

@@ -62,6 +62,7 @@ export class ConfigurationCallcenterComponent implements OnInit {
62
       sum: 9999,
62
       sum: 9999,
63
       scheduleClass: {
63
       scheduleClass: {
64
         hospital: { id: this.currentHospital.id },
64
         hospital: { id: this.currentHospital.id },
65
+        bindCall: 1,
65
         type,
66
         type,
66
       },
67
       },
67
     };
68
     };

+ 3 - 3
src/app/components/configurationCenter/configuration-priority/configuration-priority.component.html

@@ -96,7 +96,7 @@
96
           <nz-form-control [nzSpan]="18" nzErrorTip="请选择节假日班次!">
96
           <nz-form-control [nzSpan]="18" nzErrorTip="请选择节假日班次!">
97
             <nz-select [nzDropdownMatchSelectWidth]="false" nzAllowClear formControlName="holidayClassId"
97
             <nz-select [nzDropdownMatchSelectWidth]="false" nzAllowClear formControlName="holidayClassId"
98
               nzPlaceHolder="请选择节假日班次" nzServerSearch>
98
               nzPlaceHolder="请选择节假日班次" nzServerSearch>
99
-              <ng-container *ngFor="let data of classList1">
99
+              <ng-container *ngFor="let data of classList2">
100
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
100
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
101
               </ng-container>
101
               </ng-container>
102
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
102
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
@@ -110,7 +110,7 @@
110
           <nz-form-control [nzSpan]="18" nzErrorTip="请选择工作日班次!">
110
           <nz-form-control [nzSpan]="18" nzErrorTip="请选择工作日班次!">
111
             <nz-select [nzDropdownMatchSelectWidth]="false" nzAllowClear formControlName="workdayClassId"
111
             <nz-select [nzDropdownMatchSelectWidth]="false" nzAllowClear formControlName="workdayClassId"
112
               nzPlaceHolder="请选择工作日班次" nzServerSearch>
112
               nzPlaceHolder="请选择工作日班次" nzServerSearch>
113
-              <ng-container *ngFor="let data of classList2">
113
+              <ng-container *ngFor="let data of classList1">
114
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
114
                 <nz-option *ngIf="!isLoading" [nzLabel]="data.name" [nzValue]="data.id"></nz-option>
115
               </ng-container>
115
               </ng-container>
116
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
116
               <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
@@ -126,4 +126,4 @@
126
       <button class="btn cancel" nz-button nzType="default" (click)="hidePriorityModal()">取消</button>
126
       <button class="btn cancel" nz-button nzType="default" (click)="hidePriorityModal()">取消</button>
127
     </div>
127
     </div>
128
   </div>
128
   </div>
129
-</div>
129
+</div>

+ 1 - 0
src/app/components/configurationCenter/configuration-priority/configuration-priority.component.ts

@@ -178,6 +178,7 @@ export class ConfigurationPriorityComponent implements OnInit {
178
       sum: 9999,
178
       sum: 9999,
179
       scheduleClass: {
179
       scheduleClass: {
180
         hospital: { id: this.currentHospital.id },
180
         hospital: { id: this.currentHospital.id },
181
+        bindPriority: 1,
181
         type,
182
         type,
182
       },
183
       },
183
     };
184
     };