See999 4 years ago
parent
commit
eccce62b3a

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

@@ -51,17 +51,17 @@
51 51
             <td width="10"></td>
52 52
             <td width="110">上次透析时间:</td>
53 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 55
             </td>
56 56
             <td width="10"></td>
57 57
             <td width="110">本次透析时间:</td>
58 58
             <td width="120">
59
-              <div class="under-line">{{ queryParams.xtdate }}</div>
59
+              <div class="under-line">&nbsp;{{ queryParams.xtdate }}</div>
60 60
             </td>
61 61
             <td width="10"></td>
62 62
             <td width="80">透析次数:</td>
63 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 65
             </td>
66 66
             <td></td>
67 67
           </tr>
@@ -248,11 +248,11 @@
248 248
                     <td width="65">穿刺方法:</td>
249 249
                     <td width="180">
250 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 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 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 256
                         &nbsp;
257 257
                       </div>
258 258
                     </td>
@@ -477,14 +477,14 @@
477 477
                     <td width="80">透析器:</td>
478 478
                     <td width="80">
479 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 481
                       </div>
482 482
                     </td>
483 483
                     <td width="20"></td>
484 484
                     <td width="80">灌流器型号:</td>
485 485
                     <td width="80">
486 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 488
                       </div>
489 489
                     </td>
490 490
                     <td></td>
@@ -1112,6 +1112,17 @@ export default {
1112 1112
     }
1113 1113
   },
1114 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 1126
     getHumorExcessiveSymptom(val) {
1116 1127
       const humor_excessive_symptom = getDataConfig('hemodialysis', 'humor_excessive_symptom')
1117 1128
       var humor_excessive_symptom_name = ''

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

@@ -980,6 +980,13 @@
980 980
                   </div>
981 981
                   kg
982 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 990
               </div>
984 991
             </td>
985 992
           </tr>
@@ -1304,7 +1311,8 @@ export default {
1304 1311
         zongliang_unit: "mg",
1305 1312
         gaimingcheng_unit: "",
1306 1313
         gaijiliang_unit: ""
1307
-      }
1314
+      },
1315
+      orgid:''
1308 1316
     };
1309 1317
   },
1310 1318
   methods: {
@@ -1918,6 +1926,7 @@ export default {
1918 1926
     }
1919 1927
   },
1920 1928
   created() {
1929
+    this.orgid = this.$store.getters.xt_user.org.id;
1921 1930
     var xtuser = this.$store.getters.xt_user;
1922 1931
     this.orgname = xtuser.org.org_name;
1923 1932
     // this.orgname = "遂溪方济医院";