瀏覽代碼

拉取代码

maotao 3 月之前
父節點
當前提交
632556024a

+ 5 - 2
src/app/share/pathology-add/pathology-add.component.ts

@@ -922,6 +922,7 @@ export class PathologyAddComponent implements OnInit {
922 922
 			},
923 923
 			operation:'',
924 924
 			pathologySpecimenIds:'',
925
+			deptType:'surgery'
925 926
 		};
926 927
 		delete data.pathologyForm.patientDTO
927 928
 		delete data.pathologyForm.surgeryDeptDTO
@@ -1178,6 +1179,7 @@ export class PathologyAddComponent implements OnInit {
1178 1179
 								id:this.validateForm.value.specimenGenre
1179 1180
 							}
1180 1181
 						},
1182
+						deptType:'surgery',
1181 1183
 						operation:'',
1182 1184
 						pathologySpecimenIds:'',
1183 1185
 					};
@@ -1249,8 +1251,9 @@ export class PathologyAddComponent implements OnInit {
1249 1251
 					pathologyInspectIds:this.validateForm.value.project.join(','),
1250 1252
 					specimenType:{
1251 1253
 						id:this.validateForm.value.specimenGenre
1252
-					}
1253
-				}
1254
+					},
1255
+				},
1256
+				deptType:'surgery'
1254 1257
 			};
1255 1258
 			data.pathologyForm.specimenNum = this.specimenList.length
1256 1259
 			delete data.pathologyForm.patientDTO

+ 4 - 0
src/app/share/pathology-detail/pathology-detail.component.html

@@ -312,6 +312,8 @@
312 312
 	          <thead>
313 313
 	            <tr class="thead">
314 314
 								<th>标本名称</th>
315
+								<th>系统</th>
316
+								<th>部位</th>
315 317
 	              <th>编码</th>
316 318
 	              <th>备注</th>
317 319
 	              <th>离体时间</th>
@@ -323,6 +325,8 @@
323 325
 	          <tbody>
324 326
 	            <tr *ngFor="let data of viewData">
325 327
 								<td>{{ data.specimenName }}</td>
328
+								<td>{{ data.system ? data.system.name : '-' }}</td>
329
+								<td>{{ data.organ ? data.organ.name : '-' }}</td>
326 330
 	              <td>{{ data.specimenCode }}</td>
327 331
 	              <td>{{ data.remark ? data.remark : '无' }}</td>
328 332
 								<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>

+ 3 - 2
src/app/share/pathology-detail/pathology-detail.component.ts

@@ -95,8 +95,9 @@ export class PathologyDetailComponent implements OnInit {
95 95
 				...this.detailsData,
96 96
 				surgeryId: this.surgeryId || "",
97 97
 				patientId: this.patientId || "",
98
-				hosId: this.hosId || "" 
99
-			}
98
+				hosId: this.hosId || "" ,
99
+			},
100
+			deptType:'surgery'
100 101
 		};
101 102
 		delete data.pathologyForm.patientDTO
102 103
 		delete data.pathologyForm.surgeryDeptDTO

+ 21 - 17
src/app/views/batch-distribution/batch-distribution.component.html

@@ -217,29 +217,33 @@
217 217
 			<overlay-scrollbars #osComponentRef1 class="content">
218 218
 				<div class="list-template__bottom">
219 219
 					<nz-table class="list-template__nzTable" [nzData]="specimenData" nzSize="middle" [nzShowPagination]="false"
220
-						[nzLoading]="loading1">
221
-						<thead>
222
-							<tr class="thead">
220
+					  [nzLoading]="loading1">
221
+					  <thead>
222
+					    <tr class="thead">
223 223
 								<th>标本名称</th>
