Pārlūkot izejas kodu

药房界面调整

seimin 3 gadi atpakaļ
vecāks
revīzija
e1091cd5f6

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

@@ -20,13 +20,13 @@
20
   <!-- 头部 end -->
20
   <!-- 头部 end -->
21
   <!-- 主体部分 start -->
21
   <!-- 主体部分 start -->
22
   <div class="pharmacy-main">
22
   <div class="pharmacy-main">
23
-    <!-- 打印二维码 start -->
23
+    <!-- 待配药 start -->
24
     <div class="pharmacy-main__list pharmacy-main__print">
24
     <div class="pharmacy-main__list pharmacy-main__print">
25
       <!-- 标题 start -->
25
       <!-- 标题 start -->
26
       <div class="pharmacy-main__title">
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
       </div>
30
       </div>
31
       <!-- 标题 end -->
31
       <!-- 标题 end -->
32
       <!-- 搜索框 start -->
32
       <!-- 搜索框 start -->
@@ -54,9 +54,9 @@
54
                 <span>批次&emsp;<em>{{item.batchNo}}</em></span>
54
                 <span>批次&emsp;<em>{{item.batchNo}}</em></span>
55
               </div>
55
               </div>
56
             </div>
56
             </div>
57
-            <div class="pharmacy-main__selectionPrint">
57
+            <!-- <div class="pharmacy-main__selectionPrint">
58
               <div class="pharmacy-main__selectionPrintBtn" (click)="print(item.id)">打印</div>
58
               <div class="pharmacy-main__selectionPrintBtn" (click)="print(item.id)">打印</div>
59
-            </div>
59
+            </div> -->
60
           </div>
60
           </div>
61
           <div class="pharmacy-main__selection pharmacy-main__selection--noData" *ngIf="printPharmacyList.length === 0">
61
           <div class="pharmacy-main__selection pharmacy-main__selection--noData" *ngIf="printPharmacyList.length === 0">
62
             <img src="./../../assets/images/image_kongbaiye.png" alt="">
62
             <img src="./../../assets/images/image_kongbaiye.png" alt="">
@@ -80,12 +80,12 @@
80
       </overlay-scrollbars>
80
       </overlay-scrollbars>
81
       <!-- 列表 end -->
81
       <!-- 列表 end -->
82
     </div>
82
     </div>
83
-    <!-- 打印二维码 end -->
84
-    <!-- 待配送 start -->
83
+    <!-- 待配药 end -->
84
+    <!-- 配药中 start -->
85
     <div class="pharmacy-main__list pharmacy-main__waitDelivery">
85
     <div class="pharmacy-main__list pharmacy-main__waitDelivery">
86
       <!-- 标题 start -->
86
       <!-- 标题 start -->
87
       <div class="pharmacy-main__title">
87
       <div class="pharmacy-main__title">
88
-        <strong>待配送</strong>
88
+        <strong>配药中</strong>
89
       </div>
89
       </div>
90
       <!-- 标题 end -->
90
       <!-- 标题 end -->
91
       <!-- 搜索框 start -->
91
       <!-- 搜索框 start -->
@@ -113,9 +113,9 @@
113
                 <span>批次&emsp;<em>{{item.batchNo}}</em></span>
113
                 <span>批次&emsp;<em>{{item.batchNo}}</em></span>
114
               </div>
114
               </div>
115
             </div>
115
             </div>
116
-            <div class="pharmacy-main__selectionPrint">
116
+            <!-- <div class="pharmacy-main__selectionPrint">
117
               <div class="pharmacy-main__selectionPrintBtn" (click)="replenishPrint(item.id)">补打</div>
117
               <div class="pharmacy-main__selectionPrintBtn" (click)="replenishPrint(item.id)">补打</div>
118
-            </div>
118
+            </div> -->
119
           </div>
119
           </div>
120
           <div class="pharmacy-main__selection pharmacy-main__selection--noData" *ngIf="waitPharmacyList.length === 0">
120
           <div class="pharmacy-main__selection pharmacy-main__selection--noData" *ngIf="waitPharmacyList.length === 0">
121
             <img src="./../../assets/images/image_kongbaiye.png" alt="">
121
             <img src="./../../assets/images/image_kongbaiye.png" alt="">
@@ -139,12 +139,12 @@
139
       </overlay-scrollbars>
139
       </overlay-scrollbars>
140
       <!-- 列表 end -->
140
       <!-- 列表 end -->
141
     </div>
141
     </div>
142
-    <!-- 待配送 end -->
143
-    <!-- 已配送 start -->
142
+    <!-- 配药中 end -->
143
+    <!-- 核对中 start -->
144
     <div class="pharmacy-main__list pharmacy-main__delivery">
144
     <div class="pharmacy-main__list pharmacy-main__delivery">
145
       <!-- 标题 start -->
145
       <!-- 标题 start -->
146
       <div class="pharmacy-main__title">
146
       <div class="pharmacy-main__title">
147
-        <strong>已配送</strong>
147
+        <strong>核对中</strong>
148
       </div>
148
       </div>
149
       <!-- 标题 end -->
149
       <!-- 标题 end -->
150
       <!-- 搜索框 start -->
150
       <!-- 搜索框 start -->
@@ -195,7 +195,7 @@
195
       </overlay-scrollbars>
195
       </overlay-scrollbars>
196
       <!-- 列表 end -->
196
       <!-- 列表 end -->
