Bladeren bron

药房界面调整

seimin 3 jaren geleden
bovenliggende
commit
e1091cd5f6
2 gewijzigde bestanden met toevoegingen van 26 en 26 verwijderingen
  1. 15 15
      src/app/views/pharmacy/pharmacy.component.html
  2. 11 11
      src/app/views/pharmacy/pharmacy.component.ts

+ 15 - 15
src/app/views/pharmacy/pharmacy.component.html

@@ -20,13 +20,13 @@
20 20
   <!-- 头部 end -->
21 21
   <!-- 主体部分 start -->
22 22
   <div class="pharmacy-main">
23
-    <!-- 打印二维码 start -->
23
+    <!-- 待配药 start -->
24 24
     <div class="pharmacy-main__list pharmacy-main__print">
25 25
       <!-- 标题 start -->
26 26
       <div class="pharmacy-main__title">
27
-        <strong>打印二维码</strong>
28
-        <button nz-button class="pharmacy-main__printAll" (click)="print()"
29
-          [disabled]="printPharmacyList.length===0">批量打印</button>
27
+        <strong>待配药</strong>
28
+        <!-- <button nz-button class="pharmacy-main__printAll" (click)="print()"
29
+          [disabled]="printPharmacyList.length===0">批量打印</button> -->
30 30
       </div>
31 31
       <!-- 标题 end -->
32 32
       <!-- 搜索框 start -->
@@ -54,9 +54,9 @@
54 54
                 <span>批次&emsp;<em>{{item.batchNo}}</em></span>
55 55
               </div>
56 56
             </div>
57
-            <div class="pharmacy-main__selectionPrint">
57
+            <!-- <div class="pharmacy-main__selectionPrint">
58 58
               <div class="pharmacy-main__selectionPrintBtn" (click)="print(item.id)">打印</div>
59
-            </div>
59
+            </div> -->
60 60
           </div>
61 61
           <div class="pharmacy-main__selection pharmacy-main__selection--noData" *ngIf="printPharmacyList.length === 0">
62 62
             <img src="./../../assets/images/image_kongbaiye.png" alt="">
@@ -80,12 +80,12 @@
80 80
       </overlay-scrollbars>
81 81
       <!-- 列表 end -->
82 82
     </div>
83
-    <!-- 打印二维码 end -->
84
-    <!-- 待配送 start -->
83
+    <!-- 待配药 end -->
84
+    <!-- 配药中 start -->
85 85
     <div class="pharmacy-main__list pharmacy-main__waitDelivery">
86 86
       <!-- 标题 start -->
87 87
       <div class="pharmacy-main__title">
88
-        <strong>待配送</strong>
88
+        <strong>配药中</strong>
89 89
       </div>
90 90
       <!-- 标题 end -->
91 91
       <!-- 搜索框 start -->
@@ -113,9 +113,9 @@
113 113
                 <span>批次&emsp;<em>{{item.batchNo}}</em></span>
114 114
               </div>
115 115
             </div>
116
-            <div class="pharmacy-main__selectionPrint">
116
+            <!-- <div class="pharmacy-main__selectionPrint">
117 117
               <div class="pharmacy-main__selectionPrintBtn" (click)="replenishPrint(item.id)">补打</div>
118
-            </div>
118
+            </div> -->
119 119
           </div>
120 120
           <div class="pharmacy-main__selection pharmacy-main__selection--noData" *ngIf="waitPharmacyList.length === 0">
121 121
             <img src="./../../assets/images/image_kongbaiye.png" alt="">
@@ -139,12 +139,12 @@
139 139
       </overlay-scrollbars>
140 140
       <!-- 列表 end -->
141 141
     </div>
142
-    <!-- 待配送 end -->
143
-    <!-- 已配送 start -->
142
+    <!-- 配药中 end -->
143
+    <!-- 核对中 start -->
144 144
     <div class="pharmacy-main__list pharmacy-main__delivery">
145 145
       <!-- 标题 start -->
146 146
       <div class="pharmacy-main__title">
