seimin hai 4 meses
pai
achega
8bb08f9b6b

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

@@ -490,31 +490,31 @@
490
                     </div>
490
                     </div>
491
                   </div> -->
491
                   </div> -->
492
                 </div>
492
                 </div>
493
-                <div class="tab borderB" nz-row>
494
-                  <div nz-col nzSpan="24" class="h100p">
495
-                    <overlay-scrollbars #osComponentRef11 nz-row class="h100p w100">
496
-                      <div style="height: 100%; display: flex;">
493
+                <div class="tab borderB">
494
+                  <div class="h100p">
495
+                    <overlay-scrollbars #osComponentRef11 class="h100p w100">
496
+                      <div style="height: 100%; display: flex;flex-wrap: wrap;">
497
                         <ng-container *ngFor="let item of tabPermission">
497
                         <ng-container *ngFor="let item of tabPermission">
498
-                          <div *ngIf="(coopBtns.buildOrdersForOtherTasks && item.system) || !item.system" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: item.system ? checkedTableType == 'other' : checkedTableType == item.id}" (click)="checkTable(item)">
498
+                          <div *ngIf="(coopBtns.buildOrdersForOtherTasks && item.system) || !item.system" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: item.system ? checkedTableType == 'other' : checkedTableType == item.id}" (click)="checkTable(item)">
499
                             <div class="text">{{ item.title }}</div>
499
                             <div class="text">{{ item.title }}</div>
500
                           </div>
500
                           </div>
501
                         </ng-container>
501
                         </ng-container>
502
-                        <div *ngIf="coopBtns.suggestionBox" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'advice'}" (click)="checkTable('advice')">
502
+                        <div *ngIf="coopBtns.suggestionBox" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'advice'}" (click)="checkTable('advice')">
503
                           <div class="text">意见箱</div>
503
                           <div class="text">意见箱</div>
504
                         </div>
504
                         </div>
505
-                        <div *ngIf="coopBtns.surgery" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'surgery'}" (click)="checkTable('surgery')">
505
+                        <div *ngIf="coopBtns.surgery" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'surgery'}" (click)="checkTable('surgery')">
506
                           <div class="text">手术排程信息</div>
506
                           <div class="text">手术排程信息</div>
507
                         </div>
507
                         </div>
508
-                        <div *ngIf="coopBtns.outpatientHelpAppointment" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'outpatientHelpAppointment'}" (click)="checkTable('outpatientHelpAppointment')">
508
+                        <div *ngIf="coopBtns.outpatientHelpAppointment" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'outpatientHelpAppointment'}" (click)="checkTable('outpatientHelpAppointment')">
509
                           <div class="text">门诊帮扶预约</div>
509
                           <div class="text">门诊帮扶预约</div>
510
                         </div>
510
                         </div>
511
-                        <div *ngIf="coopBtns.inquiryOfHistoricalSpecimens && currentDept.typeValue != 'outpatientService'" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historySpecimen'}" (click)="checkTable('historySpecimen')">
511
+                        <div *ngIf="coopBtns.inquiryOfHistoricalSpecimens && currentDept.typeValue != 'outpatientService'" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historySpecimen'}" (click)="checkTable('historySpecimen')">
512
                           <div class="text">历史标本查询</div>
512
                           <div class="text">历史标本查询</div>
513
                         </div>
513
                         </div>
514
-                        <div *ngIf="coopBtns.historicalMedicineListInquiry && currentDept.typeValue != 'outpatientService'" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historyDrugsbag'}" (click)="checkTable('historyDrugsbag')">
514
+                        <div *ngIf="coopBtns.historicalMedicineListInquiry && currentDept.typeValue != 'outpatientService'" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'historyDrugsbag'}" (click)="checkTable('historyDrugsbag')">
515
                           <div class="text">历史药单查询</div>
515
                           <div class="text">历史药单查询</div>
516
                         </div>
516
                         </div>
517
-                        <div *ngIf="coopBtns.repairList && isShowBx" nz-col nzSpan="3" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'bxlb'}" (click)="checkTable('bxlb')">
517
+                        <div *ngIf="coopBtns.repairList && isShowBx" class="tabPermissionItem" [ngClass]="{txtC: true, cur: true, checked: checkedTableType == 'bxlb'}" (click)="checkTable('bxlb')">
518
                           <div class="text">
518
                           <div class="text">
519
                             报修列表<strong class="red">&nbsp;({{processing}})</strong>
519
                             报修列表<strong class="red">&nbsp;({{processing}})</strong>
520
                           </div>
520
                           </div>

+ 3 - 9
src/app/views/hushijiandan/hushijiandan.component.less

@@ -1542,15 +1542,6 @@
1542
                 height: 100%;
1542
                 height: 100%;
1543
                 position: relative;
1543
                 position: relative;
1544
                 color: #333;
1544
                 color: #333;
1545
-
1546
-                .text {
1547
-                  width: 100%;
1548
-                  text-align: center;
1549
-                  position: absolute;
1550
-                  left: 50%;
1551
-                  top: 50%;
1552
-                  transform: translate(-50%, -50%);
1553
-                }
1554
               }
1545
               }
1555
 
1546
 
1556
               .checked {
1547
               .checked {
@@ -2544,3 +2535,6 @@
2544
     background-color: #e9f7e9;
2535
     background-color: #e9f7e9;
2545
   }
2536
   }
2546
 }
2537
 }
2538
+.tabPermissionItem{
2539
+  padding: 0 16px;
2540
+}