Browse Source

25 3月4 84打印单

yq1 1 month ago
parent
commit
88e6102add

+ 4 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_eightyfour.vue View File

@@ -217,7 +217,7 @@
217 217
                         record.assessment_before_dislysis.point_puncture : "/" }}
218 218
                       </div>&nbsp;&nbsp;
219 219
                       <div style="flex: 1;line-height: 30px;">
220
-                        穿刺护士:杨能华/
220
+                        穿刺护士:
221 221
                         <span v-if="setAdminUserES( record.dialysis_order,'puncture_nurse') == ''">
222 222
                           {{ getAdminUser( record.dialysis_order,"puncture_nurse")
223 223
                               ? getAdminUser( record.dialysis_order,"puncture_nurse") : ""
@@ -324,7 +324,7 @@
324 324
                       </td>
325 325
                       <td>{{ advice[0].delivery_way }}</td>
326 326
                       <td>{{ getTime(advice[0].execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
327
-                      <td style="height:30px;line-height:30px">
327
+                      <td style="height:30px;line-height:30px">杨能华/
328 328
                         <span v-if="setAdminUserES(advice[0],'advice_doctor') == ''">
329 329
                           {{ getAdminUser(advice[0],'advice_doctor')}}
330 330
                         </span>
@@ -348,9 +348,7 @@
348 348
                             {{record.assessment_after_dislysis.actual_treatment_minute ? record.assessment_after_dislysis.actual_treatment_minute :'/'}}min
349 349
                           </div>
350 350
                           <div style="flex: 1;">透析器凝血:
351
-                            <div class="under_line" style=" width: 60%;text-align: center; white-space: normal;">
352
-                              {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "" }}
353
-                            </div>
351
+                            {{ record.assessment_after_dislysis.cruor ? record.assessment_after_dislysis.cruor : "" }}
354 352
                           </div>
355 353
                         </div>
356 354
                       </td>
@@ -367,7 +365,7 @@
367 365
                 <div style="display: flex;border: 1px solid black;padding: 5px;">
368 366
                   <div style="flex: 1;">
369 367
                     <div style="display: inline-block;margin-right: 120px;">
370
-                      <span style="display: inline-block;">医生签名:</span>
368
+                      <span style="display: inline-block;">医生签名:</span>杨能华/
371 369
                       <span v-if="setAdminUserES(record.prescription, 'prescription_doctor') == ''">
372 370
                         {{ getAdminUser(record.prescription, 'prescription_doctor') }}
373 371
                       </span>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue View File

@@ -781,7 +781,7 @@
781 781
                             {{
782 782
                               monitor.displacement_quantity
783 783
                                 ? monitor.displacement_quantity
784
-                                : "0"
784
+                                : ""
785 785
                             }}
786 786
                           </span>
787 787
                         </td>

+ 58 - 41
src/xt_pages/dialysis/template/DialysisPrintOrdereightyfour.vue View File

@@ -173,7 +173,7 @@
173 173
                   穿刺点情况:{{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
174 174
                 </div>&nbsp;&nbsp;
175 175
                 <div style="display: 1;line-height: 30px;">
176
-                  穿刺护士:杨能华/
176
+                  穿刺护士:
177 177
                   <span style="display: inline-block;width: 100px;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
178 178
                     {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
179 179
                   </span>
@@ -278,6 +278,7 @@
278 278
                 <td>{{ advice.delivery_way }}</td>
279 279
                 <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
280 280
                 <td style="height:30px;line-height:30px">
281
+                  杨能华/
281 282
                   <span v-if="setAdminUserES(advice.advice_doctor) == ''">
282 283
                     {{ getAdminUser(advice.advice_doctor)}}
283 284
                   </span>
@@ -304,16 +305,8 @@
304 305
                       {{afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute :'/'}}min
305 306
                     </div>
306 307
                     <div style="flex: 1;">透析器凝血:
307
-                      <div
308
-                        class="under_line"
309
-                        style="
310
-                          width: 60%;
311
-                          text-align: center;
312
-                          white-space: normal;
313
-                        "
314
-                      >
315
-                        {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
316
-                      </div>
308
+                      {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
309
+                      
317 310
                     </div>
318 311
                   </div>
319 312
                 </td>
@@ -329,7 +322,7 @@
329 322
           <div style="display: flex;border: 1px solid black;padding: 5px;">
330 323
             <div style="flex: 1;">
331 324
               <div style="display: inline-block;margin-right: 120px;">
332
-                <span style="display: inline-block;">医生签名:</span>
325
+                <span style="display: inline-block;">医生签名:</span>杨能华/
333 326
                 <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
334 327
                   {{ getAdminUser(prescription.creater)}}
335 328
                 </span>
@@ -540,7 +533,17 @@ export default {
540 533
       ){
541 534
         const obj = "上机前病情"
542 535
         checkDate.push(obj)
543
-      } if(this.predialysis.systolic_blood_pressure == '' &&
536
+      } if(this.predialysis.temperature ==''){
537
+        const obj0 = "体温"
538
+        checkDate.push(obj0)
539
+      } if(this.predialysis.pulse_frequency==''){
540
+        const obj1_1 = "脉搏"
541
+        checkDate.push(obj1_1)
542
+      } if(this.predialysis.breathing_rate==''){
543
+        const obj1_2 = "呼吸"
544
+        checkDate.push(obj1_2)
545
+      }
546
+      if(this.predialysis.systolic_blood_pressure == '' &&
544 547
         this.predialysis.diastolic_blood_pressure == ''
545 548
       ){
546 549
         const obj1 = "血压"
@@ -555,16 +558,22 @@ export default {
555 558
       } if(this.afterdialysis.actual_treatment_hour == ''){
556 559
         const obj4 = "治疗时间"
557 560
         checkDate.push(obj4)
558
-      } if(this.prescription.anticoagulant == ''){
561
+      } if (
562
+        this.prescription.dialyzer_perfusion_apparatus == '' 
563
+      ){
564
+        const obj18 = "透析(滤)器"
565
+        checkDate.push(obj18)
566
+      }
567
+      if(this.prescription.anticoagulant == ''){
559 568
         const obj5 = "抗凝剂未填"
560 569
         checkDate.push(obj5)
561
-      } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant=='普通肝素'){
570
+      } if(this.prescription.anticoagulant_shouji == 0 && this.prescription.anticoagulant==2){
562 571
         const obj6 = "首剂"
563 572
         checkDate.push(obj6)
564
-      } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant=='普通肝素'){
573
+      } if(this.prescription.anticoagulant_weichi == 0 && this.prescription.anticoagulant==2){
565 574
         const obj7 = "维持"
566 575
         checkDate.push(obj7)
567
-      } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant=='普通肝素'){
576
+      } if(this.prescription.anticoagulant_zongliang == 0 && this.prescription.anticoagulant==2){
568 577
         const obj8 = "总量"
569 578
         checkDate.push(obj8)
570 579
       }
@@ -572,16 +581,16 @@ export default {
572 581
         const obj9 = "上次透后体重"
573 582
         checkDate.push(obj9)
574 583
       } if(this.predialysis.weight_before == 0){
575
-        const obj10 = "本次透前体重"
584
+        const obj10 = "透前体重"
576 585
         checkDate.push(obj10)
577 586
       } if(this.predialysis.dry_weight == 0){
578 587
         const obj11 = "干体重"
579 588
         checkDate.push(obj11)
580 589
       } if(this.afterdialysis.weight_after == 0){
581
-        const obj12 = "本次透后体重"
590
+        const obj12 = "透后体重"
582 591
         checkDate.push(obj12)
583
-      } if(this.prescription.target_ultrafiltration == 0){
584
-        const obj13 = "目标脱水量"
592
+      } if(this.prescription.calcium == 0){
593
+        const obj13 = "透析液钙浓度"
585 594
         checkDate.push(obj13)
586 595
       } if(this.prescription.prescription_water == 0){
587 596
         const obj14 = "处方脱水量"
@@ -589,29 +598,26 @@ export default {
589 598
       } if(this.prescription.creater == ""){
590 599
         const obj15 = "医生签名"
591 600
         checkDate.push(obj15)
592
-      } if(this.prescription.dialysate_flow == ''){
601
+      } 
602
+      if(this.afterdialysis.actual_treatment_hour == '' && 
603
+          this.afterdialysis.actual_treatment_minute==''){
593 604
         const obj16 = "透析液流量"
594 605
         checkDate.push(obj16)
595
-      } if(this.prescription.blood_flow_volume == ''){
596
-        const obj17 = "血流量"
606
+      } if(this.afterdialysis.cruor == ''){
607
+        const obj17 = "透析器凝血"
597 608
         checkDate.push(obj17)
598
-      } if (this.predialysis.machine_type == '') {
599
-        const obj19 = "透析器"
609
+      } 
610
+      if (this.predialysis.point_puncture == '') {
611
+        const obj19 = "穿刺点情况"
600 612
         checkDate.push(obj19)
601
-      } if (
602
-        this.prescription.dialysis_irrigation == '' &&
603
-        this.prescription.dialysis_dialyszers == '' &&
604
-        this.prescription.dialysis_strainer == ''
605
-      ){
606
-        const obj18 = "透析(滤)器"
607
-        checkDate.push(obj18)
608
-      } if (this.predialysis.blood_access_part_opera_name == ''){
613
+      } 
614
+      if (this.predialysis.blood_access_part_opera_name == ''){
609 615
         const obj20 = "血管通路"
610 616
         checkDate.push(obj20)
611 617
       } if (this.dialysisOrder == null ||
612 618
         this.dialysisOrder.puncture_nurse == 0
613 619
       ) {
614
-        const obj21 = "穿刺"
620
+        const obj21 = "穿刺护士"
615 621
         checkDate.push(obj21)
616 622
       } if(this.summary.dialysis_summary == ""){
617 623
         const obj22 = "透析小结"
@@ -620,21 +626,32 @@ export default {
620 626
         this.dialysisOrder == null ||
621 627
         this.dialysisOrder.start_nurse == 0
622 628
       ) {
623
-        const obj23 = "护士签名"
629
+        const obj23 = "责任护士"
624 630
         checkDate.push(obj23)
631
+      } if (this.dialysisOrder == null && this.check.creater == 0) {
632
+        const obj49='核对护士'
633
+        checkDate.push(obj49)
634
+      } else if (this.dialysisOrder != null && this.check.creater == 0) {
635
+        const obj49='核对护士'
636
+        checkDate.push(obj49)
637
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.modifier && this.check.creater == 0) {
638
+        const obj49='核对护士'
639
+        checkDate.push(obj49)
640
+      } else if (this.dialysisOrder != null && this.dialysisOrder.start_nurse == this.check.creater && this.check.modifier == 0) {
641
+        const obj49='核对护士'
642
+        checkDate.push(obj49)
625 643
       }
626
-
627
-     if(this.tableAdvice.length > 0){
628
-        let num = 0
644
+      if(this.tableAdvice.length > 0){
629 645
         this.tableAdvice.map(item => {
630 646
           if(item.id > 0 && (item.created_time || item.start_time)){
631
-            if(item.execution_staff ==0 || item.checker ==0){
632
-              const obj24 = '执行,核对'
647
+            if(item.execution_staff ==0 || item.advice_doctor ==0){
648
+              const obj24 = '执行,医生'
633 649
               checkDate.push(obj24)
634 650
             }
635 651
           }
636 652
         })
637 653
       }
654
+      
638 655
       this.getcheckData(checkDate)
639 656
     },
640 657
     getDisplaceLiquiPart: function(val) {

+ 15 - 11
src/xt_pages/outpatientTool/labelPrint.vue View File

@@ -128,18 +128,18 @@
128 128
                     </el-col>
129 129
                 </el-row>
130 130
                   <div id="sign" class="signPrint">
131
-                      <div style="display:flex;margin-bottom:10px;">
131
+                      <div style="display:flex;margin-bottom:0px;">
132 132
                           <div style="margin-left:15px;">
133 133
                               <div style="font-weight:bold;font-size:24px;">C</div>
134 134
                               <div>{{getTime(current_ctime,'{m}-{d}')}}</div>
135 135
                               <div>{{getTime(current_ctime,'{h}:{i}')}}</div>
136 136
                           </div>
137
-                          <img  v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217"  id="barcode">
137
+                          <img style="height: 85px;" v-if="$store.getters.xt_user.org.id != 10138 && $store.getters.xt_user.org.id != 10217"  id="barcode">
138 138
                       </div>
139
-                      <div style="margin-bottom:5px;">{{current_number}}</div>
139
+                      <div style="margin-bottom:0px;">{{current_number}}</div>
140 140
                       <div style="display:flex;">
141
-                          <div style="font-size:24px;padding-left:20px;">{{current_project_name}}</div>
142
-                          <div style="font-size:24px;margin-left:20px;">{{current_name}}</div>
141
+                          <div style="font-size:15px;padding-left:20px;">{{current_project_name}}</div>
142
+                          <div style="font-size:15px;margin-left:20px;">{{current_name}}</div>
143 143
                       </div>
144 144
                   </div>
145 145
             </div>
@@ -360,10 +360,7 @@
360 360
                   }
361 361
                 }else{
362 362
                   this.current_params.is_team = 0
363
-
364 363
                 }
365
-
366
-
367 364
                 if(!this.isShow){
368 365
                   createPrintLable(this.current_params).then(response => {
369 366
                     if (response.data.state == 0) {
@@ -480,8 +477,11 @@
480 477
             this.$message.error(response.data.msg)
481 478
             return false
482 479
           } else {
480
+            console.log('vvvvvv',response.data.data);
483 481
             this.labelVisible = true
484 482
             if(response.data.data.labels.id > 0){
483
+              console.log('内容1');
484
+              
485 485
               this.current_ctime = row.ctime
486 486
               this.current_number = row.number
487 487
               this.current_project_name = row.project_name
@@ -491,8 +491,10 @@
491 491
                   format: 'CODE39',
492 492
                   lineColor: '#000',
493 493
                   background: '#EBEEF5',
494
-                  width: 3,
495
-                  height: 200,
494
+                  // width: 3,
495
+                  // height: 200,
496
+                  width: 1,
497
+                  height: 90,
496 498
                   displayValue: false,
497 499
                   fontOptions:"bold italic",//使文字加粗体或变斜体
498 500
                   font:"fantasy",//设置文本的字体
@@ -500,11 +502,13 @@
500 502
                   textPosition:"top",//设置文本的垂直位置
501 503
                   textMargin:5,//设置条形码和文本之间的间距
502 504
                   fontSize:15,//设置文本的大小
503
-                  margin:15//设置条形码周围的空白边距
505
+                  margin:0,//设置条形码周围的空白边距
506
+                  marginTop:0
504 507
                 })
505 508
               });
506 509
 
507 510
             }else{
511
+              console.log('内容2');
508 512
               let params = {
509 513
                 is_combination_print:this.is_combination_print,
510 514
                 patient_id: row.patient_id,