147
-        <strong>已配送</strong>
147
+        <strong>核对中</strong>
148 148
       </div>
149 149
       <!-- 标题 end -->
150 150
       <!-- 搜索框 start -->
@@ -195,7 +195,7 @@
195 195
       </overlay-scrollbars>
196 196
       <!-- 列表 end -->
197 197
     </div>
198
-    <!-- 已配送 end -->
198
+    <!-- 核对中 end -->
199 199
   </div>
200 200
   <!-- 主体部分 end -->
201 201
   <!-- 二维码打印 -->

+ 11 - 11
src/app/views/pharmacy/pharmacy.component.ts

@@ -25,23 +25,23 @@ export class PharmacyComponent implements OnInit {
25 25
   })
26 26
   osComponentRef3: OverlayScrollbarsComponent;
27 27
   constructor(private mainService: MainService, public router: Router) {}
28
-  //打印二维码数据
28
+  //待配药数据
29 29
   codes = [];
30 30
   // 登录切换效果
31 31
   loginFlag = false;
32
-  // 打印二维码
32
+  // 待配药
33 33
   printPharmacyList = []; //数据列表
34 34
   printPharmacyIdx = 0; //页码
35 35
   printPharmacyFlag = false; //是否查看更多
36 36
   printPharmacySearchKey = ""; //搜索的内容
37 37
   printPharmacyLoad = false; //按钮的loading
38
-  // 待配送列表
38
+  // 配药中列表
39 39
   waitPharmacyList = [];
40 40
   waitPharmacyIdx = 0;
41 41
   waitPharmacyFlag = false;
42 42
   waitPharmacySearchKey = "";
43 43
   waitPharmacyLoad = false;
44
-  // 已配送列表
44
+  // 核对中列表
45 45
   pharmacyList = [];
46 46
   pharmacyIdx = 0;
47 47
   pharmacyFlag = false;
@@ -51,11 +51,11 @@ export class PharmacyComponent implements OnInit {
51 51
   currentDept = "";
52 52
 
53 53
   ngOnInit() {
54
-    // 打印二维码列表
54
+    // 待配药列表
55 55
     this.getPharmacyList(this.printPharmacyIdx, 1, this.printPharmacySearchKey);
56
-    // 待配送列表
56
+    // 配药中列表
57 57
     this.getPharmacyList(this.waitPharmacyIdx, 2, this.waitPharmacySearchKey);
58
-    // 已配送列表
58
+    // 核对中列表
59 59
     this.getPharmacyList(this.pharmacyIdx, 3, this.pharmacySearchKey);
60 60
     //当前登录人所属科室
61 61
     this.currentDept = JSON.parse(localStorage.getItem("user")).user.dept.dept;
@@ -63,7 +63,7 @@ export class PharmacyComponent implements OnInit {
63 63
     this.initRole();
64 64
   }
65 65
   // 药房端药房列表查询、搜索
66
-  // 1为pc待打印状态、2为pc待配送、3为pc已配送
66
+  // 1为pc待打印状态、2为pc配药中、3为pc核对中
67 67
   // searchKey  为搜索的关键字,没有就不传
68 68
   loading1 = false;
69 69
   loading2 = false;
@@ -229,7 +229,7 @@ export class PharmacyComponent implements OnInit {
229 229
   toggleLogin() {
230 230
     this.loginFlag = !this.loginFlag;
231 231
   }
232
-  //打印二维码
232
+  //待配药
233 233
   print(id?) {
234 234
     let arr = [];
235 235
     if (typeof id === "number" && id > 0) {
@@ -257,9 +257,9 @@ export class PharmacyComponent implements OnInit {
257 257
             if (data["state"] == 200) {
258 258
               this.printPharmacyList = [];
259 259
               this.waitPharmacyList = [];
260
-              // 打印二维码列表
260
+              // 待配药列表
261 261
               this.getPharmacyList(0, 1, this.printPharmacySearchKey);
262
-              // 待配送列表
262
+              // 配药中列表
263 263
               this.getPharmacyList(0, 2, this.waitPharmacySearchKey);
264 264
             }
265 265
           });