Quellcode durchsuchen

Merge branch 'master' into develop

seimin vor 3 Monaten
Ursprung
Commit
6a28781ad2

+ 5 - 5
src/app/share/pathology-add/pathology-add.component.html

@@ -428,18 +428,18 @@
428
 			</div> -->
428
 			</div> -->
429
 			
429
 			
430
 			<!-- 12.11新版打印样式 -->
430
 			<!-- 12.11新版打印样式 -->
431
-			<div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==1 && printData && printData.specimenList && printData.specimenList.length>0">
431
+			<div style="font-size: 12px;" *ngIf="surgeryPathologyLabelSize==1 && printData && printData.specimenList && printData.specimenList.length>0">
432
 				<div *ngFor="let data of printData.specimenList; let index=index;">
432
 				<div *ngFor="let data of printData.specimenList; let index=index;">
433
 				 <div>
433
 				 <div>
434
-					 <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;">
434
+					 <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;position: relative;">
435
 						 <div style="width: 60%;height: 70px;text-align: center;">
435
 						 <div style="width: 60%;height: 70px;text-align: center;">
436
 							 <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
436
 							 <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
437
 							 <div>标本号:{{data.specimenCode}}</div>
437
 							 <div>标本号:{{data.specimenCode}}</div>
438
 						 </div>
438
 						 </div>
439
-						 <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;">
440
-							 <!-- <span style="font-weight: bold;">速</span> -->
439
+						 <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;position: relative;top: -2px;">
441
 							 <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
440
 							 <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
442
 						 </div>
441
 						 </div>
442
+						 <div style="font-weight: bold;text-align: right;width: 100%;position: absolute;bottom: 3px;right: 3px;">{{printData.pathologyFormType==0?'普':'速'}}</div>
443
 					 </div>
443
 					 </div>
444
 					 <div style="display: flex;justify-content: space-between;">
444
 					 <div style="display: flex;justify-content: space-between;">
445
 						 <div style="width: 70%;margin-right:15px;">
445
 						 <div style="width: 70%;margin-right:15px;">
@@ -480,7 +480,7 @@
480
 			</div>
480
 			</div>
481
 			
481
 			
482
 			<!-- 小尺寸 20*30-->
482
 			<!-- 小尺寸 20*30-->
483
-			<div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==2 && printData && printData.specimenList && printData.specimenList.length>0">
483
+			<div style="font-size: 12px;" *ngIf="surgeryPathologyLabelSize==2 && printData && printData.specimenList && printData.specimenList.length>0">
484
 				<div *ngFor="let data of printData.specimenList; let index=index;">
484
 				<div *ngFor="let data of printData.specimenList; let index=index;">
485
 					<div style="width: 100%;display: flex;margin-top: 5px;padding: 0 7px;">
485
 					<div style="width: 100%;display: flex;margin-top: 5px;padding: 0 7px;">
486
 					 <div style="width: 35%;">
486
 					 <div style="width: 35%;">

+ 3 - 3
src/app/share/pathology-add/pathology-add.component.ts