197
     </div>
197
     </div>
198
-    <!-- 已配送 end -->
198
+    <!-- 核对中 end -->
199
   </div>
199
   </div>
200
   <!-- 主体部分 end -->
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
   osComponentRef3: OverlayScrollbarsComponent;
26
   osComponentRef3: OverlayScrollbarsComponent;
27
   constructor(private mainService: MainService, public router: Router) {}
27
   constructor(private mainService: MainService, public router: Router) {}
28
-  //打印二维码数据
28
+  //待配药数据
29
   codes = [];
29
   codes = [];
30
   // 登录切换效果
30
   // 登录切换效果
31
   loginFlag = false;
31
   loginFlag = false;
32
-  // 打印二维码
32
+  // 待配药
33
   printPharmacyList = []; //数据列表
33
   printPharmacyList = []; //数据列表
34
   printPharmacyIdx = 0; //页码
34
   printPharmacyIdx = 0; //页码
35
   printPharmacyFlag = false; //是否查看更多
35
   printPharmacyFlag = false; //是否查看更多
36
   printPharmacySearchKey = ""; //搜索的内容
36
   printPharmacySearchKey = ""; //搜索的内容
37
   printPharmacyLoad = false; //按钮的loading
37
   printPharmacyLoad = false; //按钮的loading
38
-  // 待配送列表
38
+  // 配药中列表
39
   waitPharmacyList = [];
39
   waitPharmacyList = [];
40
   waitPharmacyIdx = 0;
40
   waitPharmacyIdx = 0;
41
   waitPharmacyFlag = false;
41
   waitPharmacyFlag = false;
42
   waitPharmacySearchKey = "";
42
   waitPharmacySearchKey = "";
43
   waitPharmacyLoad = false;
43
   waitPharmacyLoad = false;
44
-  // 已配送列表
44
+  // 核对中列表
45
   pharmacyList = [];
45
   pharmacyList = [];
46
   pharmacyIdx = 0;
46
   pharmacyIdx = 0;
47
   pharmacyFlag = false;
47
   pharmacyFlag = false;
@@ -51,11 +51,11 @@ export class PharmacyComponent implements OnInit {
51
   currentDept = "";
51
   currentDept = "";
52
 
52
 
53
   ngOnInit() {
53
   ngOnInit() {
54
-    // 打印二维码列表
54
+    // 待配药列表
55
     this.getPharmacyList(this.printPharmacyIdx, 1, this.printPharmacySearchKey);
55
     this.getPharmacyList(this.printPharmacyIdx, 1, this.printPharmacySearchKey);
56
-    // 待配送列表
56
+    // 配药中列表
57
     this.getPharmacyList(this.waitPharmacyIdx, 2, this.waitPharmacySearchKey);
57
     this.getPharmacyList(this.waitPharmacyIdx, 2, this.waitPharmacySearchKey);
58
-    // 已配送列表
58
+    // 核对中列表
59
     this.getPharmacyList(this.pharmacyIdx, 3, this.pharmacySearchKey);
59
     this.getPharmacyList(this.pharmacyIdx, 3, this.pharmacySearchKey);
60
     //当前登录人所属科室
60
     //当前登录人所属科室
61
     this.currentDept = JSON.parse(localStorage.getItem("user")).user.dept.dept;
61
     this.currentDept = JSON.parse(localStorage.getItem("user")).user.dept.dept;
@@ -63,7 +63,7 @@ export class PharmacyComponent implements OnInit {
63
     this.initRole();
63
     this.initRole();
64
   }
64
   }
65
   // 药房端药房列表查询、搜索
65
   // 药房端药房列表查询、搜索
66
-  // 1为pc待打印状态、2为pc待配送、3为pc已配送
66
+  // 1为pc待打印状态、2为pc配药中、3为pc核对中
67
   // searchKey  为搜索的关键字,没有就不传
67
   // searchKey  为搜索的关键字,没有就不传
68
   loading1 = false;
68
   loading1 = false;
69
   loading2 = false;
69
   loading2 = false;
@@ -229,7 +229,7 @@ export class PharmacyComponent implements OnInit {
229
   toggleLogin() {
229
   toggleLogin() {
230
     this.loginFlag = !this.loginFlag;
230
     this.loginFlag = !this.loginFlag;
231
   }
231
   }
232
-  //打印二维码
232
+  //待配药
233
   print(id?) {
233
   print(id?) {
234
     let arr = [];
234
     let arr = [];
235
     if (typeof id === "number" && id > 0) {
235
     if (typeof id === "number" && id > 0) {
@@ -257,9 +257,9 @@ export class PharmacyComponent implements OnInit {
257
             if (data["state"] == 200) {
257
             if (data["state"] == 200) {
258
               this.printPharmacyList = [];
258
               this.printPharmacyList = [];
259
               this.waitPharmacyList = [];
259
               this.waitPharmacyList = [];
260
-              // 打印二维码列表
260
+              // 待配药列表
261
               this.getPharmacyList(0, 1, this.printPharmacySearchKey);
261
               this.getPharmacyList(0, 1, this.printPharmacySearchKey);
262
-              // 待配送列表
262
+              // 配药中列表
263
               this.getPharmacyList(0, 2, this.waitPharmacySearchKey);
263
               this.getPharmacyList(0, 2, this.waitPharmacySearchKey);
264
             }
264
             }
265
           });
265
           });