224
-								<th>编码</th>
225
-								<th>备注</th>
226
-								<th>离体时间</th>
227
-								<th>离体操作人</th>
228
-								<th>固定时间</th>
229
-								<th>固定操作人</th>
230
-							</tr>
231
-						</thead>
232
-						<tbody>
233
-							<tr *ngFor="let data of specimenData">
224
+								<th>系统</th>
225
+								<th>部位</th>
226
+					      <th>编码</th>
227
+					      <th>备注</th>
228
+					      <th>离体时间</th>
229
+					      <th>离体操作人</th>
230
+					      <th>固定时间</th>
231
+					      <th>固定操作人</th>
232
+					    </tr>
233
+					  </thead>
234
+					  <tbody>
235
+					    <tr *ngFor="let data of specimenData">
234 236
 								<td>{{ data.specimenName }}</td>
235
-								<td>{{ data.specimenCode }}</td>
236
-								<td>{{ data.remark ? data.remark : '无' }}</td>
237
+								<td>{{ data.system ? data.system.name : '-' }}</td>
238
+								<td>{{ data.organ ? data.organ.name : '-' }}</td>
239
+					      <td>{{ data.specimenCode }}</td>
240
+					      <td>{{ data.remark ? data.remark : '无' }}</td>
237 241
 								<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
238 242
 								<td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
239 243
 								<td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
240 244
 								<td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
241
-							</tr>
242
-						</tbody>
245
+					    </tr>
246
+					  </tbody>
243 247
 					</nz-table>
244 248
 				</div>
245 249
 			</overlay-scrollbars>

+ 21 - 17
src/app/views/pathology-communication-book/pathology-communication-book.component.html

@@ -380,29 +380,33 @@
380 380
 			<overlay-scrollbars #osComponentRef1 class="content">
381 381
 				<div class="list-template__bottom">
382 382
 					<nz-table class="list-template__nzTable" [nzData]="viewData" nzSize="middle" [nzShowPagination]="false"
383
-						[nzLoading]="loading1">
384
-						<thead>
385
-							<tr class="thead">
383
+					  [nzLoading]="loading1">
384
+					  <thead>
385
+					    <tr class="thead">
386 386
 								<th>标本名称</th>
387
-								<th>编码</th>
388
-								<th>备注</th>
389
-								<th>离体时间</th>
390
-								<th>离体操作人</th>
391
-								<th>固定时间</th>
392
-								<th>固定操作人</th>
393
-							</tr>
394
-						</thead>
395
-						<tbody>
396
-							<tr *ngFor="let data of viewData">
387
+								<th>系统</th>
388
+								<th>部位</th>
389
+					      <th>编码</th>
390
+					      <th>备注</th>
391
+					      <th>离体时间</th>
392
+					      <th>离体操作人</th>
393
+					      <th>固定时间</th>
394
+					      <th>固定操作人</th>
395
+					    </tr>
396
+					  </thead>
397
+					  <tbody>
398
+					    <tr *ngFor="let data of viewData">
397 399
 								<td>{{ data.specimenName }}</td>
398
-								<td>{{ data.specimenCode }}</td>
399
-								<td>{{ data.remark ? data.remark : '无' }}</td>
400
+								<td>{{ data.system ? data.system.name : '-' }}</td>
401
+								<td>{{ data.organ ? data.organ.name : '-' }}</td>
402
+					      <td>{{ data.specimenCode }}</td>
403
+					      <td>{{ data.remark ? data.remark : '无' }}</td>
400 404
 								<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
401 405
 								<td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
402 406
 								<td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
403 407
 								<td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
404
-							</tr>
405
-						</tbody>
408
+					    </tr>
409
+					  </tbody>
406 410
 					</nz-table>
407 411
 				</div>
408 412
 			</overlay-scrollbars>

+ 26 - 22
src/app/views/pathology-sample/pathology-sample.component.html

@@ -173,8 +173,8 @@
173 173
 				</div>
174 174
 				<div class="display_flex justify-content_flex-center bottom-btn">
