|
@@ -173,8 +173,9 @@
|
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
|
+ <!-- <button class="btn btn-left" *ngIf="(statusValue==2 || statusValue==3 || statusValue==4) && specimenList.length>1" nz-button nzType="primary" (click)="coverSubmitForm()">封面打印</button> -->
|
178
|
179
|
</div>
|
179
|
180
|
</div>
|
180
|
181
|
|
|
@@ -247,7 +248,7 @@
|
247
|
248
|
<div class="content-item-right" *ngIf="adviceList && adviceList.pathologyFormDTOS.length>0 && pathologyLogs.length && (viewType=='view' || viewType=='edit')">
|
248
|
249
|
<div class="tabs">
|
249
|
250
|
<div class="tabs-item">
|
250
|
|
- <div class="tabs-item-item" *ngIf="adviceItem.status.value < 7" [ngClass]="{'activeClass': activeIndex == 0}" (click)="tabClick(0)">快捷标本填写</div>
|
|
251
|
+ <div class="tabs-item-item" *ngIf="adviceItem.status.value < 5" [ngClass]="{'activeClass': activeIndex == 0}" (click)="tabClick(0)">快捷标本填写</div>
|
251
|
252
|
<div class="tabs-item-item" [ngClass]="{'activeClass': activeIndex == 1}" (click)="tabClick(1)">病理闭环</div>
|
252
|
253
|
</div>
|
253
|
254
|
</div>
|
|
@@ -454,29 +455,33 @@
|
454
|
455
|
<overlay-scrollbars #osComponentRef1 class="content">
|
455
|
456
|
<div class="list-template__bottom">
|
456
|
457
|
<nz-table class="list-template__nzTable" [nzData]="viewData" nzSize="middle" [nzShowPagination]="false"
|
457
|
|
- [nzLoading]="loading1">
|
458
|
|
- <thead>
|
459
|
|
- <tr class="thead">
|
|
458
|
+ [nzLoading]="loading1">
|
|
459
|
+ <thead>
|
|
460
|
+ <tr class="thead">
|
460
|
461
|
<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">
|
|
462
|
+ <th>系统</th>
|
|
463
|
+ <th>部位</th>
|
|
464
|
+ <th>编码</th>
|
|
465
|
+ <th>备注</th>
|
|
466
|
+ <th>离体时间</th>
|
|
467
|
+ <th>离体操作人</th>
|
|
468
|
+ <th>固定时间</th>
|
|
469
|
+ <th>固定操作人</th>
|
|
470
|
+ </tr>
|
|
471
|
+ </thead>
|
|
472
|
+ <tbody>
|
|
473
|
+ <tr *ngFor="let data of viewData">
|
471
|
474
|
<td>{{ data.specimenName }}</td>
|
472
|
|
- <td>{{ data.specimenCode }}</td>
|
473
|
|
- <td>{{ data.remark ? data.remark : '无' }}</td>
|
|
475
|
+ <td>{{ data.system ? data.system.name : '-' }}</td>
|
|
476
|
+ <td>{{ data.organ ? data.organ.name : '-' }}</td>
|
|
477
|
+ <td>{{ data.specimenCode }}</td>
|
|
478
|
+ <td>{{ data.remark ? data.remark : '无' }}</td>
|
474
|
479
|
<td>{{ data.inVitroTime ? (data.inVitroTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
|
475
|
480
|
<td>{{ data.inVitroOperator ? data.inVitroOperator.name : '-' }}</td>
|
476
|
481
|
<td>{{ data.fixationTime ? (data.fixationTime|date:'yyyy-MM-dd HH:mm:ss') : '-' }}</td>
|
477
|
482
|
<td>{{ data.fixationOperator ? data.fixationOperator.name : '-' }}</td>
|
478
|
|
- </tr>
|
479
|
|
- </tbody>
|
|
483
|
+ </tr>
|
|
484
|
+ </tbody>
|
480
|
485
|
</nz-table>
|
481
|
486
|
</div>
|
482
|
487
|
</overlay-scrollbars>
|
|
@@ -508,7 +513,7 @@
|
508
|
513
|
</nz-input-group>
|
509
|
514
|
</nz-form-control>
|
510
|
515
|
</nz-form-item>
|
511
|
|
- <nz-form-item *ngIf="ifImmobilization && detailsData.pathologyFormType==0">
|
|
516
|
+ <nz-form-item *ngIf="ifImmobilization && detailsData && detailsData.pathologyFormType==0">
|
512
|
517
|
<nz-form-label nzRequired [nzSpan]="6" nzFor="fixationTime">固定时间</nz-form-label>
|
513
|
518
|
<nz-form-control style="display: flex;align-items: center;" [nzSpan]="18" nzErrorTip="请选择固定时间!">
|
514
|
519
|
<nz-input-group style="display: flex;gap: 10px">
|
|
@@ -521,7 +526,7 @@
|
521
|
526
|
</nz-input-group>
|
522
|
527
|
</nz-form-control>
|
523
|
528
|
</nz-form-item>
|
524
|
|
- <nz-form-item *ngIf="ifImmobilization">
|
|
529
|
+ <nz-form-item *ngIf="ifImmobilization && detailsData && detailsData.pathologyFormType==0">
|
525
|
530
|
<nz-form-label nzRequired [nzSpan]="8" nzFor="fixative">固定液类型</nz-form-label>
|
526
|
531
|
<nz-form-control [nzSpan]="16" nzErrorTip="请选择固定液类型!">
|
527
|
532
|
<nz-input-group>
|
|
@@ -559,7 +564,7 @@
|
559
|
564
|
<div id="report" style="display: none;">
|
560
|
565
|
<div class="monad">
|
561
|
566
|
<!-- 大尺寸 80*60-->
|
562
|
|
- <div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==1 && printData && printData.specimenList && printData.specimenList.length>0">
|
|
567
|
+ <div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==1 && printData && printData.specimenList && printData.specimenList.length>0 && coverType==0">
|
563
|
568
|
<div *ngFor="let data of printData.specimenList; let index=index;">
|
564
|
569
|
<div>
|
565
|
570
|
<div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;position: relative;">
|
|
@@ -612,7 +617,7 @@
|
612
|
617
|
</div>
|
613
|
618
|
|
614
|
619
|
<!-- 小尺寸 20*30-->
|
615
|
|
- <div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==2 && printData && printData.specimenList && printData.specimenList.length>0">
|
|
620
|
+ <div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==2 && printData && printData.specimenList && printData.specimenList.length>0 && coverType==0">
|
616
|
621
|
<div *ngFor="let data of printData.specimenList; let index=index;">
|
617
|
622
|
<div style="width: 100%;display: flex;margin-top: 5px;padding: 0 7px;">
|
618
|
623
|
<div style="width: 35%;">
|
|
@@ -641,6 +646,42 @@
|
641
|
646
|
<div style="height: 18px;" *ngIf="printData && printData.specimenList && printData.specimenList.length>1 && index+1 < printData.specimenList.length"></div>
|
642
|
647
|
</div>
|
643
|
648
|
</div>
|
|
649
|
+
|
|
650
|
+ <!-- 封面打印 -->
|
|
651
|
+ <div style="font-size: 14px;" *ngIf="coverType==1">
|
|
652
|
+ <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;position: relative;">
|
|
653
|
+ <div style="width: 40%;">
|
|
654
|
+ <div style="height: 60px;width: 100%;text-align: center;">
|
|
655
|
+ <img style="max-width: 100%;max-height: 100%;" [src]="detailsData.barCode" alt="">
|
|
656
|
+ <div>{{detailsData.applyCode}}</div>
|
|
657
|
+ </div>
|
|
658
|
+ </div>
|
|
659
|
+ <div style="width: 60%;height: 100%;text-align: center;display: flex;align-items: center;flex-wrap: wrap;justify-content: right;">
|
|
660
|
+ <img style="max-width: 70%;max-height: 100%;" [src]="tool.logoUrl" alt="">
|
|
661
|
+ <div style="font-size: 18px;width: 100%;font-weight: bold;text-align: right;">病 理 申 请 单</div>
|
|
662
|
+ </div>
|
|
663
|
+ </div>
|
|
664
|
+ <div>
|
|
665
|
+ <div style="margin-top:20px;display: flex;justify-content: space-between;">
|
|
666
|
+ <div>患者: {{detailsData.patientDTO.patientName}}</div>
|
|
667
|
+ <div>性别: {{detailsData.patientDTO.gender?detailsData.patientDTO.gender.name:'-'}}</div>
|
|
668
|
+ <div>年龄: {{detailsData.patientDTO.age||'-'}}岁</div>
|
|
669
|
+ </div>
|
|
670
|
+ <div style="margin-top:10px;display: flex;justify-content: space-between;">
|
|
671
|
+ <div *ngIf="detailsData.residenceNo">住院号: {{detailsData.residenceNo}}</div>
|
|
672
|
+ <div *ngIf="!detailsData.residenceNo">门诊号: {{detailsData.patientDTO.patientCode}}</div>
|
|
673
|
+ <div>床号: {{detailsData.patientDTO.bedNum || '-'}}床</div>
|
|
674
|
+ </div>
|
|
675
|
+ <div style="margin-top:10px;display: flex;justify-content: space-between;">
|
|
676
|
+ <div>科室: {{detailsData.patientDTO.department.dept}}</div>
|
|
677
|
+ <div>标本数: {{specimenList.length}}</div>
|
|
678
|
+ </div>
|
|
679
|
+ <div style="margin-top:10px;display: flex;justify-content: space-between;">
|
|
680
|
+ <div>日期: {{detailsData.inVitroTime|date:'yyyy-MM-dd'}}</div>
|
|
681
|
+ <div style="font-weight: bold;text-align: right;">{{detailsData.pathologyFormType==1 ? '速' : '普'}}</div>
|
|
682
|
+ </div>
|
|
683
|
+ </div>
|
|
684
|
+ </div>
|
644
|
685
|
</div>
|
645
|
686
|
</div>
|
646
|
687
|
|