Browse Source

修改bug

张保健 5 years ago
parent
commit
de00c9bf0f

+ 2 - 1
src/store/modules/globalConfig.js View File

@@ -107,7 +107,8 @@ const global_config = {
107 107
       2: { id: 2, name: '普通肝素', type: 1, shouji: 1, weichi: 1, zongliang: 1, gaimingcheng: -1, gaijiliang: -1, shouji_unit: 'mg', weichi_unit: 'mg/h', zongliang_unit: 'mg', gaimingcheng_unit: '', gaijiliang_unit: '' },
108 108
       3: { id: 3, name: '低分子肝素', type: 1, shouji: -1, weichi: -1, zongliang: 1, gaimingcheng: -1, gaijiliang: -1, shouji_unit: 'lu', weichi_unit: 'lu', zongliang_unit: 'lu', gaimingcheng_unit: '', gaijiliang_unit: '' },
109 109
       4: { id: 4, name: '阿加曲班', type: 1, shouji: 1, weichi: 1, zongliang: 1, gaimingcheng: -1, gaijiliang: -1, shouji_unit: 'mg', weichi_unit: 'mg/h', zongliang_unit: 'mg', gaimingcheng_unit: '', gaijiliang_unit: '' },
110
-      5: { id: 5, name: '枸橼酸钠', type: 1, shouji: -1, weichi: 1, zongliang: -1, gaimingcheng: 1, gaijiliang: 1, shouji_unit: '', weichi_unit: 'ml/h', zongliang_unit: '', gaimingcheng_unit: 'ml/h', gaijiliang_unit: '' }
110
+      5: { id: 5, name: '4%枸橼酸钠', type: 1, shouji: -1, weichi: 1, zongliang: -1, gaimingcheng: 1, gaijiliang: 1, shouji_unit: '', weichi_unit: 'ml/h', zongliang_unit: '', gaimingcheng_unit: 'ml/h', gaijiliang_unit: '' },
111
+      6: { id: 5, name: '3%枸橼酸钠', type: 1, shouji: -1, weichi: 1, zongliang: -1, gaimingcheng: 1, gaijiliang: 1, shouji_unit: '', weichi_unit: 'ml/h', zongliang_unit: '', gaimingcheng_unit: 'ml/h', gaijiliang_unit: '' }
111 112
     },
112 113
     anticoagulants_set: {
113 114
       type: 2

+ 1 - 1
src/xt_pages/dialysis/PatientBox.vue View File

@@ -18,7 +18,7 @@
18 18
         <ul>
19 19
           <li><span class="iconfont">&#xe6f5;</span>班次 : {{timeTypeText(schedule)}}</li>
20 20
           <li><span class="iconfont">&#xe6de;</span>床位号 : {{schedule.device_number.number}}</li>
21
-          <li><span class="iconfont">&#xe6f6;</span>透析模式 : {{$store.getters.treatment_mode[schedule.mode_id].name}}</li>
21
+          <li><span class="iconfont">&#xe6f6;</span>透析模式 : {{schedule.mode_id?$store.getters.treatment_mode[schedule.mode_id].name:''}}</li>
22 22
         </ul>
23 23
       </div>
24 24
     </div>

+ 14 - 2
src/xt_pages/dialysis/batch_print/batch_print_order.vue View File

@@ -306,8 +306,20 @@
306 306
                       <check-box text="HDF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 2)"></check-box>
307 307
                       <check-box text="HF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 5)"></check-box>
308 308
                       <check-box text="HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 4)"></check-box>
309
-                      <check-box text="HD+HP"
310
-                                 :checked="isCheckBoxChecked(record.prescription, 'mode_id', 3)"></check-box>
309
+                      <check-box text="HD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 3)"></check-box>
310
+                      <check-box text="SCUF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 6)"></check-box>
311
+                      <check-box text="IUF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 7)"></check-box>
312
+                      <check-box text="HFHD" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 8)"></check-box>
313
+                      <check-box text="HFHD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 9)"></check-box>
314
+                      <check-box text="PHF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 10)"></check-box>
315
+                      <check-box text="HFR" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 11)"></check-box>
316
+                      <check-box text="HDF+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 12)"></check-box>
317
+                      <check-box text="CRRT" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 13)"></check-box>
318
+                      <check-box text="腹水回输" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 14)"></check-box>
319
+                      <check-box text="HD前置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 15)"></check-box>
320
+                      <check-box text="HD后置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 16)"></check-box>
321
+                      <check-box text="HDF前置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 17)"></check-box>
322
+                      <check-box text="HDF后置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 18)"></check-box>
311 323
                       其他