175 175
 					<button *ngIf="statusValue==1" class="btn btn-right" nz-button nzType="primary" (click)="submitForm('print')" [nzLoading]="btnLoading">标本打印</button>
176
-					<button *ngIf="statusValue==2 || statusValue==3" class="btn btn-right" nz-button nzType="primary" (click)="superaddition()" [nzLoading]="zjLoading">追加打印</button>
177
-					<button *ngIf="statusValue==2 || statusValue==3" class="btn" nz-button nzType="primary" nzGhost (click)="submitForm('all')" [nzLoading]="btnLoading">全量打印</button>
176
+					<button *ngIf="statusValue==2 || statusValue==3 || statusValue==4" class="btn btn-right" nz-button nzType="primary" (click)="superaddition()" [nzLoading]="zjLoading">追加打印</button>
177
+					<button *ngIf="statusValue==2 || statusValue==3 || statusValue==4" class="btn" nz-button nzType="primary" nzGhost (click)="submitForm('all')" [nzLoading]="btnLoading">全量打印</button>
178 178
 				</div>
179 179
 			</div>
180 180
 			
@@ -247,7 +247,7 @@
247 247
 		<div class="content-item-right" *ngIf="adviceList && adviceList.pathologyFormDTOS.length>0 && pathologyLogs.length && (viewType=='view' || viewType=='edit')">
248 248
 			<div class="tabs">
249 249
 				<div class="tabs-item">
250
-					<div class="tabs-item-item" *ngIf="adviceItem.status.value < 7" [ngClass]="{'activeClass': activeIndex == 0}" (click)="tabClick(0)">快捷标本填写</div>
250
+					<div class="tabs-item-item" *ngIf="adviceItem.status.value < 5" [ngClass]="{'activeClass': activeIndex == 0}" (click)="tabClick(0)">快捷标本填写</div>
251 251
 					<div class="tabs-item-item" [ngClass]="{'activeClass': activeIndex == 1}" (click)="tabClick(1)">病理闭环</div>
252 252
 				</div>
253 253
 			</div>
@@ -454,29 +454,33 @@
454 454
 			<overlay-scrollbars #osComponentRef1 class="content">
455 455
 				<div class="list-template__bottom">
456 456
 					<nz-table class="list-template__nzTable" [nzData]="viewData" nzSize="middle" [nzShowPagination]="false"
457
-						[nzLoading]="loading1">
458
-						<thead>
459
-							<tr class="thead">
457
+					  [nzLoading]="loading1">
458
+					  <thead>
459
+					    <tr class="thead">
460 460
 								<th>标本名称</th>
461
-								<th>编码</th>
462
-								<th>备注</th>
463
-								<th>离体时间</th>
464
-								<th>离体操作人</th>
465
-								<th>固定时间</th>
466
-								<th>固定操作人</th>
467
-							</tr>
468
-						</thead>
469
-						<tbody>
470
-							<tr *ngFor="let data of viewData">
461
+								<th>系统</th>
462
+								<th>部位</th>
463
+					      <th>编码</th>
464
+					      <th>备注</th>
465
+					      <th>离体时间</th>
466
+					      <th>离体操作人</th>
467
+					      <th>固定时间</th>
468
+					      <th>固定操作人</th>
469
+					    </tr>
470
+					  </thead>
471
+					  <tbody>
472
+					    <tr *ngFor="let data of viewData">
471 473
 								<td>{{ data.specimenName }}</td>
472
-								<td>{{ data.specimenCode }}</td>
473
-								<td>{{ data.remark ? data.remark : '无' }}</td>
474
+								<td>{{ data.system ? data.system.name : '-' }}</td>
475
+								<td>{{ data.organ ? data.organ.name : '-' }}</td>
476
+					      <td>{{ data.specimenCode }}</td>
477
+					      <td>{{ data.remark ? data.remark : '无' }}</td>
474 478
 								<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
475 479
 								<td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
476 480
 								<td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
477 481
 								<td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
