소스 검색

样式优化

seimin 4 달 전
부모
커밋
8bb08f9b6b
2개의 변경된 파일14개의 추가작업 그리고 20개의 파일을 삭제
  1. 11 11
      src/app/views/hushijiandan/hushijiandan.component.html
  2. 3 9
      src/app/views/hushijiandan/hushijiandan.component.less

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

@@ -490,31 +490,31 @@
490 490
                     </div>
491 491
                   </div> -->
492 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 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 499
                             <div class="text">{{ item.title }}</div>
500 500
                           </div>
501 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 503
                           <div class="text">意见箱</div>
504 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 506
                           <div class="text">手术排程信息</div>
507 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 509
                           <div class="text">门诊帮扶预约</div>
510 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 512
                           <div class="text">历史标本查询</div>
513 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 515
                           <div class="text">历史药单查询</div>
516 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 518
                           <div class="text">
519 519
                             报修列表<strong class="red">&nbsp;({{processing}})</strong>
520 520
                           </div>

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

@@ -1542,15 +1542,6 @@
1542 1542
                 height: 100%;
1543 1543
                 position: relative;
1544 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 1547
               .checked {
@@ -2544,3 +2535,6 @@
2544 2535
     background-color: #e9f7e9;
2545 2536
   }
2546 2537
 }
2538
+.tabPermissionItem{
2539
+  padding: 0 16px;
2540
+}