瀏覽代碼

药品流程信息

seimin 2 年之前
父節點
當前提交
bf5f3f6d00

+ 2 - 2
src/app/share/log-prompt-modal/log-prompt-modal.component.ts

@@ -16,7 +16,7 @@ export class LogPromptModalComponent implements OnInit {
16
   historySpecimenPageSize: number = 5; //表格每页展示条数
16
   historySpecimenPageSize: number = 5; //表格每页展示条数
17
   historySpecimenListLength: number = 10; //表格总数据量
17
   historySpecimenListLength: number = 10; //表格总数据量
18
   @Input() show: Boolean;
18
   @Input() show: Boolean;
19
-  @Input() packid: String;
19
+  @Input() drugsBagId: String;
20
 
20
 
21
   @Output() closeModelHs = new EventEmitter<any>(); //1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
21
   @Output() closeModelHs = new EventEmitter<any>(); //1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
22
 
22
 
@@ -40,7 +40,7 @@ export class LogPromptModalComponent implements OnInit {
40
       sum: this.historySpecimenPageSize,
40
       sum: this.historySpecimenPageSize,
41
       drugsBagOperationLog: {
41
       drugsBagOperationLog: {
42
         hosId: this.hosId,
42
         hosId: this.hosId,
43
-        packid: this.packid,
43
+        drugsBagId: this.drugsBagId,
44
       },
44
       },
45
     };
45
     };
46
     this.hsLoading = true;
46
     this.hsLoading = true;

+ 16 - 9
src/app/views/drug-search/drug-search.component.html

@@ -45,16 +45,16 @@
45
         <thead>
45
         <thead>
46
           <tr class="thead">
46
           <tr class="thead">
47
             <th nzWidth="6%">序号</th>
47
             <th nzWidth="6%">序号</th>
48
-            <th nzWidth="11%">发药科室</th>
49
-            <th nzWidth="11%">申请科室</th>
50
-            <th nzWidth="11%">同步时间</th>
48
+            <th nzWidth="10%">发药科室</th>
49
+            <th nzWidth="10%">申请科室</th>
50
+            <th nzWidth="10%">同步时间</th>
51
             <th nzWidth="10%">药品状态</th>
51
             <th nzWidth="10%">药品状态</th>
52
-            <!-- <th nzWidth="14%">批次号</th> -->
53
-            <th nzWidth="11%">记账时间</th>
54
-            <th nzWidth="11%">配药时间</th>
55
-            <th nzWidth="11%">核对时间</th>
52
+            <th nzWidth="10%">记账时间</th>
53
+            <th nzWidth="10%">配药时间</th>
54
+            <th nzWidth="10%">核对时间</th>
56
             <th nzWidth="10%">请领单号</th>
55
             <th nzWidth="10%">请领单号</th>
57
-            <th nzWidth="8%">药品标识</th>
56
+            <th nzWidth="7%">药品标识</th>
57
+            <th nzWidth="7%">操作</th>
58
           </tr>
58
           </tr>
59
         </thead>
59
         </thead>
60
         <tbody>
60
         <tbody>
@@ -64,12 +64,12 @@
64
             <td>{{ data.target?.dept }}</td>
64
             <td>{{ data.target?.dept }}</td>
65
             <td>{{ data.creatTime }}</td>
65
             <td>{{ data.creatTime }}</td>
66
             <td>{{ data.drugsState?.name }}</td>
66
             <td>{{ data.drugsState?.name }}</td>
67
-            <!-- <td>{{data.batchNo}}</td> -->
68
             <td>{{data.bagTime}}</td>
67
             <td>{{data.bagTime}}</td>
69
             <td>{{data.startDispensingTime}}</td>
68
             <td>{{data.startDispensingTime}}</td>
70
             <td>{{data.checkTime}}</td>
69
             <td>{{data.checkTime}}</td>
71
             <td>{{data.packid}}</td>
70
             <td>{{data.packid}}</td>
72
             <td>{{data.id}}</td>
71
             <td>{{data.id}}</td>
72
+            <td><button (click)="showLogs(data)">查看历史</button></td>
73
           </tr>
73
           </tr>
74
         </tbody>
74
         </tbody>
75
       </nz-table>
75
       </nz-table>
@@ -88,3 +88,10 @@
88
 <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
88
 <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
89
   [info]="promptInfo">
89
   [info]="promptInfo">
90
 </app-prompt-modal>
90
 </app-prompt-modal>
