|
@@ -0,0 +1,627 @@
|
|
1
|
+<div class="pharmacy">
|
|
2
|
+ <!-- 头部 start -->
|
|
3
|
+ <div class="pharmacy-header">
|
|
4
|
+ <div class="pharmacy-logo">
|
|
5
|
+ <div class="pharmacy-name__title">一站式服务管理平台</div>
|
|
6
|
+ </div>
|
|
7
|
+ <div class="pharmacy-name">
|
|
8
|
+ <div class="pharmacy-title">门诊病理采样端</div>
|
|
9
|
+ <div class="pharmacy-name__total">
|
|
10
|
+ <nz-input-group nzSize="large">
|
|
11
|
+ <input type="text" id="Binput" (ngModelChange)="specimenCodeChange($event)" [(ngModel)]="barCode" nz-input placeholder="请输入患者信息" />
|
|
12
|
+ </nz-input-group>
|
|
13
|
+ <!-- <ng-template #suffixButton>
|
|
14
|
+ <button nz-button nzType="primary" nzSize="large" nzSearch (click)="searchSpecimen()">搜索</button>
|
|
15
|
+ </ng-template> -->
|
|
16
|
+ </div>
|
|
17
|
+ <div>
|
|
18
|
+ <div class="error-class">{{searchMsg}}</div>
|
|
19
|
+ </div>
|
|
20
|
+ </div>
|
|
21
|
+ <div class="right">
|
|
22
|
+ <div class="userInfo dropdown">
|
|
23
|
+ <div class="user" (mouseenter)="showDropdown = true" (mouseleave)="showDropdown = false">
|
|
24
|
+ <img src="../../assets/images/icon_keshi.png" alt="">
|
|
25
|
+ <span><ng-container *ngIf="loginUser.dept">{{deptDisplay == 2 ? loginUser.dept.deptalias : loginUser.dept.dept}}-</ng-container>{{loginUser.name}}</span>
|
|
26
|
+ <i class="icon_transport transport-xiala1 ml8"></i>
|
|
27
|
+ </div>
|
|
28
|
+ <div class="dropdown-content r8" [hidden]="!showDropdown" (mouseenter)="showDropdown = true" (mouseleave)="showDropdown = false">
|
|
29
|
+ <div class="dropdownItem" (click)="changeKsNow()">切换科室</div>
|
|
30
|
+ <div class="dropdownItem" (click)="toMain()">回到系统管理</div>
|
|
31
|
+ <div class="dropdownItem" (click)="logOut()">退出</div>
|
|
32
|
+ </div>
|
|
33
|
+ </div>
|
|
34
|
+ </div>
|
|
35
|
+ </div>
|
|
36
|
+ <div class="pharmacy-main">
|
|
37
|
+ <div class="left" *ngIf="adviceList">
|
|
38
|
+ <div class="top" *ngIf="adviceList.patientNo">
|
|
39
|
+ <div>{{adviceList.patientName}} {{adviceList.patientGender?adviceList.patientGender.name:'-'}} ({{adviceList.patientAge||'-'}}岁)</div>
|
|
40
|
+ <div class="border">{{adviceList.patientNo}}</div>
|
|
41
|
+ </div>
|
|
42
|
+ <div class="content" *ngFor="let item of adviceList.pathologyAdviceDTOS;let index=index;" (click)="listClick(item,index)" [ngClass]="{'activeLeftClass': index == leftIndex}">
|
|
43
|
+ <div class="list list-df">
|
|
44
|
+ <div class="code">{{item.adviceId}}</div>
|
|
45
|
+ <div class="form-title">{{item.adviceType.name}}</div>
|
|
46
|
+ </div>
|
|
47
|
+ <div class="list">项目:{{item.inspectType.name}}</div>
|
|
48
|
+ <div class="list">部位:{{item.inspectPart}}</div>
|
|
49
|
+ <div class="list">诊断:{{item.diagnosis}}</div>
|
|
50
|
+ <div class="list">开单时间:{{item.orderTime | date:'yyyy-MM-dd HH:mm:ss'}}</div>
|
|
51
|
+ <!-- <div class="list">状态:{{item.orderStatusName}}</div> -->
|
|
52
|
+ </div>
|
|
53
|
+ </div>
|
|
54
|
+ <div class="center" *ngIf="detailsData && viewType!='add'">
|
|
55
|
+ <div class="pathology-content" *ngIf="viewType=='edit'">
|
|
56
|
+ <div class="title">病理检查申请单</div>
|
|
57
|
+ <div class="content">
|
|
58
|
+ <form nz-form [formGroup]="validateForm" class="addForm">
|
|
59
|
+ <div class="content-item">
|
|
60
|
+ <nz-form-item class="form-title-box">
|
|
61
|
+ <div class="form-title"><span class="font-weight-500">申请单号:</span>{{detailsData.applyCode}}</div>
|
|
62
|
+ <div class="form-title" *ngIf="detailsData.pathologyFormType==null">申请单类型:无</div>
|
|
63
|
+ <div class="form-title" *ngIf="detailsData.pathologyFormType==1">申请单类型:术中快速病理检查申请单</div>
|
|
64
|
+ <div class="form-title" *ngIf="detailsData.pathologyFormType==0">申请单类型:病理检查申请单</div>
|
|
65
|
+ <div class="form-title"><span class="font-weight-500">状态:</span>{{detailsData.status?detailsData.status.name:'-'}}</div>
|
|
66
|
+ </nz-form-item>
|
|
67
|
+
|
|
68
|
+ <nz-form-item>
|
|
69
|
+ <div class="form-title width-100 font-weight-500">诊断:</div>
|
|
70
|
+ <div>
|
|
71
|
+ {{detailsData.diagnose||'无'}}
|
|
72
|
+ </div>
|
|
73
|
+ </nz-form-item>
|
|
74
|
+
|
|
75
|
+ <nz-form-item>
|
|
76
|
+ <div class="form-title width-100 font-weight-500">病历摘要:</div>
|
|
77
|
+ <div class="indent" [ngClass]="{'height-200': isShowMove, 'height-100': !isShowMove && detailsData.medicalRecords}">{{detailsData.medicalRecords||'无'}}</div>
|
|
78
|
+ <div (click)="showLook()" class="cursor" *ngIf="medicalRecordsLength>10">
|
|
79
|
+ <i *ngIf="isShowMove" nz-icon nzType="caret-down" nzTheme="outline"></i>
|
|
80
|
+ <i *ngIf="!isShowMove" nz-icon nzType="caret-up" nzTheme="outline"></i>
|
|
81
|
+ </div>
|
|
82
|
+ </nz-form-item>
|
|
83
|
+
|
|
84
|
+ <nz-form-item class="form-item">
|
|
85
|
+ <nz-form-label nzFor="surgicalPlan" [nzSm]="24" [nzXs]="24">手术方案</nz-form-label>
|
|
86
|
+ <nz-form-control nzErrorTip="请输入手术方案" [nzSm]="24" [nzXs]="24">
|
|
87
|
+ <input nz-input formControlName="surgicalPlan" placeholder="请输入手术方案"/>
|
|
88
|
+ </nz-form-control>
|
|
89
|
+ </nz-form-item>
|
|
90
|
+
|
|
91
|
+ <nz-form-item class="form-item">
|
|
92
|
+ <nz-form-label nzFor="intraoperativeFindings" [nzSm]="24" [nzXs]="24">术中所见</nz-form-label>
|
|
93
|
+ <nz-form-control nzErrorTip="请输入术中所见" [nzSm]="24" [nzXs]="24">
|
|
94
|
+ <input nz-input formControlName="intraoperativeFindings" placeholder="请输入术中所见"/>
|
|
95
|
+ </nz-form-control>
|
|
96
|
+ </nz-form-item>
|
|
97
|
+
|
|
98
|
+ <nz-form-item class="form-item">
|
|
99
|
+ <nz-form-label nzRequired nzFor="project" [nzSm]="4" [nzXs]="24">检验项目</nz-form-label>
|
|
100
|
+ <nz-form-control nzErrorTip="请选择检验项目!" [nzSm]="20" [nzXs]="24">
|
|
101
|
+ <nz-input-group>
|
|
102
|
+ <nz-select nzSearch nzShowSearch nzPlaceHolder="请选择检验项目" formControlName="project">
|
|
103
|
+ <ng-container *ngFor="let option of projectData">
|
|
104
|
+ <nz-option [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
|
|
105
|
+ </ng-container>
|
|
106
|
+ </nz-select>
|
|
107
|
+ </nz-input-group>
|
|
108
|
+ </nz-form-control>
|
|
109
|
+ </nz-form-item>
|
|
110
|
+
|
|
111
|
+ <div class="df-sb">
|
|
112
|
+ <nz-form-item class="form-item">
|
|
113
|
+ <nz-form-label nzRequired nzFor="specimenGenre">标本类型</nz-form-label>
|
|
114
|
+ <nz-form-control nzErrorTip="请选择标本类型!">
|
|
115
|
+ <nz-input-group>
|
|
116
|
+ <nz-select nzSearch nzShowSearch nzPlaceHolder="请选择标本类型" formControlName="specimenGenre">
|
|
117
|
+ <ng-container *ngFor="let option of specimenData">
|
|
118
|
+ <nz-option *ngIf="!isDeptLoading" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
|
|
119
|
+ </ng-container>
|
|
120
|
+ <nz-option *ngIf="isDeptLoading" nzDisabled nzCustomContent>
|
|
121
|
+ <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
|
|
122
|
+ </nz-option>
|
|
123
|
+ </nz-select>
|
|
124
|
+ </nz-input-group>
|
|
125
|
+ </nz-form-control>
|
|
126
|
+ </nz-form-item>
|
|
127
|
+
|
|
128
|
+ <nz-form-item class="form-item-right">
|
|
129
|
+ <nz-form-label nzRequired nzFor="specimenNum">标本数量</nz-form-label>
|
|
130
|
+ <nz-form-control nzErrorTip="请输入标本数量!">
|
|
131
|
+ <input nz-input formControlName="specimenNum" disabled placeholder="请输入标本数量" nzSize="default" />
|
|
132
|
+ </nz-form-control>
|
|
133
|
+ </nz-form-item>
|
|
134
|
+ </div>
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+ <nz-form-item class="form-item">
|
|
138
|
+ <nz-form-label nzRequired nzFor="takePart" [nzSm]="4" [nzXs]="24">采取部位</nz-form-label>
|
|
139
|
+ <nz-form-control nzErrorTip="请输入采取部位!" [nzSm]="20" [nzXs]="24">
|
|
140
|
+ <input nz-input formControlName="takePart" placeholder="请输入采取部位" nzSize="default" />
|
|
141
|
+ </nz-form-control>
|
|
142
|
+ </nz-form-item>
|
|
143
|
+
|
|
144
|
+ <nz-form-item class="form-item">
|
|
145
|
+ <nz-form-label nzRequired [nzSm]="3" [nzXs]="24">标本</nz-form-label>
|
|
146
|
+ <div class="add-icon-class" (click)='openSpecimen()'>
|
|
147
|
+ <span class="icon_transport transport-tag27fuben form-icon"></span>
|
|
148
|
+ </div>
|
|
149
|
+ </nz-form-item>
|
|
150
|
+
|
|
151
|
+ <div class="specimen-list">
|
|
152
|
+ <div *ngFor="let item of specimenList;let index=index;" class="specimen-item">
|
|
153
|
+ <div class="specimen-name" (click)="specimenEdit($event,item,index)">
|
|
154
|
+ <span *ngIf="item.partSource && item.partSource.value!=1">{{item.partSource?item.partSource.name:''}}</span>{{item.organ?item.organ.name:''}}{{item.specimenName}}({{item.specimenCode}})
|
|
155
|
+ </div>
|
|
156
|
+ <span class="icon_transport transport-lajitong specimen-icon" (click)="specimenDel($event,item,index)"></span>
|
|
157
|
+ </div>
|
|
158
|
+ </div>
|
|
159
|
+ </div>
|
|
160
|
+ </form>
|
|
161
|
+ </div>
|
|
162
|
+ <div class="display_flex justify-content_flex-center bottom-btn">
|
|
163
|
+ <button *ngIf="statusValue==1" class="btn btn-right" nz-button nzType="primary" (click)="submitForm('print')" [nzLoading]="btnLoading">标本打印</button>
|
|
164
|
+ <button *ngIf="statusValue==2 || statusValue==3" class="btn btn-right" nz-button nzType="primary" (click)="superaddition()" [nzLoading]="zjLoading">追加打印</button>
|
|
165
|
+ <button *ngIf="statusValue==2 || statusValue==3" class="btn" nz-button nzType="primary" nzGhost (click)="submitForm('all')" [nzLoading]="btnLoading">全量打印</button>
|
|
166
|
+ </div>
|
|
167
|
+ </div>
|
|
168
|
+
|
|
169
|
+ <div class="pathology-content" *ngIf="detailsData && viewType=='view'">
|
|
170
|
+ <div class="title">病理检查申请单</div>
|
|
171
|
+ <div class="content">
|
|
172
|
+ <div class="viewForm">
|
|
173
|
+ <div class="content-item">
|
|
174
|
+ <div class="form-list form-title-box">
|
|
175
|
+ <div class="form-title"><span class="font-weight-500">申请单号:</span>{{detailsData.applyCode}}</div>
|
|
176
|
+ <div class="form-title" *ngIf="detailsData.pathologyFormType==null">申请单类型:无</div>
|
|
177
|
+ <div class="form-title" *ngIf="detailsData.pathologyFormType==1">申请单类型:术中快速病理检查申请单</div>
|
|
178
|
+ <div class="form-title" *ngIf="detailsData.pathologyFormType==0">申请单类型:病理检查申请单</div>
|
|
179
|
+ <div class="form-title"><span class="font-weight-500">状态:</span>{{detailsData.status?detailsData.status.name:'-'}}</div>
|
|
180
|
+ </div>
|
|
181
|
+
|
|
182
|
+ <div class="form-list">
|
|
183
|
+ <div class="form-title font-weight-500">诊断:</div>
|
|
184
|
+ <div class="indent">
|
|
185
|
+ {{detailsData.diagnose||'无'}}
|
|
186
|
+ </div>
|
|
187
|
+ </div>
|
|
188
|
+
|
|
189
|
+ <div class="form-list">
|
|
190
|
+ <div class="form-title width-100 font-weight-500">病历摘要:</div>
|
|
191
|
+ <div class="indent" [ngClass]="{'height-200': isShowMove, 'height-100': !isShowMove && detailsData.medicalRecords}">{{detailsData.medicalRecords||'无'}}</div>
|
|
192
|
+ <div (click)="showLook()" class="cursor" *ngIf="medicalRecordsLength>10">
|
|
193
|
+ <i *ngIf="isShowMove" nz-icon nzType="caret-down" nzTheme="outline"></i>
|
|
194
|
+ <i *ngIf="!isShowMove" nz-icon nzType="caret-up" nzTheme="outline"></i>
|
|
195
|
+ </div>
|
|
196
|
+ </div>
|
|
197
|
+
|
|
198
|
+ <div class="form-list">
|
|
199
|
+ <div class="form-title font-weight-500">手术方案:</div>
|
|
200
|
+ <div class="indent">{{detailsData.surgicalPlan||'无'}}</div>
|
|
201
|
+ </div>
|
|
202
|
+ <div class="form-list">
|
|
203
|
+ <div class="form-title font-weight-500">术中所见:</div>
|
|
204
|
+ <div class="indent">{{detailsData.intraoperativeFindings||'无'}}</div>
|
|
205
|
+ </div>
|
|
206
|
+
|
|
207
|
+ <div class="form-list">
|
|
208
|
+ <div class="form-title"><span class="font-weight-500">检验项目:</span>{{project||'无'}}</div>
|
|
209
|
+ </div>
|
|
210
|
+
|
|
211
|
+ <div class="form-list">
|
|
212
|
+ <div class="form-title"><span class="font-weight-500">标本类型:</span>{{detailsData.specimenType.name||'无'}}</div>
|
|
213
|
+ </div>
|
|
214
|
+
|
|
215
|
+ <div class="form-list form-title-box">
|
|
216
|
+ <div class="form-title"><span class="font-weight-500">采取部位:</span>{{detailsData.takePart||'无'}}</div>
|
|
217
|
+ <div class="form-title"><span class="font-weight-500">标本数量:</span>{{detailsData.specimenNum||'无'}}</div>
|
|
218
|
+ </div>
|
|
219
|
+
|
|
220
|
+ <div class="form-list">
|
|
221
|
+ <div class="form-title font-weight-500">标本:</div>
|
|
222
|
+ <div class="form-title-box-detail">
|
|
223
|
+ <div class="form-title cursors" *ngFor="let item of specimenList" (click)="specimenView(item)">
|
|
224
|
+ <span *ngIf="item.partSource && item.partSource.value!=1">{{item.partSource?item.partSource.name:''}}</span>{{item.organ?item.organ.name:''}}{{item.specimenName}}({{item.specimenCode}})
|
|
225
|
+ </div>
|
|
226
|
+ </div>
|
|
227
|
+ </div>
|
|
228
|
+ </div>
|
|
229
|
+ </div>
|
|
230
|
+ </div>
|
|
231
|
+ </div>
|
|
232
|
+ </div>
|
|
233
|
+
|
|
234
|
+ <div class="content-item-right" *ngIf="pathologyLogs.length && (viewType=='view' || viewType=='edit')">
|
|
235
|
+ <div class="step-title">病理闭环</div>
|
|
236
|
+ <nz-steps [nzCurrent]="stepLength" nzDirection="vertical" nzSize="small">
|
|
237
|
+ <ng-container *ngFor="let item of pathologyLogs; let index = index">
|
|
238
|
+ <nz-step
|
|
239
|
+ [nzDescription]="tpl"
|
|
240
|
+ >
|
|
241
|
+ </nz-step>
|
|
242
|
+ <ng-template #tpl>
|
|
243
|
+ <div *ngIf="index==pathologyLogs.length-1" class="step-size">
|
|
244
|
+ <div style="color: #49B856;">{{item.operationType.name}} {{item.handoverUserDto?item.handoverUserDto.name:''}}</div>
|
|
245
|
+ <div style="color:#333;">{{item.createTime|date:'yyyy-MM-dd HH:mm:ss'}} {{item.operationUserDto?item.operationUserDto.name:''}}</div>
|
|
246
|
+ </div>
|
|
247
|
+ <div *ngIf="index!=pathologyLogs.length-1" class="step-size">
|
|
248
|
+ <div>{{item.operationType.name}} {{item.handoverUserDto?item.handoverUserDto.name:''}}</div>
|
|
249
|
+ <div>{{item.createTime|date:'yyyy-MM-dd HH:mm:ss'}} {{item.operationUserDto?item.operationUserDto.name:''}}</div>
|
|
250
|
+ </div>
|
|
251
|
+ </ng-template>
|
|
252
|
+ </ng-container>
|
|
253
|
+ </nz-steps>
|
|
254
|
+ </div>
|
|
255
|
+ <div class="pathology-content-btn" *ngIf="viewType=='add'">
|
|
256
|
+ <button class="btn" nz-button nzType="primary" (click)="addPathology()" [nzLoading]="addLoading">新增病理申请单</button>
|
|
257
|
+ </div>
|
|
258
|
+ </div>
|
|
259
|
+</div>
|
|
260
|
+
|
|
261
|
+<!-- 科室切换提示框 -->
|
|
262
|
+<app-hs-prompt-modal
|
|
263
|
+ [changeShow]="changeShow"
|
|
264
|
+ [closeTime]="closeTime"
|
|
265
|
+ [closeTimeFlag]="closeTimeFlag"
|
|
266
|
+ [show]="hsPromptModalShow"
|
|
267
|
+ (closeModelHs)="closeModelHs($event)"
|
|
268
|
+ (clearModelHs)="clearModelHs($event)"
|
|
269
|
+ deptType="nurse"
|
|
270
|
+>
|
|
271
|
+ <!-- 返回系统按钮 -->
|
|
272
|
+ <!-- 右侧悬浮框 -->
|
|
273
|
+ <div id="fixedMenu" class="fixed" *ngIf="mainRole">
|
|
274
|
+ <div class="right">
|
|
275
|
+ <div class="fixedMenu hujiaozhongxin">
|
|
276
|
+ <div class="menuItems">
|
|
277
|
+ <div class="item">快捷菜单</div>
|
|
278
|
+ </div>
|
|
279
|
+ </div>
|
|
280
|
+ <div class="fixedMenu">
|
|
281
|
+ <div class="menuItems">
|
|
282
|
+ <div
|
|
283
|
+ class="others"
|
|
284
|
+ [ngStyle]="{
|
|
285
|
+ height: showLastItems
|
|
286
|
+ ? mainRole
|
|
287
|
+ ? 35 * 2 + 'px'
|
|
288
|
+ : 35 * 1 + 'px'
|
|
289
|
+ : 0
|
|
290
|
+ }"
|
|
291
|
+ >
|
|
292
|
+ <div
|
|
293
|
+ [ngClass]="{ item: true, checked: fixedTab == 'back' }"
|
|
294
|
+ *ngIf="mainRole"
|
|
295
|
+ (click)="checkFixedTab('toSystem')"
|
|
296
|
+ >
|
|
297
|
+ 返回系统
|
|
298
|
+ </div>
|
|
299
|
+ </div>
|
|
300
|
+ </div>
|
|
301
|
+ <div class="arrow" *ngIf="!showLastItems" (click)="fixedMenuXiala()">
|
|
302
|
+ <i class="icon_transport transport-xiala2-01"></i>
|
|
303
|
+ </div>
|
|
304
|
+ <div class="arrow" *ngIf="showLastItems" (click)="fixedMenuShangla()">
|
|
305
|
+ <i class="icon_transport transport-shangla-"></i>
|
|
306
|
+ </div>
|
|
307
|
+ </div>
|
|
308
|
+ </div>
|
|
309
|
+ <div
|
|
310
|
+ *ngIf="showLastItems && fixedTab != ''"
|
|
311
|
+ (click)="fixedMenuShangla()"
|
|
312
|
+ class="fixedMark"
|
|
313
|
+ ></div>
|
|
314
|
+ </div>
|
|
315
|
+</app-hs-prompt-modal>
|
|
316
|
+
|
|
317
|
+<!-- 操作成功/失败提示框 -->
|
|
318
|
+<app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
|
|
319
|
+ [info]="promptInfo" (closeModel)="closeModel()"></app-prompt-modal>
|
|
320
|
+
|
|
321
|
+<!-- 选择标本 -->
|
|
322
|
+<div class="save add display_flex align-items_center justify-content_flex-center" *ngIf="specimenModal">
|
|
323
|
+ <div class="modalBody">
|
|
324
|
+ <div class="title">新增病理标本<i class="icon_transport transport-guanbi" (click)="hideSpecimenModal()"></i>
|
|
325
|
+ </div>
|
|
326
|
+ <div class="content">
|
|
327
|
+ <form nz-form [formGroup]="validateSpecimenForm" class="addForm" (ngSubmit)="submitSpecimen()">
|
|
328
|
+ <nz-form-item class="form-item" *ngIf="!selectType">
|
|
329
|
+ <nz-form-label nzRequired [nzSm]="2" [nzXs]="24">位置来源</nz-form-label>
|
|
330
|
+ <div class="specimen-list">
|
|
331
|
+ <div>
|
|
332
|
+ <div *ngFor="let item of placeList;let index=index;" class="select-item"
|
|
333
|
+ [ngClass]="{'activeClass': index == placeIndex}" (click)="placeClick($event,item,index)" class="select-item">{{item.name}}</div>
|
|
334
|
+ </div>
|
|
335
|
+ </div>
|
|
336
|
+ </nz-form-item>
|
|
337
|
+
|
|
338
|
+ <nz-form-item class="form-item" *ngIf="!selectType">
|
|
339
|
+ <nz-form-label nzRequired [nzSm]="2" [nzXs]="24">系统</nz-form-label>
|
|
340
|
+ <div class="specimen-list">
|
|
341
|
+ <div *ngFor="let item of systemList;let index=index;" class="select-item"
|
|
342
|
+ [ngClass]="{'activeClass': index == systemIndex}" (click)="systemClick($event,item,index)">
|
|
343
|
+ {{item.name}}
|
|
344
|
+ </div>
|
|
345
|
+ </div>
|
|
346
|
+ </nz-form-item>
|
|
347
|
+
|
|
348
|
+ <nz-form-item class="form-item" *ngIf="!selectType">
|
|
349
|
+ <nz-form-label nzRequired [nzSm]="2" [nzXs]="24">器官</nz-form-label>
|
|
350
|
+ <div class="specimen-list">
|
|
351
|
+ <div *ngFor="let item of apparatusList;let index=index;" class="select-item"
|
|
352
|
+ [ngClass]="{'activeClass': index == apparatusIndex}" (click)="apparatusClick($event,item,index)">
|
|
353
|
+ {{item.name}}
|
|
354
|
+ </div>
|
|
355
|
+ </div>
|
|
356
|
+ </nz-form-item>
|
|
357
|
+
|
|
358
|
+ <nz-form-item class="form-item">
|
|
359
|
+ <nz-form-label [nzSm]="4" [nzXs]="24">标本名称快捷选择</nz-form-label>
|
|
360
|
+ <div class="specimen-list">
|
|
361
|
+ <div *ngFor="let item of specimenNameList;let index=index;" class="select-item"
|
|
362
|
+ [ngClass]="{'activeClass': index == specimenNameIndex}" (click)="specimenNameClick($event,item,index)">
|
|
363
|
+ {{item.name}}
|
|
364
|
+ </div>
|
|
365
|
+ </div>
|
|
366
|
+ </nz-form-item>
|
|
367
|
+
|
|
368
|
+ <nz-form-item class="form-item">
|
|
369
|
+ <nz-form-label nzRequired nzFor="specimenName" [nzSm]="3" [nzXs]="24">标本名称</nz-form-label>
|
|
370
|
+ <nz-form-control nzErrorTip="请输入标本名称" [nzSm]="21" [nzXs]="24">
|
|
371
|
+ <input nz-input maxlength="15" (ngModelChange)="specimenInput($event)" formControlName="specimenName" placeholder="请输入标本名称"/>
|
|
372
|
+ </nz-form-control>
|
|
373
|
+ <div class="empty-box">
|
|
374
|
+ <span class="name">{{specimenNameLength}}/15</span>
|
|
375
|
+ <span class="empty" (click)="emptData($event)">清空</span>
|
|
376
|
+ </div>
|
|
377
|
+ </nz-form-item>
|
|
378
|
+
|
|
379
|
+ <nz-form-item class="form-item">
|
|
380
|
+ <nz-form-label nzFor="remark" [nzSm]="3" [nzXs]="24">备注</nz-form-label>
|
|
381
|
+ <nz-form-control nzErrorTip="请输入备注" [nzSm]="21" [nzXs]="24">
|
|
382
|
+ <textarea rows="3" nz-input formControlName="remark" placeholder="请输入备注"></textarea>
|
|
383
|
+ </nz-form-control>
|
|
384
|
+ </nz-form-item>
|
|
385
|
+ </form>
|
|
386
|
+ </div>
|
|
387
|
+ <div class="display_flex justify-content_flex-center bottom-btn">
|
|
388
|
+ <button class="btn btn-right" nz-button nzType="primary" (click)="submitSpecimen(1)" [nzLoading]="btnSpLoading">确定</button>
|
|
389
|
+ <button class="btn btn-right" nz-button nzType="primary" (click)="submitSpecimen(2)">新增下一个标本</button>
|
|
390
|
+ <button class="btn cancel" nz-button nzType="default" (click)="hideSpecimenModal()">取消</button>
|
|
391
|
+ </div>
|
|
392
|
+ </div>
|
|
393
|
+</div>
|
|
394
|
+
|
|
395
|
+<app-prompt-modal *ngIf="specimenModalShow" [content]="promptContent" [success]="ifSuccess" [show]="specimenModalShow"
|
|
396
|
+ [info]="promptInfo" (closeModel)="closeSpecimenModel()"></app-prompt-modal>
|
|
397
|
+
|
|
398
|
+ <!-- 新增下一个标本 -->
|
|
399
|
+<app-dialog-delete [delModal]="addMadal" (hideDelModalEvent)="hideAddModal()" [btnLoading]="addSpLoading"
|
|
400
|
+ (confirmDelEvent)="confirmAdd()" content="您确认要新增下一个标本吗?"></app-dialog-delete>
|
|
401
|
+
|
|
402
|
+<!-- 删除模态框 -->
|
|
403
|
+<app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
|
|
404
|
+ (confirmDelEvent)="confirmDel()" content="您确认要删除标本吗?"></app-dialog-delete>
|
|
405
|
+
|
|
406
|
+<!-- 查看标本 -->
|
|
407
|
+<div class="look">
|
|
408
|
+ <div class="save add display_flex align-items_center justify-content_flex-center" *ngIf="specimenViewDialog">
|
|
409
|
+ <div class="modalBody modalBody-ga">
|
|
410
|
+ <div class="title">查看标本<i class="icon_transport transport-guanbi" (click)="closeSpecimenModal()"></i>
|
|
411
|
+ </div>
|
|
412
|
+ <overlay-scrollbars #osComponentRef1 class="content">
|
|
413
|
+ <div class="list-template__bottom">
|
|
414
|
+ <nz-table class="list-template__nzTable" [nzData]="viewData" nzSize="middle" [nzShowPagination]="false"
|
|
415
|
+ [nzLoading]="loading1">
|
|
416
|
+ <thead>
|
|
417
|
+ <tr class="thead">
|
|
418
|
+ <th>标本名称</th>
|
|
419
|
+ <th>编码</th>
|
|
420
|
+ <th>备注</th>
|
|
421
|
+ <th>离体时间</th>
|
|
422
|
+ <th>离体操作人</th>
|
|
423
|
+ <th>固定时间</th>
|
|
424
|
+ <th>固定操作人</th>
|
|
425
|
+ </tr>
|
|
426
|
+ </thead>
|
|
427
|
+ <tbody>
|
|
428
|
+ <tr *ngFor="let data of viewData">
|
|
429
|
+ <td>{{ data.specimenName }}</td>
|
|
430
|
+ <td>{{ data.specimenCode }}</td>
|
|
431
|
+ <td>{{ data.remark ? data.remark : '无' }}</td>
|
|
432
|
+ <td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
|
|
433
|
+ <td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
|
|
434
|
+ <td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
|
|
435
|
+ <td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
|
|
436
|
+ </tr>
|
|
437
|
+ </tbody>
|
|
438
|
+ </nz-table>
|
|
439
|
+ </div>
|
|
440
|
+ </overlay-scrollbars>
|
|
441
|
+ <div class="display_flex justify-content_flex-center">
|
|
442
|
+ <button class="btn" nz-button nzType="primary" (click)="closeSpecimenModal()">知道了</button>
|
|
443
|
+ </div>
|
|
444
|
+ </div>
|
|
445
|
+ </div>
|
|
446
|
+</div>
|
|
447
|
+
|
|
448
|
+<!-- 离体并固定 -->
|
|
449
|
+<div class="save add display_flex align-items_center justify-content_flex-center" *ngIf="notModal">
|
|
450
|
+ <div class="modalBody no-width">
|
|
451
|
+ <div class="title">{{ifImmobilization?'离体并固定':'离体'}}<i class="icon_transport transport-guanbi" (click)="hideNotModal()"></i>
|
|
452
|
+ </div>
|
|
453
|
+ <div class="content">
|
|
454
|
+ <!-- <div class="content-title">本次需要记录离体标本<span class="reds">{{specimenNum}}</span>份,本申请单共<span class="reds">{{totalNum}}</span>份标本</div> -->
|
|
455
|
+ <form nz-form [formGroup]="validatePrintForm" class="addForm" (ngSubmit)="submitPrintForm()">
|
|
456
|
+ <nz-form-item>
|
|
457
|
+ <nz-form-label nzRequired [nzSpan]="6" nzFor="inVitroTime">离体时间</nz-form-label>
|
|
458
|
+ <nz-form-control style="display: flex;align-items: center;" [nzSpan]="18" nzErrorTip="请选择离体时间!">
|
|
459
|
+ <nz-input-group style="display: flex;gap: 10px">
|
|
460
|
+ <!-- <nz-date-picker formControlName="inVitroTime"
|
|
461
|
+ [nzShowTime]="{ nzFormat: 'yyyy-MM-dd HH:mm:ss' }" nzFormat="yyyy-MM-dd HH:mm:ss"
|
|
462
|
+ (ngModelChange)="inVitroTimeChange($event)"></nz-date-picker> -->
|
|
463
|
+ <nz-date-picker formControlName="inVitroDate" (ngModelChange)="inVitroDateChange($event)"></nz-date-picker>
|
|
464
|
+
|
|
465
|
+ <nz-time-picker formControlName="inVitroTimes" nzFormat="HH:mm" (ngModelChange)="inVitroTimeChange($event)"></nz-time-picker>
|
|
466
|
+ </nz-input-group>
|
|
467
|
+ </nz-form-control>
|
|
468
|
+ </nz-form-item>
|
|
469
|
+ <nz-form-item *ngIf="ifImmobilization">
|
|
470
|
+ <nz-form-label nzRequired [nzSpan]="6" nzFor="fixationTime">固定时间</nz-form-label>
|
|
471
|
+ <nz-form-control style="display: flex;align-items: center;" [nzSpan]="18" nzErrorTip="请选择固定时间!">
|
|
472
|
+ <nz-input-group style="display: flex;gap: 10px">
|
|
473
|
+ <!-- <nz-date-picker formControlName="fixationTime"
|
|
474
|
+ [nzShowTime]="{ nzFormat: 'yyyy-MM-dd HH:mm:ss' }" nzFormat="yyyy-MM-dd HH:mm:ss"
|
|
475
|
+ (ngModelChange)="formChangeDate($event)"></nz-date-picker> -->
|
|
476
|
+ <nz-date-picker formControlName="fixationDate" (ngModelChange)="fixationDateChange($event)"></nz-date-picker>
|
|
477
|
+
|
|
478
|
+ <nz-time-picker formControlName="fixationTimes" nzFormat="HH:mm" (ngModelChange)="fixationTimeChange($event)"></nz-time-picker>
|
|
479
|
+ </nz-input-group>
|
|
480
|
+ </nz-form-control>
|
|
481
|
+ </nz-form-item>
|
|
482
|
+ <nz-form-item *ngIf="ifImmobilization">
|
|
483
|
+ <nz-form-label nzRequired [nzSpan]="8" nzFor="fixative">固定液类型</nz-form-label>
|
|
484
|
+ <nz-form-control [nzSpan]="16" nzErrorTip="请选择固定液类型!">
|
|
485
|
+ <nz-input-group>
|
|
486
|
+ <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzShowSearch nzPlaceHolder="请选择固定液类型" formControlName="fixative">
|
|
487
|
+ <ng-container *ngFor="let option of fixativeData">
|
|
488
|
+ <nz-option [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
|
|
489
|
+ </ng-container>
|
|
490
|
+ </nz-select>
|
|
491
|
+ </nz-input-group>
|
|
492
|
+ </nz-form-control>
|
|
493
|
+ </nz-form-item>
|
|
494
|
+ <nz-form-item>
|
|
495
|
+ <nz-form-label nzRequired [nzSpan]="5" nzFor="jobNumber">工号</nz-form-label>
|
|
496
|
+ <nz-form-control [nzSpan]="19" nzErrorTip="请输入工号!">
|
|
497
|
+ <input nz-input (ngModelChange)="numberChange($event)" formControlName="jobNumber" placeholder="请输入工号" nzSize="default" />
|
|
498
|
+ </nz-form-control>
|
|
499
|
+ </nz-form-item>
|
|
500
|
+ <nz-form-item>
|
|
501
|
+ <nz-form-label nzRequired [nzSpan]="5" nzFor="name">姓名</nz-form-label>
|
|
502
|
+ <nz-form-control [nzSpan]="19" nzErrorTip="请输入姓名!">
|
|
503
|
+ <input nz-input disabled formControlName="name" placeholder="请输入姓名" nzSize="default" />
|
|
504
|
+ </nz-form-control>
|
|
505
|
+ </nz-form-item>
|
|
506
|
+ </form>
|
|
507
|
+ </div>
|
|
508
|
+ <div class="display_flex justify-content_flex-center bottom-btn">
|
|
509
|
+ <button class="btn btn-right" nz-button nzType="primary" (click)="submitVerificationForm()" [nzLoading]="printLoading">确定</button>
|
|
510
|
+ <button class="btn cancel" nz-button nzType="default" (click)="hideNotModal()">取消</button>
|
|
511
|
+ </div>
|
|
512
|
+ </div>
|
|
513
|
+</div>
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+<!-- 打印 -->
|
|
517
|
+<div id="report" style="display: none;">
|
|
518
|
+ <div class="monad">
|
|
519
|
+ <div *ngIf="printData && printData.specimenList && printData.specimenList.length" style="border: 1px solid #AAAAAA;
|
|
520
|
+ border-radius: 5px;font-size: 12px;">
|
|
521
|
+ <div *ngIf="pathologyBarCode==1" style="display: flex;align-items: center;flex-wrap: nowrap;height: 80px;padding: 0 1px;">
|
|
522
|
+ <div style="width: 60%;height: 70px;text-align: center;">
|
|
523
|
+ <img style="max-width: 90%;height: 80%;" [src]="printData.applyBarCode" alt="">
|
|
524
|
+ <div>{{printData.applyCode}}</div>
|
|
525
|
+ </div>
|
|
526
|
+ <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;">
|
|
527
|
+ <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
|
|
528
|
+ </div>
|
|
529
|
+ </div>
|
|
530
|
+ <div *ngIf="pathologyBarCode==2" style="display: flex;align-items: center;flex-wrap: nowrap;height: 80px;padding: 0 1px;">
|
|
531
|
+ <div style="width: 40%;height: 70px;text-align: center;">
|
|
532
|
+ <img style="max-width: 90%;height: 80%;" [src]="printData.applyBarCode" alt="">
|
|
533
|
+ <div>{{printData.applyCode}}</div>
|
|
534
|
+ </div>
|
|
535
|
+ <div style="width: 60%;height: 100%;text-align: center;display: flex;align-items: center;position: relative;top: -6px;">
|
|
536
|
+ <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
|
|
537
|
+ </div>
|
|
538
|
+ </div>
|
|
539
|
+
|
|
540
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
541
|
+ <div style="width:20%;border-right: 1px solid #AAAAAA;border-top: 1px solid #aaa;padding:1px;">患者姓名</div>
|
|
542
|
+ <div style="width:50%;border-right: 1px solid #AAAAAA;border-top: 1px solid #aaa;padding:1px;">{{printData.patientName}}</div>
|
|
543
|
+ <div style="width:14%;border-right: 1px solid #AAAAAA;border-top: 1px solid #aaa;padding:1px;">性别</div>
|
|
544
|
+ <div style="width:16%;padding:1px;border-top: 1px solid #aaa;">{{printData.specimenList[0].patientGender}}</div>
|
|
545
|
+ </div>
|
|
546
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
547
|
+ <div style="width:20%;border-right: 1px solid #AAAAAA;padding:1px;">门诊号</div>
|
|
548
|
+ <div style="width:50%;border-right: 1px solid #AAAAAA;padding:1px;">{{printData.residenceNo?printData.residenceNo:printData.patientNo}}</div>
|
|
549
|
+ <div style="width:14%;border-right: 1px solid #AAAAAA;padding:1px;">年龄</div>
|
|
550
|
+ <div style="width:16%;padding:1px;"> {{printData.patientAge}}岁</div>
|
|
551
|
+ </div>
|
|
552
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
553
|
+ <div style="width:20%;border-right: 1px solid #AAAAAA;padding:1px;">科室 </div>
|
|
554
|
+ <div style="width:50%;border-right: 1px solid #AAAAAA;
|
|
555
|
+ padding:1px;overflow: hidden;white-space: nowrap">{{printData.patientDept}}</div>
|
|
556
|
+ <div style="width:14%;border-right: 1px solid #AAAAAA;padding:1px;">床号</div>
|
|
557
|
+ <div style="width:16%;padding:1px;">{{printData.patientBedNum}}床</div>
|
|
558
|
+ </div>
|
|
559
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
560
|
+ <div style="width:20%;border-right: 1px solid #AAAAAA;padding:1px;">部位 </div>
|
|
561
|
+ <div style="width:50%;border-right: 1px solid #AAAAAA;
|
|
562
|
+ padding:1px;overflow: hidden;white-space: nowrap">{{printData.takePart}}</div>
|
|
563
|
+ <div style="width:14%;border-right: 1px solid #AAAAAA;padding:1px;">标本数</div>
|
|
564
|
+ <div style="width:16%;padding:1px;">{{printData.specimenNum}}</div>
|
|
565
|
+ </div>
|
|
566
|
+ <div style="display: flex;">
|
|
567
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">日期</div>
|
|
568
|
+ <div style="width:80%;box-sizing: border-box;padding:1px;border-right: 1px solid #fff;">{{printData.specimenList[0].inVitroTime|date:'yyyy-MM-dd'}}</div>
|
|
569
|
+ </div>
|
|
570
|
+ </div>
|
|
571
|
+
|
|
572
|
+ <div style="height: 70px;" *ngIf="printData && printData.specimenList && printData.specimenList.length==1"></div>
|
|
573
|
+ <div style="height: 20px;" *ngIf="printData && printData.specimenList && printData.specimenList.length>1"></div>
|
|
574
|
+ <div style="font-size: 12px;" *ngIf="printData && printData.specimenList && printData.specimenList.length>0">
|
|
575
|
+ <div *ngFor="let data of printData.specimenList; let index=index;">
|
|
576
|
+ <div style="height: 50px;" *ngIf="printData && printData.specimenList && printData.specimenList.length>1"></div>
|
|
577
|
+ <div style="border: 1px solid #AAAAAA;border-radius: 5px;">
|
|
578
|
+ <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 80px;padding: 0 1px;">
|
|
579
|
+ <div style="width: 60%;height: 70px;text-align: center;">
|
|
580
|
+ <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
|
|
581
|
+ <div>{{data.specimenCode}}</div>
|
|
582
|
+ </div>
|
|
583
|
+ <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;">
|
|
584
|
+ <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
|
|
585
|
+ </div>
|
|
586
|
+ </div>
|
|
587
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
588
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;border-top: 1px solid #aaa;padding:1px;">患者姓名</div>
|
|
589
|
+ <div style="width:50%;box-sizing: border-box;border-right: 1px solid #AAAAAA;border-top: 1px solid #aaa;padding:1px;">{{data.patientName}}</div>
|
|
590
|
+ <div style="width:14%;box-sizing: border-box;border-right: 1px solid #AAAAAA;border-top: 1px solid #aaa;padding:1px;">性别</div>
|
|
591
|
+ <div style="width:16%;box-sizing: border-box;padding:1px;border-top: 1px solid #aaa;">{{data.patientGender}}</div>
|
|
592
|
+ </div>
|
|
593
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
594
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">门诊号</div>
|
|
595
|
+ <div style="width:50%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">{{data.residenceNo?data.residenceNo:data.patientNo}}</div>
|
|
596
|
+ <div style="width:14%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">年龄</div>
|
|
597
|
+ <div style="width:16%;box-sizing: border-box;padding:1px;"> {{data.patientAge}}岁</div>
|
|
598
|
+ </div>
|
|
599
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
600
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">科室 </div>
|
|
601
|
+ <div style="width:50%;box-sizing: border-box;border-right: 1px solid #AAAAAA;
|
|
602
|
+ padding:1px;overflow: hidden;white-space: nowrap">{{data.patientDept}}</div>
|
|
603
|
+ <div style="width:14%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">床号</div>
|
|
604
|
+ <div style="width:16%;box-sizing: border-box;padding:1px;">{{data.patientBedNum}}床</div>
|
|
605
|
+ </div>
|
|
606
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
607
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">标本名称</div>
|
|
608
|
+ <div style="width:80%;box-sizing: border-box;padding:1px;border-right: 1px solid #fff;
|
|
609
|
+ padding:1px;overflow: hidden;white-space: nowrap">({{index+1}}/{{printData.specimenList.length}}){{data.partSource?data.partSource:''}}{{data.organ}}{{data.specimenName}}</div>
|
|
610
|
+ </div>
|
|
611
|
+ <div style="display: flex;border-bottom: 1px solid #AAAAAA;">
|
|
612
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">申请单号</div>
|
|
613
|
+ <div style="width:80%;box-sizing: border-box;padding:1px;border-right: 1px solid #fff;">{{data.applyCode }}</div>
|
|
614
|
+ </div>
|
|
615
|
+ <div style="display: flex;">
|
|
616
|
+ <div style="width:20%;box-sizing: border-box;border-right: 1px solid #AAAAAA;padding:1px;">日期</div>
|
|
617
|
+ <div style="width:80%;box-sizing: border-box;padding:1px;border-right: 1px solid #fff;">{{data.inVitroTime|date:'yyyy-MM-dd'}}</div>
|
|
618
|
+ </div>
|
|
619
|
+ </div>
|
|
620
|
+ </div>
|
|
621
|
+ </div>
|
|
622
|
+ </div>
|
|
623
|
+</div>
|
|
624
|
+
|
|
625
|
+<div class="mask-style" *ngIf="isSpinning">
|
|
626
|
+ <nz-spin nzSimple class="spin-style"></nz-spin>
|
|
627
|
+</div>
|