312 324
                       <div class="under_line" style="width: 100px;">
313 325
                         {{record.prescription&&record.prescription.mode_id>5?modeName(record.prescription.mode_id):''}}

+ 14 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue View File

@@ -175,7 +175,7 @@
175 175
                       <check-box text="重症酸中毒" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'emergency_treatment', 3)"></check-box>
176 176
                       <div class="inline_block">
177 177
                         其它:
178
-                        <div class="under_line" style="width: 150px;text-align: left">
178
+                        <div class="under_line" style="min-width: 150px;text-align: left">
179 179
                           {{ record.assessment_before_dislysis?record.assessment_before_dislysis.emergency_treatment_other:''}}
180 180
                         </div>
181 181
                       </div>
@@ -670,6 +670,19 @@
670 670
                     <check-box text="HF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 5)"></check-box>
671 671
                     <check-box text="HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 4)"></check-box>
672 672
                     <check-box text="HD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 3)"></check-box>
673
+                    <check-box text="SCUF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 6)"></check-box>
674
+                      <!-- <check-box text="IUF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 7)"></check-box>
675
+                      <check-box text="HFHD" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 8)"></check-box>
676
+                      <check-box text="HFHD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 9)"></check-box>
677
+                      <check-box text="PHF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 10)"></check-box>
678
+                      <check-box text="HFR" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 11)"></check-box>
679
+                      <check-box text="HDF+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 12)"></check-box>
680
+                      <check-box text="CRRT" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 13)"></check-box>
681
+                      <check-box text="腹水回输" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 14)"></check-box>
682
+                      <check-box text="HD前置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 15)"></check-box>
683
+                      <check-box text="HD后置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 16)"></check-box>
684
+                      <check-box text="HDF前置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 17)"></check-box>
685
+                      <check-box text="HDF后置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 18)"></check-box> -->
673 686
                   </div>
674 687
 
675 688
                   <!--<div class="inline_block"  v-if="record.patient.diagnose.length > 10" style="margin-left: -10px">-->

+ 5 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue View File

@@ -34,7 +34,7 @@
34 34
             <div class="inline_block" style="margin-left: 10px;">
35 35
               性别:
36 36
               <check-box text="男" :checked="record.patient.gender == 1"></check-box>
37
-              &nbsp
37
+              &nbsp;
38 38
               <check-box text="女" :checked="record.patient.gender == 2"></check-box>
39 39
             </div>
40 40
             <div class="inline_block" style="margin-left: 10px;">
@@ -171,7 +171,7 @@
171 171
                       <check-box text="重症酸中毒" :checked="isCheckBoxChecked(record.assessment_before_dislysis, 'emergency_treatment', 3)"></check-box>
172 172
                       <div class="inline_block">
173 173
                         其它:
174
-                        <div class="under_line" style="width: 150px;text-align: left">
174
+                        <div class="under_line" style="min-width: 150px;text-align: left">
175 175
                           {{ record.assessment_before_dislysis?record.assessment_before_dislysis.emergency_treatment_other:''}}
176 176
                         </div>
177 177
                       </div>
@@ -1081,6 +1081,9 @@
1081 1081
           return false
1082 1082
         } else {
1083 1083
           return record[key] == target_value
1084
+
1085
+
1086
+          
1084 1087
         }
1085 1088
       }, getAge: function(val) {
1086 1089
         if (val.age == 0) {

+ 13 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_other_two.vue View File

@@ -68,6 +68,19 @@
68 68
                       <check-box text="HF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 5)"></check-box>
69 69
                       <check-box text="HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 4)"></check-box>
70 70
                       <check-box text="HD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 3)"></check-box>
71
+                      <!-- <check-box text="SCUF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 6)"></check-box>
72
+                      <check-box text="IUF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 7)"></check-box>
73
+                      <check-box text="HFHD" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 8)"></check-box>
74
+                      <check-box text="HFHD+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 9)"></check-box>
75
+                      <check-box text="PHF" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 10)"></check-box>
76
+                      <check-box text="HFR" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 11)"></check-box>
77
+                      <check-box text="HDF+HP" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 12)"></check-box>
78
+                      <check-box text="CRRT" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 13)"></check-box>
79
+                      <check-box text="腹水回输" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 14)"></check-box>
80
+                      <check-box text="HD前置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 15)"></check-box>
81
+                      <check-box text="HD后置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 16)"></check-box>
82
+                      <check-box text="HDF前置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 17)"></check-box>
83
+                      <check-box text="HDF后置换" :checked="isCheckBoxChecked(record.prescription, 'mode_id', 18)"></check-box> -->
71 84
                     </div>
