seimin hai 9 meses
pai
achega
8411a37a08

+ 2 - 2
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1731,7 +1731,7 @@
1731 1731
                           <td>{{ item.patientName }}<br>{{ item.sex?.name }}<ng-container *ngIf="item.age !== undefined"> {{item.age}}岁</ng-container></td>
1732 1732
                           <td>{{ item.applyType?.name }}<br>{{ item.equipment?.name }}</td>
1733 1733
                           <td>患者:{{ item.patientPhone }}<br>代表:{{ item.agent_phone }}</td>
1734
-                          <td>{{ item.escortTime | date:'yyyy-MM-dd' }}<br>{{ item.status?.name }}</td>
1734
+                          <td>{{ item.escortTime | date:'yyyy-MM-dd HH:mm' }}<br>{{ item.status?.name }}</td>
1735 1735
                           <td>
1736 1736
                             <div class="coop">
1737 1737
                               <span (click)="createOrder($event, item)">一键申请</span>
@@ -4028,4 +4028,4 @@
4028 4028
 <app-pathology-add *ngIf="pathologyModal" [surgeryId]="surgeryDataId" [patientId]="patientDataId" (pathologyCancel)="pathologyCancel($event)"></app-pathology-add>
4029 4029
 
4030 4030
 <!-- 病理详情 -->
4031
-<app-pathology-detail *ngIf="pathologyDetailModal" [surgeryId]="surgeryDataId" [patientId]="patientDataId" (pathologyCancel)="pathologyDetailCancel($event)"></app-pathology-detail>
4031
+<app-pathology-detail *ngIf="pathologyDetailModal" [surgeryId]="surgeryDataId" [patientId]="patientDataId" (pathologyCancel)="pathologyDetailCancel($event)"></app-pathology-detail>

+ 10 - 7
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -170,7 +170,7 @@ export class HushijiandanComponent implements OnInit {
170 170
   coopBtns: any = {};
171 171
 	surgeryDataId: any; //手术id
172 172
 	patientDataId: any; //病人id
173
-	
173
+
174 174
   ngOnInit() {
175 175
     this.getCoopBtns();
176 176
     this.currentHospital = this.tool.getCurrentHospital();
@@ -311,7 +311,7 @@ export class HushijiandanComponent implements OnInit {
311 311
     this.coopBtns = coopBtns;
312 312
     console.log(this.coopBtns);
313 313
   }
314
-	
314
+
315 315
 	// 手术排程-病理申请单
316 316
 	pathologyAddItem(e,item){
317 317
 		this.surgeryDataId = item.id
@@ -335,7 +335,7 @@ export class HushijiandanComponent implements OnInit {
335 335
 				}
336 336
 			});
337 337
 	}
338
-	
338
+
339 339
 	// 病理申请单
340 340
 	pathologyAdd(e){
341 341
 		this.surgeryDataId = this.surgeryWKOMsg.id
@@ -359,11 +359,11 @@ export class HushijiandanComponent implements OnInit {
359 359
 			}
360 360
 		});
361 361
 	}
362
-	
362
+
363 363
 	pathologyDetailCancel(){
364 364
 		this.pathologyDetailModal = false
365 365
 	}
366
-	
366
+
367 367
 	pathologyCancel(){
368 368
 		this.pathologyModal = false
369 369
 	}
@@ -501,7 +501,7 @@ export class HushijiandanComponent implements OnInit {
501 501
         if (result.status == 200) {
502 502
           this.isShowBx = result.list.find(v => v.key == 'hos_itsmIncident').value == 1;
503 503
           this.isAssign = result.list.find(v => v.key == 'nurseSendOrder').value == 1;
504
-          if (this.isShowBx && (this.coopBtns.repairList || this.coopBtns.quickReportForRepair)) {
504
+          if (this.isShowBx && (this.coopBtns.repairList || this.coopBtns.quickReportForRepair) && !this.checkedTableType) {
505 505
             // 初始化默认显示第一个
506 506
             if(this.tabPermission.length){
507 507
               this.checkedTableType = (this.tabPermission[0] && this.tabPermission[0].system) ? 'other' : this.tabPermission[0].id;
@@ -1507,7 +1507,7 @@ export class HushijiandanComponent implements OnInit {
1507 1507
           this.tabPermission = this.tabPermission.filter(v => !v.system);
1508 1508
         }
1509 1509
         // 初始化默认显示第一个
1510
-        if(search === undefined){
1510
+        if(search === undefined && !this.checkedTableType){
1511 1511
           if(this.tabPermission.length){
1512 1512
             this.checkedTableType = (this.tabPermission[0] && this.tabPermission[0].system) ? 'other' : this.tabPermission[0].id;
1513 1513
           }else if(this.coopBtns.suggestionBox){
@@ -1532,6 +1532,9 @@ export class HushijiandanComponent implements OnInit {
1532 1532
             this.checkedTableType = 'bxlb';
1533 1533
             this.checkTable(this.checkedTableType);
1534 1534
           }
1535
+        }else{
1536
+          console.log('this.checkedTableType', this.checkedTableType);
1537
+          this.checkTable(this.checkedTableType);
1535 1538
         }
1536 1539
         this.othersList = {};
1537 1540
         this.tabPermission.forEach(v => {

+ 0 - 11
src/common.less

@@ -171,17 +171,6 @@
171 171
 }
172 172
 // list模板样式 end
173 173
 
174
-// 滚动条样式
175
-::-webkit-scrollbar {
176
-  width: 8px;
177
-  height: 8px;
178
-}
179
-
180
-::-webkit-scrollbar-thumb {
181
-
182
-
183
-}
184
-
185 174
 // button
186 175
 @lg-btn-height: 52px;
187 176
 @default-btn-height: 34px;