seimin 2 月之前
父節點
當前提交
da99056b8b

+ 0 - 9
src/app/views/inspect-and-patient-transport-config/inspect-and-patient-transport-config.component.html

@@ -177,17 +177,8 @@
177 177
         <!-- 是否自动清空患者标记 -->
178 178
         <div class="display_flex align-items_center mb8">
179 179
           <nz-form-label class="label">是否自动清空患者标记</nz-form-label>
180
-          <!-- <nz-checkbox-group [(ngModel)]="accurateTimeFilling" (ngModelChange)="changeAccurateTimeFilling($event)"></nz-checkbox-group> -->
181 180
           <nz-checkbox-group [(ngModel)]="batchInspectAutoClear" (ngModelChange)="changeBatchInspectAutoClear($event)"></nz-checkbox-group>
182 181
           <nz-time-picker *ngIf="batchInspectAutoClear[0].checked" [(ngModel)]="batchInspectAutoClearTime" nzFormat="HH:mm"></nz-time-picker>
183
-          <!-- <nz-select *ngIf="accurateTimeFilling[0].checked" class="w320px" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择精确时间模式" [(ngModel)]="timeMod">
184
-            <ng-container *ngFor="let option of timeModes">
185
-              <nz-option *ngIf="!isLoading" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
186
-            </ng-container>
187
-            <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
188
-              <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
189
-            </nz-option>
190
-          </nz-select> -->
191 182
         </div>
192 183
         <!-- 检查预约不进行工单合并 -->
193 184
         <!-- <div class="display_flex align-items_center mb8">

+ 2 - 2
src/app/views/inspect-and-patient-transport-config/inspect-and-patient-transport-config.component.ts

@@ -197,7 +197,7 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
197 197
     console.log(e);
198 198
     if(!e[0].checked){
199 199
       // todo
200
-      this.batchInspectAutoClearTime = null;
200
+      this.batchInspectAutoClearTime = undefined;
201 201
     }
202 202
   }
203 203
   // 修改是否允许追加服务
@@ -450,7 +450,7 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
450 450
           this.accurateTimeFilling[0].checked = this.configs.accurateTimeFilling == 1;
451 451
           this.batchInspectAutoClear[0].checked = this.configs.batchInspectAutoClear == 1;
452 452
           this.timeMod = this.configs.timeMod || null;
453
-          this.batchInspectAutoClearTime = this.configs.batchInspectAutoClearTime || null;
453
+          this.batchInspectAutoClearTime = this.configs.batchInspectAutoClearTime ? new Date(this.configs.batchInspectAutoClearTime) : undefined;
454 454
           this.queuingInformation[0].checked = this.configs.queuingInformation == 1;
455 455
 
456 456
           this.startShowAnotherService[0].checked = this.configs.startShowAnotherService == 1;

+ 1 - 1
src/app/views/inspect-info-config/inspect-info-config.component.html

@@ -7,7 +7,7 @@
7 7
     </div>
8 8
     <div class="patient">
9 9
       <span class="label">患者:</span>
10
-      <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzPlaceHolder="请选择患者" [(ngModel)]="searchData.id" nzServerSearch nzShowSearch (nzOnSearch)="changeInp('patient', $event)" (nzOpenChange)="openChangePatient($event)">
10
+      <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzPlaceHolder="请选择患者" [(ngModel)]="searchData.id" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeInp('patient', $event)" (nzOpenChange)="openChangePatient($event)">
11 11
         <ng-container *ngFor="let option of patientList">
12 12
           <nz-option *ngIf="!isLoading" [nzLabel]="option.patientName + '(' + (option.bedNum || '') + ')' + '-' + option.residenceNo" [nzValue]="option.id"></nz-option>
13 13
         </ng-container>

+ 4 - 4
src/common.less

@@ -237,10 +237,10 @@ textarea{
237 237
   &.default {
238 238
     color: @primary-color;
239 239
     background: #fff;
240
-    // height: @default-btn-height;
241
-    // line-height: @default-btn-height;
242
-    // padding: 0 8px 24px;
243
-    // min-width: 80px;
240
+    height: @default-btn-height;
241
+    line-height: @default-btn-height;
242
+    padding: 0 8px 24px;
243
+    min-width: 80px;
244 244
     font-size: 14px;
245 245
   }
246 246
   &.ghost {