478
-							</tr>
479
-						</tbody>
482
+					    </tr>
483
+					  </tbody>
480 484
 					</nz-table>
481 485
 				</div>
482 486
 			</overlay-scrollbars>
@@ -508,7 +512,7 @@
508 512
 						</nz-input-group>
509 513
 				  </nz-form-control>
510 514
 				</nz-form-item>
511
-				<nz-form-item *ngIf="ifImmobilization && detailsData.pathologyFormType==0">
515
+				<nz-form-item *ngIf="ifImmobilization && detailsData && detailsData.pathologyFormType==0">
512 516
 				  <nz-form-label nzRequired [nzSpan]="6" nzFor="fixationTime">固定时间</nz-form-label>
513 517
 				  <nz-form-control style="display: flex;align-items: center;" [nzSpan]="18" nzErrorTip="请选择固定时间!">
514 518
 				    <nz-input-group style="display: flex;gap: 10px">
@@ -521,7 +525,7 @@
521 525
 						</nz-input-group>
522 526
 				  </nz-form-control>
523 527
 				</nz-form-item>
524
-				<nz-form-item *ngIf="ifImmobilization">
528
+				<nz-form-item *ngIf="ifImmobilization && detailsData && detailsData.pathologyFormType==0">
525 529
 				  <nz-form-label nzRequired [nzSpan]="8" nzFor="fixative">固定液类型</nz-form-label>
526 530
 				  <nz-form-control [nzSpan]="16" nzErrorTip="请选择固定液类型!">
527 531
 				    <nz-input-group>

+ 6 - 3
src/app/views/pathology-sample/pathology-sample.component.ts

@@ -389,7 +389,7 @@ export class PathologySampleComponent implements OnInit {
389 389
 	listClick(item,index){
390 390
 		this.leftIndex = index
391 391
 		this.adviceItem = item
392
-		if(item.status.value > 6){
392
+		if(item.status.value > 4){
393 393
 			this.activeIndex = 1
394 394
 		}
395 395
 		if(item.id){
@@ -587,6 +587,7 @@ export class PathologySampleComponent implements OnInit {
587 587
 			},
588 588
 			operation:'',
589 589
 			pathologySpecimenIds:'',
590
+			deptType:'outpatient'
590 591
 		};
591 592
 		delete data.pathologyForm.patientDTO
592 593
 		delete data.pathologyForm.surgeryDeptDTO
@@ -1369,6 +1370,7 @@ export class PathologySampleComponent implements OnInit {
1369 1370
 						},
1370 1371
 						operation:'',
1371 1372
 						pathologySpecimenIds:'',
1373
+						deptType:'outpatient'
1372 1374
 					};
1373 1375
 					data.pathologyForm.specimenNum = this.specimenList.length
1374 1376
 					if(this.operation=='addPrint' || this.operation=='wholePrint'){
@@ -1443,8 +1445,9 @@ export class PathologySampleComponent implements OnInit {
1443 1445
 					pathologyInspectIds:this.validateForm.value.project,
1444 1446
 					specimenType:{
1445 1447
 						id:this.validateForm.value.specimenGenre
1446
-					}
1447
-				}
1448
+					},
1449
+				},
1450
+				deptType:'outpatient'
1448 1451
 			};
1449 1452
 			data.pathologyForm.specimenNum = this.specimenList.length
1450 1453
 			delete data.pathologyForm.patientDTO

+ 21 - 17
src/app/views/pathology/pathology.component.html

@@ -424,29 +424,33 @@
424 424
 			<overlay-scrollbars #osComponentRef1 class="content">
425 425
 				<div class="list-template__bottom">
426 426
 					<nz-table class="list-template__nzTable" [nzData]="viewData" nzSize="middle" [nzShowPagination]="false"
427
-						[nzLoading]="loading1">
428
-						<thead>
429
-							<tr class="thead">
427
+					  [nzLoading]="loading1">
428
+					  <thead>
429
+					    <tr class="thead">
430 430
 								<th>标本名称</th>