@@ -84,7 +84,7 @@ export class PathologyAddComponent implements OnInit {
84
 	// 获取标本配置
84
 	// 获取标本配置
85
 	pathologyBarCode:any = 1;
85
 	pathologyBarCode:any = 1;
86
 	ifImmobilization:any = false;
86
 	ifImmobilization:any = false;
87
-	outpatientPathologyLabelSizeType:any = 1;
87
+	surgeryPathologyLabelSize:any = 1;
88
 	getPathologySys(){
88
 	getPathologySys(){
89
 		let postData = {
89
 		let postData = {
90
 			  idx: 0,
90
 			  idx: 0,
@@ -100,8 +100,8 @@ export class PathologyAddComponent implements OnInit {
100
 		  .subscribe((result) => {
100
 		  .subscribe((result) => {
101
 		    if (result.status == 200) {
101
 		    if (result.status == 200) {
102
 					this.pathologyBarCode = result.list[0].pathologyBarCode?result.list[0].pathologyBarCode:1;
102
 					this.pathologyBarCode = result.list[0].pathologyBarCode?result.list[0].pathologyBarCode:1;
103
-					if(result.list[0].outpatientPathologyLabelSize){
104
-						this.outpatientPathologyLabelSizeType = result.list[0].outpatientPathologyLabelSize.value;
103
+					if(result.list[0].surgeryPathologyLabelSize){
104
+						this.surgeryPathologyLabelSize = result.list[0].surgeryPathologyLabelSize.value;
105
 					}
105
 					}
106
 					if(result.list[0].outpatientInVitroFixation && result.list[0].outpatientInVitroFixation==1){
106
 					if(result.list[0].outpatientInVitroFixation && result.list[0].outpatientInVitroFixation==1){
107
 						this.ifImmobilization = true
107
 						this.ifImmobilization = true

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

@@ -215,17 +215,18 @@
215
 				</div>
215
 				</div>
216
 			</div> -->
216
 			</div> -->
217
 			<!-- 12.11新版打印样式 -->
217
 			<!-- 12.11新版打印样式 -->
218
-			<div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==1 && printData && printData.specimenList && printData.specimenList.length>0">
218
+			<div style="font-size: 12px;" *ngIf="surgeryPathologyLabelSize==1 && printData && printData.specimenList && printData.specimenList.length>0">
219
 				<div *ngFor="let data of printData.specimenList; let index=index;">
219
 				<div *ngFor="let data of printData.specimenList; let index=index;">
220
 				 <div>
220
 				 <div>
221
-					 <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;">
221
+					 <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;position: relative;">
222
 						 <div style="width: 60%;height: 70px;text-align: center;">
222
 						 <div style="width: 60%;height: 70px;text-align: center;">
223
 							 <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
223
 							 <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
224
 							 <div>标本号:{{data.specimenCode}}</div>
224
 							 <div>标本号:{{data.specimenCode}}</div>
225
 						 </div>
225
 						 </div>
226
-						 <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;">
226
+						 <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;position: relative;top: -2px;">
227
 							 <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
227
 							 <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
228
 						 </div>
228
 						 </div>
229
+						 <div style="font-weight: bold;text-align: right;width: 100%;position: absolute;bottom: 3px;right: 3px;">{{printData.pathologyFormType==0?'普':'速'}}</div>
229
 					 </div>
230
 					 </div>
230
 					 <div style="display: flex;justify-content: space-between;">
231
 					 <div style="display: flex;justify-content: space-between;">
231
 						 <div style="width: 70%;margin-right:15px;">
232
 						 <div style="width: 70%;margin-right:15px;">
@@ -266,7 +267,7 @@
266
 			</div>
267
 			</div>
267
 			
268
 			
268
 			<!-- 小尺寸 20*30-->
269
 			<!-- 小尺寸 20*30-->
269
-			<div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==2 && printData && printData.specimenList && printData.specimenList.length>0">
270
+			<div style="font-size: 12px;" *ngIf="surgeryPathologyLabelSize==2 && printData && printData.specimenList && printData.specimenList.length>0">
270
 				<div *ngFor="let data of printData.specimenList; let index=index;">
271
 				<div *ngFor="let data of printData.specimenList; let index=index;">
271
 					<div style="width: 100%;display: flex;margin-top: 5px;padding: 0 7px;">
272
 					<div style="width: 100%;display: flex;margin-top: 5px;padding: 0 7px;">
272
 					 <div style="width: 35%;">
273
 					 <div style="width: 35%;">

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

@@ -151,7 +151,7 @@ export class PathologyDetailComponent implements OnInit {
151
 	
151
 	
152
 	// 获取标本配置
152
 	// 获取标本配置
153
 	pathologyBarCode:any = 1;
153
 	pathologyBarCode:any = 1;
154
-	outpatientPathologyLabelSizeType:any = 1;
154
+	surgeryPathologyLabelSize:any = 1;
155
 	getPathologySys(){
155
 	getPathologySys(){
156
 		let postData = {
156
 		let postData = {
157
 			  idx: 0,
157
 			  idx: 0,
@@ -167,8 +167,8 @@ export class PathologyDetailComponent implements OnInit {
167
 		  .subscribe((result) => {
167
 		  .subscribe((result) => {
168
 		    if (result.status == 200) {
168
 		    if (result.status == 200) {
169
 					this.pathologyBarCode = result.list[0].pathologyBarCode?result.list[0].pathologyBarCode:1;
169
 					this.pathologyBarCode = result.list[0].pathologyBarCode?result.list[0].pathologyBarCode:1;
170
-					if(result.list[0].outpatientPathologyLabelSize){
171
-						this.outpatientPathologyLabelSizeType = result.list[0].outpatientPathologyLabelSize.value;
170
+					if(result.list[0].surgeryPathologyLabelSize){
171
+						this.surgeryPathologyLabelSize = result.list[0].surgeryPathologyLabelSize.value;
172
 					}
172
 					}
173
 				}
173
 				}
174
 		  });
174
 		  });

+ 3 - 2
src/app/views/pathology-sample/pathology-sample.component.html

@@ -551,14 +551,15 @@
551
 		<div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==1 && printData && printData.specimenList && printData.specimenList.length>0">
551
 		<div style="font-size: 12px;" *ngIf="outpatientPathologyLabelSizeType==1 && printData && printData.specimenList && printData.specimenList.length>0">
552
 			<div *ngFor="let data of printData.specimenList; let index=index;">
552
 			<div *ngFor="let data of printData.specimenList; let index=index;">
553
 			 <div>
553
 			 <div>
554
-				 <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;">
554
+				 <div style="display: flex;align-items: center;flex-wrap: nowrap;height: 70px;padding: 0 1px;position: relative;">
555
 					 <div style="width: 60%;height: 70px;text-align: center;">
555
 					 <div style="width: 60%;height: 70px;text-align: center;">
556
 						 <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
556
 						 <img style="max-width: 90%;height: 80%;" [src]="data.barCode" alt="">
557
 						 <div>标本号:{{data.specimenCode}}</div>
557
 						 <div>标本号:{{data.specimenCode}}</div>
558
 					 </div>
558
 					 </div>
559
-					 <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;">
559
+					 <div style="width: 40%;height: 100%;text-align: center;display: flex;align-items: center;position: relative;top: -2px;">
560
 						 <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
560
 						 <img style="max-width: 100%;max-height: 100%;" [src]="tool.logoUrl" alt="">
561
 					 </div>
561
 					 </div>
562
+					 <div style="font-weight: bold;text-align: right;width: 100%;position: absolute;bottom: 3px;right: 3px;">{{printData.pathologyFormType==0?'普':'速'}}</div>
562
 				 </div>
563
 				 </div>
563
 				 <div style="display: flex;justify-content: space-between;">
564
 				 <div style="display: flex;justify-content: space-between;">
564
 					 <div style="width: 70%;margin-right:15px;">
565
 					 <div style="width: 70%;margin-right:15px;">