72 85
 
73 86
                     <!--<div class="inline_block"  v-if="record.patient.diagnose.length > 10" style="margin-left: -10px">-->

+ 39 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

@@ -483,6 +483,45 @@
483 483
                 <td width="80">
484 484
                   <label-box :isChecked="prescription.mode_id==3?true:false" showValue='HD+HP'></label-box>
485 485
                 </td>
486
+                <td width="80">
487
+                  <label-box :isChecked="prescription.mode_id==6?true:false" showValue='SCUF'></label-box>
488
+                </td>
489
+                <td width="80">
490
+                  <label-box :isChecked="prescription.mode_id==7?true:false" showValue='IUF'></label-box>
491
+                </td>
492
+                <td width="80">
493
+                  <label-box :isChecked="prescription.mode_id==8?true:false" showValue='HFHD'></label-box>
494
+                </td>
495
+                <td width="80">
496
+                  <label-box :isChecked="prescription.mode_id==9?true:false" showValue='HFHD+HP'></label-box>
497
+                </td>
498
+                <td width="80">
499
+                  <label-box :isChecked="prescription.mode_id==10?true:false" showValue='PHF'></label-box>
500
+                </td>
501
+                <td width="80">
502
+                  <label-box :isChecked="prescription.mode_id==11?true:false" showValue='HFR'></label-box>
503
+                </td>
504
+                <td width="80">
505
+                  <label-box :isChecked="prescription.mode_id==12?true:false" showValue='HDF+HP'></label-box>
506
+                </td>
507
+                <td width="80">
508
+                  <label-box :isChecked="prescription.mode_id==13?true:false" showValue='CRRT'></label-box>
509
+                </td>
510
+                <td width="80">
511
+                  <label-box :isChecked="prescription.mode_id==14?true:false" showValue='腹水回输'></label-box>
512
+                </td>
513
+                <td width="80">
514
+                  <label-box :isChecked="prescription.mode_id==15?true:false" showValue='HD前置换'></label-box>
515
+                </td>
516
+                <td width="80">
517
+                  <label-box :isChecked="prescription.mode_id==16?true:false" showValue='HD后置换'></label-box>
518
+                </td>
519
+                <td width="80">
520
+                  <label-box :isChecked="prescription.mode_id==17?true:false" showValue='HDF前置换'></label-box>
521
+                </td>
522
+                <td width="80">
523
+                  <label-box :isChecked="prescription.mode_id==18?true:false" showValue='HDF后置换'></label-box>
524
+                </td>
486 525
 
487 526
                 <td width="35">其他</td>
488 527
                 <td width="100">

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

@@ -771,7 +771,7 @@
771 771
               <div class="row" style="padding: 2px 0;line-height:23px;display:flex;">
772 772
                 <div class="inline_block" style="flex:1; display:inline-block;">
773 773
                   治疗小结:
774
-                  <div class="under_line" style="width: 90%;line-height: 25px;text-align: left;margin-left: 2px; display:inline-block;"> {{summary.dialysis_summary?summary.dialysis_summary:'/'}}</div>
774
+                  <div class="under_line" style="width: 820px;line-height: 25px;text-align: left;margin-left: 2px; display:inline-block;word-wrap: break-word;word-break: break-all;white-space: normal;"> {{summary.dialysis_summary?summary.dialysis_summary:'/'}}</div>
775 775
                 </div>
776 776
               </div>
777 777
 

+ 17 - 4
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

@@ -165,8 +165,8 @@
165 165
                   <check-box text="重症酸中毒" :checked="predialysis.emergency_treatment == 3?true:false"></check-box>
166 166
                   <div class="inline_block">
167 167
                     其它:
