See999 4 years ago
parent
commit
eccce62b3a

+ 19 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue View File

51
             <td width="10"></td>
51
             <td width="10"></td>
52
             <td width="110">上次透析时间:</td>
52
             <td width="110">上次透析时间:</td>
53
             <td width="120">
53
             <td width="120">
54
-              <div class="under-line">{{lastpredialysis?getTime(lastpredialysis.assessment_date, "{y}-{m}-{d}"):''}}</div>
54
+              <div class="under-line">&nbsp;{{lastpredialysis?getTime(lastpredialysis.assessment_date, "{y}-{m}-{d}"):''}}</div>
55
             </td>
55
             </td>
56
             <td width="10"></td>
56
             <td width="10"></td>
57
             <td width="110">本次透析时间:</td>
57
             <td width="110">本次透析时间:</td>
58
             <td width="120">
58
             <td width="120">
59
-              <div class="under-line">{{ queryParams.xtdate }}</div>
59
+              <div class="under-line">&nbsp;{{ queryParams.xtdate }}</div>
60
             </td>
60
             </td>
61
             <td width="10"></td>
61
             <td width="10"></td>
62
             <td width="80">透析次数:</td>
62
             <td width="80">透析次数:</td>
63
             <td width="120">
63
             <td width="120">
64
-              <div class="under-line">{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</div>
64
+              <div class="under-line">&nbsp;{{ patientInfo.total_dialysis + patientInfo.user_sys_before_count }}</div>
65
             </td>
65
             </td>
66
             <td></td>
66
             <td></td>
67
           </tr>
67
           </tr>
248
                     <td width="65">穿刺方法:</td>
248
                     <td width="65">穿刺方法:</td>
249
                     <td width="180">
249
                     <td width="180">
250
                       <div>
250
                       <div>
251
-                        <label-box :isChecked="predialysis.puncture_way == 1 ? true : false" showValue="绳梯"></label-box>
251
+                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('绳梯') > -1 ? true : false" showValue="绳梯"></label-box>
252
                         &nbsp;
252
                         &nbsp;
253
-                        <label-box :isChecked="predialysis.puncture_way == 4 ? true : false" showValue="定点"></label-box>
253
+                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('定点') > -1 ? true : false" showValue="定点"></label-box>
254
                         &nbsp;
254
                         &nbsp;
255
-                        <label-box :isChecked="predialysis.puncture_way == 3 ? true : false" showValue="区域"></label-box>
255
+                        <label-box :isChecked="predialysis.puncture_way && getPunctureWay(predialysis.puncture_way).indexOf('区域') > -1 ? true : false" showValue="区域"></label-box>
256
                         &nbsp;
256
                         &nbsp;
257
                       </div>
257
                       </div>
258
                     </td>
258
                     </td>
477
                     <td width="80">透析器:</td>
477
                     <td width="80">透析器:</td>
478
                     <td width="80">
478
                     <td width="80">
479
                       <div class="under-line">
479
                       <div class="under-line">
480
-                        &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus.split('+')[0] : "" }}
480
+                        &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus.indexOf('+') > -1 ? prescription.dialyzer_perfusion_apparatus.split('+')[0] : prescription.dialyzer_perfusion_apparatus : '/' }}
481
                       </div>
481
                       </div>
482
                     </td>
482
                     </td>
483
                     <td width="20"></td>
483
                     <td width="20"></td>
484
                     <td width="80">灌流器型号:</td>
484
                     <td width="80">灌流器型号:</td>
485
                     <td width="80">
485
                     <td width="80">
486
                       <div class="under-line">
486
                       <div class="under-line">
487
-                        &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus.split('+')[1] : "" }}
487
+                        &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus.indexOf('+') > -1 ? prescription.dialyzer_perfusion_apparatus.split('+')[1] : "/" : '/' }}
488
                       </div>
488
                       </div>
489
                     </td>
489
                     </td>
490
                     <td></td>
490
                     <td></td>
1112
     }
1112
     }
1113
   },
1113
   },
1114
   methods: {
1114
   methods: {
1115
+    getPunctureWay: function(val) {
1116
+      let puncture_method_name = '/'
1117
+      const puncture_method = getDataConfig("hemodialysis", "puncture_method")
1118
+
1119
+      for (let i = 0; i < puncture_method.length; i++) {
1120
+        if (puncture_method[i].id == val) {
1121
+          puncture_method_name = puncture_method[i].name
1122
+        }
1123
+      }
1124
+      return puncture_method_name
1125
+    },
1115
     getHumorExcessiveSymptom(val) {
1126
     getHumorExcessiveSymptom(val) {
1116
       const humor_excessive_symptom = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1127
       const humor_excessive_symptom = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1117
       var humor_excessive_symptom_name = ''
1128
       var humor_excessive_symptom_name = ''

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

980
                   </div>
980
                   </div>
981
                   kg
981
                   kg
982
                 </div>
982
                 </div>
983
+                <div class="inline_block" v-if="orgid == 9566">
984
+                  医生签名:
985
+                  <div class="under_line" style="width: 70px;text-align: left">
986
+                      <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:prescription.creater)) }} </span>
987
+                      <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
988
+                  </div>
989
+                </div>
983
               </div>
990
               </div>
984
             </td>
991
             </td>
985
           </tr>
992
           </tr>
1304
         zongliang_unit: "mg",
1311
         zongliang_unit: "mg",
1305
         gaimingcheng_unit: "",
1312
         gaimingcheng_unit: "",
1306
         gaijiliang_unit: ""
1313
         gaijiliang_unit: ""
1307
-      }
1314
+      },
1315
+      orgid:''
1308
     };
1316
     };
1309
   },
1317
   },
1310
   methods: {
1318
   methods: {
1918
     }
1926
     }
1919
   },
1927
   },
1920
   created() {
1928
   created() {
1929
+    this.orgid = this.$store.getters.xt_user.org.id;
1921
     var xtuser = this.$store.getters.xt_user;
1930
     var xtuser = this.$store.getters.xt_user;
1922
     this.orgname = xtuser.org.org_name;
1931
     this.orgname = xtuser.org.org_name;
1923
     // this.orgname = "遂溪方济医院";
1932
     // this.orgname = "遂溪方济医院";