seimin недель назад: 3
Родитель
Сommit
87e1dfe709

+ 2 - 4
src/app/share/select-date-yytime/select-date-yytime.component.ts

@@ -21,10 +21,8 @@ export class SelectDateYytimeComponent implements OnInit {
21 21
 
22 22
   ngOnInit() {
23 23
     if(this.date){
24
-      this.yyDate = new Date(this.date);
25
-      this.yyTime = new Date(this.date);
26
-    }else{
27
-      this.yyDate = new Date();
24
+      this.yyDate = startOfMinute(new Date(this.date));
25
+      this.yyTime = startOfMinute(new Date(this.date));
28 26
     }
29 27
   }
30 28
 

+ 2 - 2
src/app/views/batch-inspection/batch-inspection.component.html

@@ -47,7 +47,7 @@
47 47
         </td>
48 48
         <td>
49 49
           <div *ngFor="let inspect of data.inspectList" class="display_flex align-items_center justify-content_flex-center">
50
-            {{inspect.inspectName}}
50
+            {{inspect.inspectName}} {{inspect.yyTime}}
51 51
             <span class="icon_transport transport-weibiaoti2010104" (click)="editInspect({data: data, inspect: inspect})"></span>
52 52
             <span class="icon_transport transport-shanchu1" (click)="showDelModal({data: data, inspect: inspect}, '您确认要删除吗?','删除','delInspect')"></span>
53 53
           </div>
@@ -84,7 +84,7 @@
84 84
 <app-select-date [date]="coopData.inspect && coopData.inspect.yyTime" *ngIf="isShowSelectDate" (submitFormHand)="submitSelectDate($event)" (cancelFlagHand)="cancelSelectDate($event)"></app-select-date>
85 85
 
86 86
 <!-- 批量发起陪检 -->
87
-<app-select-date-yytime *ngIf="isShowSelectDateYytime" (submitFormYytimeE)="submitSelectDateYytime($event)" (submitFormDirectE)="submitSelectDateDirect($event)" (cancelFlagHand)="cancelSelectDateYytime($event)"></app-select-date-yytime>
87
+<app-select-date-yytime [date]="dateRange.length && dateRange[0]" *ngIf="isShowSelectDateYytime" (submitFormYytimeE)="submitSelectDateYytime($event)" (submitFormDirectE)="submitSelectDateDirect($event)" (cancelFlagHand)="cancelSelectDateYytime($event)"></app-select-date-yytime>
88 88
 
89 89
 <!-- 追加患者检查 -->
90 90
 <app-add-inspect-modal *ngIf="isShowAddInspect" [patientInspectLogDTO]="patientInspectLogDTO" [deptDisplay]="deptDisplay" (closeModelHs)="closeAddInspectModel($event)" (confirmModelHs)="confirmAddInspectModel($event)"></app-add-inspect-modal>

+ 7 - 9
src/app/views/inspect-closed-loop-view/inspect-closed-loop-view.component.html

@@ -52,14 +52,13 @@
52 52
   <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1">
53 53
     <thead>
54 54
       <tr class="thead">
55
-        <th nzWidth="12.5%">科室信息</th>
56
-        <th nzWidth="12.5%">患者信息</th>
57
-        <th nzWidth="12.5%">护理信息</th>
58
-        <th nzWidth="12.5%">预约时间</th>
59
-        <th nzWidth="12.5%">出行方式</th>
60
-        <th nzWidth="12.5%">检查项目</th>
61
-        <th nzWidth="12.5%">签到信息</th>
62
-        <th nzWidth="12.5%">状态</th>
55
+        <th nzWidth="14%">科室信息</th>
56
+        <th nzWidth="14%">患者信息</th>
57
+        <th nzWidth="14%">护理信息</th>
58
+        <th nzWidth="14%">出行方式</th>
59
+        <th nzWidth="16%">检查项目</th>
60
+        <th nzWidth="14%">签到信息</th>
61
+        <th nzWidth="14%">状态</th>
63 62
       </tr>
64 63
     </thead>
65 64
     <tbody>
@@ -67,7 +66,6 @@
67 66
         <td>{{data.deptName}}<br>{{data.deptDTO?.pcode}}</td>
68 67
         <td>{{data.patientName}}<ng-container *ngIf="data.age !== undefined">({{data.age}}岁)</ng-container><br><ng-container *ngIf="data.patientType && data.patientType.value == 'I'">住:{{data.patientCode}}({{data.bedNum}})</ng-container><ng-container *ngIf="data.patientType && data.patientType.value == 'O'">门诊:{{data.patientCode}}</ng-container><ng-container *ngIf="data.patientType && data.patientType.value == 'E'">急:{{data.patientCode}}</ng-container></td>
69 68
         <td>{{data.careLevel?.name}}<br>{{data.illnessState?.name}}</td>
70
-        <td>{{data.yyTime | date:'yyyy-MM-dd HH:mm'}}</td>
71 69
         <td>{{data.tripTypeDTO?.inspectMode}}</td>
72 70
         <td><ng-container *ngFor="let item of data.inspectList;let last = last">{{item.inspectName}}<ng-container *ngIf="!last"><br></ng-container></ng-container></td>
73 71
         <td>{{ data.signTime | date: "yyyy-MM-dd HH:mm" }}<br>{{ data.signDeptDTO?.dept }}<br>{{ data.signUserDTO?.name }}</td>