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

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

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

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

173
                   穿刺点情况:{{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
173
                   穿刺点情况:{{ predialysis.point_puncture ? predialysis.point_puncture : "/" }}
174
                 </div>&nbsp;&nbsp;
174
                 </div>&nbsp;&nbsp;
175
                 <div style="display: 1;line-height: 30px;">
175
                 <div style="display: 1;line-height: 30px;">
176
-                  穿刺护士:杨能华/
176
+                  穿刺护士:
177
                   <span style="display: inline-block;width: 100px;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
177
                   <span style="display: inline-block;width: 100px;" v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
178
                     {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
178
                     {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
179
                   </span>
179
                   </span>
278
                 <td>{{ advice.delivery_way }}</td>
278
                 <td>{{ advice.delivery_way }}</td>
279
                 <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
279
                 <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
280
                 <td style="height:30px;line-height:30px">
280
                 <td style="height:30px;line-height:30px">
281
+                  杨能华/
281
                   <span v-if="setAdminUserES(advice.advice_doctor) == ''">
282
                   <span v-if="setAdminUserES(advice.advice_doctor) == ''">
282
                     {{ getAdminUser(advice.advice_doctor)}}
283
                     {{ getAdminUser(advice.advice_doctor)}}
283
                   </span>
284
                   </span>
304
                       {{afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute :'/'}}min
305
                       {{afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute :'/'}}min
305
                     </div>
306
                     </div>
306
                     <div style="flex: 1;">透析器凝血:
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
                     </div>
310
                     </div>
318
                   </div>
311
                   </div>
319
                 </td>
312
                 </td>
329
           <div style="display: flex;border: 1px solid black;padding: 5px;">
322
           <div style="display: flex;border: 1px solid black;padding: 5px;">
330
             <div style="flex: 1;">
323
             <div style="flex: 1;">
331
               <div style="display: inline-block;margin-right: 120px;">
324
               <div style="display: inline-block;margin-right: 120px;">
332
-                <span style="display: inline-block;">医生签名:</span>
325
+                <span style="display: inline-block;">医生签名:</span>杨能华/
333
                 <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
326
                 <span style="display: inline-block;" v-if="setAdminUserES(prescription.creater) == ''">
334
                   {{ getAdminUser(prescription.creater)}}
327
                   {{ getAdminUser(prescription.creater)}}
335
                 </span>
328
                 </span>
540
       ){
533
       ){
541
         const obj = "上机前病情"
534
         const obj = "上机前病情"
542
         checkDate.push(obj)
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
         this.predialysis.diastolic_blood_pressure == ''
547
         this.predialysis.diastolic_blood_pressure == ''
545
       ){
548
       ){
546
         const obj1 = "血压"
549
         const obj1 = "血压"
555
       } if(this.afterdialysis.actual_treatment_hour == ''){
558
       } if(this.afterdialysis.actual_treatment_hour == ''){
556
         const obj4 = "治疗时间"
559
         const obj4 = "治疗时间"
557
         checkDate.push(obj4)
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
         const obj5 = "抗凝剂未填"
568
         const obj5 = "抗凝剂未填"
560
         checkDate.push(obj5)
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
         const obj6 = "首剂"
571
         const obj6 = "首剂"
563
         checkDate.push(obj6)
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
         const obj7 = "维持"
574
         const obj7 = "维持"
566
         checkDate.push(obj7)
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
         const obj8 = "总量"
577
         const obj8 = "总量"
569
         checkDate.push(obj8)
578
         checkDate.push(obj8)
570
       }
579
       }
572
         const obj9 = "上次透后体重"
581
         const obj9 = "上次透后体重"
573
         checkDate.push(obj9)
582
         checkDate.push(obj9)
574
       } if(this.predialysis.weight_before == 0){
583
       } if(this.predialysis.weight_before == 0){
575
-        const obj10 = "本次透前体重"
584
+        const obj10 = "透前体重"
576
         checkDate.push(obj10)
585
         checkDate.push(obj10)
577
       } if(this.predialysis.dry_weight == 0){
586
       } if(this.predialysis.dry_weight == 0){
578
         const obj11 = "干体重"
587
         const obj11 = "干体重"
579
         checkDate.push(obj11)
588
         checkDate.push(obj11)
580
       } if(this.afterdialysis.weight_after == 0){
589
       } if(this.afterdialysis.weight_after == 0){
581
-        const obj12 = "本次透后体重"
590
+        const obj12 = "透后体重"
582
         checkDate.push(obj12)
591
         checkDate.push(obj12)
583
-      } if(this.prescription.target_ultrafiltration == 0){
584
-        const obj13 = "目标脱水量"
592
+      } if(this.prescription.calcium == 0){
593
+        const obj13 = "透析液钙浓度"
585
         checkDate.push(obj13)
594
         checkDate.push(obj13)
586
       } if(this.prescription.prescription_water == 0){
595
       } if(this.prescription.prescription_water == 0){
587
         const obj14 = "处方脱水量"
596
         const obj14 = "处方脱水量"
589
       } if(this.prescription.creater == ""){
598
       } if(this.prescription.creater == ""){
590
         const obj15 = "医生签名"
599
         const obj15 = "医生签名"
591
         checkDate.push(obj15)
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
         const obj16 = "透析液流量"
604
         const obj16 = "透析液流量"
594
         checkDate.push(obj16)
605
         checkDate.push(obj16)
595
-      } if(this.prescription.blood_flow_volume == ''){
596
-        const obj17 = "血流量"
606
+      } if(this.afterdialysis.cruor == ''){
607
+        const obj17 = "透析器凝血"
597
         checkDate.push(obj17)
608
         checkDate.push(obj17)
598
-      } if (this.predialysis.machine_type == '') {
599
-        const obj19 = "透析器"
609
+      } 
610
+      if (this.predialysis.point_puncture == '') {
611
+        const obj19 = "穿刺点情况"
600
         checkDate.push(obj19)
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
         const obj20 = "血管通路"
615
         const obj20 = "血管通路"
610
         checkDate.push(obj20)
616
         checkDate.push(obj20)
611
       } if (this.dialysisOrder == null ||
617
       } if (this.dialysisOrder == null ||
612
         this.dialysisOrder.puncture_nurse == 0
618
         this.dialysisOrder.puncture_nurse == 0
613
       ) {
619
       ) {
614
-        const obj21 = "穿刺"
620
+        const obj21 = "穿刺护士"
615
         checkDate.push(obj21)
621
         checkDate.push(obj21)
616
       } if(this.summary.dialysis_summary == ""){
622
       } if(this.summary.dialysis_summary == ""){
617
         const obj22 = "透析小结"
623
         const obj22 = "透析小结"
620
         this.dialysisOrder == null ||
626
         this.dialysisOrder == null ||
621
         this.dialysisOrder.start_nurse == 0
627
         this.dialysisOrder.start_nurse == 0
622
       ) {
628
       ) {
623
-        const obj23 = "护士签名"
629
+        const obj23 = "责任护士"
624
         checkDate.push(obj23)
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
         this.tableAdvice.map(item => {
645
         this.tableAdvice.map(item => {
630
           if(item.id > 0 && (item.created_time || item.start_time)){
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
               checkDate.push(obj24)
649
               checkDate.push(obj24)
634
             }
650
             }
635
           }
651
           }
636
         })
652
         })
637
       }
653
       }
654
+      
638
       this.getcheckData(checkDate)
655
       this.getcheckData(checkDate)
639
     },
656
     },
640
     getDisplaceLiquiPart: function(val) {
657
     getDisplaceLiquiPart: function(val) {

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

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