431
-								<th>编码</th>
432
-								<th>备注</th>
433
-								<th>离体时间</th>
434
-								<th>离体操作人</th>
435
-								<th>固定时间</th>
436
-								<th>固定操作人</th>
437
-							</tr>
438
-						</thead>
439
-						<tbody>
440
-							<tr *ngFor="let data of viewData">
431
+								<th>系统</th>
432
+								<th>部位</th>
433
+					      <th>编码</th>
434
+					      <th>备注</th>
435
+					      <th>离体时间</th>
436
+					      <th>离体操作人</th>
437
+					      <th>固定时间</th>
438
+					      <th>固定操作人</th>
439
+					    </tr>
440
+					  </thead>
441
+					  <tbody>
442
+					    <tr *ngFor="let data of viewData">
441 443
 								<td>{{ data.specimenName }}</td>
442
-								<td>{{ data.specimenCode }}</td>
443
-								<td>{{ data.remark ? data.remark : '无' }}</td>
444
+								<td>{{ data.system ? data.system.name : '-' }}</td>
445
+								<td>{{ data.organ ? data.organ.name : '-' }}</td>
446
+					      <td>{{ data.specimenCode }}</td>
447
+					      <td>{{ data.remark ? data.remark : '无' }}</td>
444 448
 								<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
445 449
 								<td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
446 450
 								<td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
447 451
 								<td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
448
-							</tr>
449
-						</tbody>
452
+					    </tr>
453
+					  </tbody>
450 454
 					</nz-table>
451 455
 				</div>
452 456
 			</overlay-scrollbars>

+ 21 - 17
src/app/views/specimen-room-view/specimen-room-view.component.html

@@ -773,29 +773,33 @@
773 773
 			<overlay-scrollbars #osComponentRef1 class="content">
774 774
 				<div class="list-template__bottom">
775 775
 					<nz-table class="list-template__nzTable" [nzData]="viewData" nzSize="middle" [nzShowPagination]="false"
776
-						[nzLoading]="loading1">
777
-						<thead>
778
-							<tr class="thead">
776
+					  [nzLoading]="loading1">
777
+					  <thead>
778
+					    <tr class="thead">
779 779
 								<th>标本名称</th>
780
-								<th>编码</th>
781
-								<th>备注</th>
782
-								<th>离体时间</th>
783
-								<th>离体操作人</th>
784
-								<th>固定时间</th>
785
-								<th>固定操作人</th>
786
-							</tr>
787
-						</thead>
788
-						<tbody>
789
-							<tr *ngFor="let data of viewData">
780
+								<th>系统</th>
781
+								<th>部位</th>
782
+					      <th>编码</th>
783
+					      <th>备注</th>
784
+					      <th>离体时间</th>
785
+					      <th>离体操作人</th>
786
+					      <th>固定时间</th>
787
+					      <th>固定操作人</th>
788
+					    </tr>
789
+					  </thead>
790
+					  <tbody>
791
+					    <tr *ngFor="let data of viewData">
790 792
 								<td>{{ data.specimenName }}</td>
791
-								<td>{{ data.specimenCode }}</td>
792
-								<td>{{ data.remark ? data.remark : '无' }}</td>
793
+								<td>{{ data.system ? data.system.name : '-' }}</td>
794
+								<td>{{ data.organ ? data.organ.name : '-' }}</td>
795
+					      <td>{{ data.specimenCode }}</td>
796
+					      <td>{{ data.remark ? data.remark : '无' }}</td>
793 797
 								<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
794 798
 								<td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
795 799
 								<td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
796 800
 								<td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
797
-							</tr>
798
-						</tbody>
801
+					    </tr>
802
+					  </tbody>
799 803
 					</nz-table>
800 804
 				</div>
801 805
 			</overlay-scrollbars>