168
-                    <div class="under_line" style="width: 100px;text-align: left">
169
-                      <span v-if="predialysis.emergency_treatment == -1">{{predialysis.emergency_treatment_other}}</span>
168
+                    <div class="under_line" style="min-width: 100px;text-align: left">
169
+                      <span>{{predialysis.emergency_treatment_other}}</span>
170 170
                     </div>
171 171
                   </div>
172 172
                 </div>
@@ -639,6 +639,19 @@
639 639
                 <check-box text="HF" :checked="prescription.mode_id==5?true:false"></check-box>
640 640
                 <check-box text="HP" :checked="prescription.mode_id==4?true:false"></check-box>
641 641
                 <check-box text="HD+HP" :checked="prescription.mode_id==3?true:false"></check-box>
642
+                <!-- <check-box text="SCUF" :checked="prescription.mode_id==6?true:false"></check-box>
643
+                <check-box text="IUF" :checked="prescription.mode_id==7?true:false"></check-box>
644
+                <check-box text="HFHD" :checked="prescription.mode_id==8?true:false"></check-box>
645
+                <check-box text="HFHD+HP" :checked="prescription.mode_id==9?true:false"></check-box>
646
+                <check-box text="PHF" :checked="prescription.mode_id==10?true:false"></check-box>
647
+                <check-box text="HFR" :checked="prescription.mode_id==11?true:false"></check-box>
648
+                <check-box text="HDF+HP" :checked="prescription.mode_id==12?true:false"></check-box>
649
+                <check-box text="CRRT" :checked="prescription.mode_id==13?true:false"></check-box>
650
+                <check-box text="腹水回输" :checked="prescription.mode_id==14?true:false"></check-box>
651
+                <check-box text="HD前置换" :checked="prescription.mode_id==15?true:false"></check-box>
652
+                <check-box text="HD后置换" :checked="prescription.mode_id==16?true:false"></check-box>
653
+                <check-box text="HDF前置换" :checked="prescription.mode_id==17?true:false"></check-box>
654
+                <check-box text="HDF后置换" :checked="prescription.mode_id==18?true:false"></check-box> -->
642 655
               </div>
643 656
 
644 657
               <!--<div class="inline_block"  v-if="patientInfo.diagnose.length <= 10">-->
@@ -704,8 +717,8 @@
704 717
               </div>
705 718
               <div class="inline_block">
706 719
                 其它:
707
-                <div class="under_line" style="width: 100px;text-align: left">
708
-                  <span v-if="prescription.special_medicine == -1">{{prescription.special_medicine_other}}</span>
720
+                <div class="under_line" style="width: 150px;text-align: left">
721
+                  <span >{{prescription.special_medicine_other}}</span>
709 722
                 </div>
710 723
               </div>
711 724
             </div>

+ 14 - 7
src/xt_pages/user/patients.vue View File

@@ -590,13 +590,20 @@ export default {
590 590
     var healthcareno = this.healthcareno
591 591
 
592 592
     // BASE64加密
593
-    var eid = this.Base64.encode(id)
594
-    var ename = this.Base64.encode(name)
595
-    var egender = this.Base64.encode(gender)
596
-    var eidcardno = this.Base64.encode(idcardno)
597
-    var ephone = this.Base64.encode(phone)
598
-    var ehealthcareno = this.Base64.encode(healthcareno)
599
-    var edialysisno = this.Base64.encode(dialysis_no)
593
+    // var eid = this.Base64.encode(id)
594
+    // var ename = this.Base64.encode(name)
595
+    // var egender = this.Base64.encode(gender)
596
+    // var eidcardno = this.Base64.encode(idcardno)
597
+    // var ephone = this.Base64.encode(phone)
598
+    // var ehealthcareno = this.Base64.encode(healthcareno)
599
+    // var edialysisno = this.Base64.encode(dialysis_no)
600
+    var eid = id
601
+    var ename =name
602
+    var egender = gender
603
+    var eidcardno = idcardno
604
+    var ephone = phone
605
+    var ehealthcareno = healthcareno
606
+    var edialysisno = dialysis_no
600 607
     console.log('user_id' + eid, 'name:' + ename, 'gender:' + egender, 'idcard_no:' + eidcardno, 'phone:' + ephone, 'healthcare_no:' + ehealthcareno, 'edialysis_no:' + edialysisno)
601 608
     const salting = 'admin-authority'
602 609
     new QRCode('qrcode', {