91
+<!-- 药包流程信息查看 -->
92
+<app-log-prompt-modal
93
+  *ngIf="logPromptModalShow"
94
+  [show]="logPromptModalShow"
95
+  [drugsBagId]="drugsBagId"
96
+  (closeModelHs)="closeModelLog($event)"
97
+></app-log-prompt-modal>

+ 11 - 0
src/app/views/drug-search/drug-search.component.ts

@@ -32,6 +32,17 @@ export class DrugSearchComponent implements OnInit {
32
     });
32
     });
33
     this.getHospital();
33
     this.getHospital();
34
   }
34
   }
35
+  // 查看流程信息弹窗
36
+  logPromptModalShow = false; //弹窗开关
37
+  drugsBagId = ""; //查看记录携带id
38
+  showLogs(data) {
39
+    this.drugsBagId = data.id;
40
+    this.logPromptModalShow = true;
41
+  }
42
+  // 关闭流程信息弹窗
43
+  closeModelLog(e) {
44
+    this.logPromptModalShow = JSON.parse(e).show;
45
+  }
35
   // 清空药品
46
   // 清空药品
36
   delModal: boolean = false; //删除模态框
47
   delModal: boolean = false; //删除模态框
37
   tipsMsg1: string; //提示框信息
48
   tipsMsg1: string; //提示框信息

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

@@ -3341,7 +3341,7 @@
3341
 <app-log-prompt-modal
3341
 <app-log-prompt-modal
3342
   *ngIf="historyDPromptModalShow"
3342
   *ngIf="historyDPromptModalShow"
3343
   [show]="historyDPromptModalShow"
3343
   [show]="historyDPromptModalShow"
3344
-  [packid]="packidD"
3344
+  [drugsBagId]="drugsBagId"
3345
   (closeModelHs)="closeModelHistoryDrugsbag($event)"
3345
   (closeModelHs)="closeModelHistoryDrugsbag($event)"
3346
 ></app-log-prompt-modal>
3346
 ></app-log-prompt-modal>
3347
 <!-- 报修详情查看 -->
3347
 <!-- 报修详情查看 -->

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

@@ -495,9 +495,9 @@ export class HushijiandanComponent implements OnInit {
495
   }
495
   }
496
   // 查看药单历史记录
496
   // 查看药单历史记录
497
   historyDPromptModalShow = false; //药单历史记录弹窗开关
497
   historyDPromptModalShow = false; //药单历史记录弹窗开关
498
-  packidD = ""; //查看历史记录携带
498
+  drugsBagId = ""; //查看历史记录携带
499
   viewDrugsbagHistory(data) {
499
   viewDrugsbagHistory(data) {
500
-    this.packidD = data.packid;
500
+    this.drugsBagId = data.id;
501
     this.historyDPromptModalShow = true;
501
     this.historyDPromptModalShow = true;
502
   }
502
   }
503
   // 关闭药单历史记录弹窗
503
   // 关闭药单历史记录弹窗

+ 1 - 1
src/app/views/pharmacy2/pharmacy2.component.html

@@ -569,6 +569,6 @@
569
 <app-log-prompt-modal
569
 <app-log-prompt-modal
570
   *ngIf="logPromptModalShow"
570
   *ngIf="logPromptModalShow"
571
   [show]="logPromptModalShow"
571
   [show]="logPromptModalShow"
572
-  [packid]="packid"
572
+  [drugsBagId]="drugsBagId"
573
   (closeModelHs)="closeModelLog($event)"
573
   (closeModelHs)="closeModelLog($event)"
574
 ></app-log-prompt-modal>
574
 ></app-log-prompt-modal>

+ 2 - 2
src/app/views/pharmacy2/pharmacy2.component.ts

@@ -144,10 +144,10 @@ export class Pharmacy2Component implements OnInit, OnDestroy {
144
   }
144
   }
145
   // 查看流程信息弹窗
145
   // 查看流程信息弹窗
146
   logPromptModalShow = false; //弹窗开关
146
   logPromptModalShow = false; //弹窗开关
147
-  packid = ""; //查看记录携带packid
147
+  drugsBagId = ""; //查看记录携带drugsBagId
148
   showLogs(data) {
148
   showLogs(data) {
149
     clearInterval(this.logTimer);
149
     clearInterval(this.logTimer);
150
-    this.packid = data.packid;
150
+    this.drugsBagId = data.id;
151
     this.logPromptModalShow = true;
151
     this.logPromptModalShow = true;
152
   }
152
   }
153
   // 关闭流程信息弹窗
153
   // 关闭流程信息弹窗