Browse Source

打印单

huangyw 2 years ago
parent
commit
9c48860339

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

1772
       return name;
1772
       return name;
1773
     },
1773
     },
1774
     setAdminUserES(id) {
1774
     setAdminUserES(id) {
1775
-      console.log(this.operatorMaps, "this.operatorMaps");
1775
+      // console.log(this.operatorMaps, "this.operatorMaps");
1776
       if (id === 0) {
1776
       if (id === 0) {
1777
         return "";
1777
         return "";
1778
       }
1778
       }

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

1261
                         </td>
1261
                         </td>
1262
                         <!-- 超滤量 -->
1262
                         <!-- 超滤量 -->
1263
                         <td>
1263
                         <td>
1264
-                          {{
1265
-                            monitor.ultrafiltration_volume
1266
-                              ? monitor.ultrafiltration_volume
1267
-                              : ""
1268
-                          }}
1264
+                          <span v-if="monindex == 0"> 0 </span>
1265
+                          <span v-else>
1266
+                            {{
1267
+                              monitor.ultrafiltration_volume
1268
+                                ? monitor.ultrafiltration_volume
1269
+                                : ""
1270
+                            }}
1271
+                          </span>
1269
                         </td>
1272
                         </td>
1273
+                        <!-- 置换量 -->
1270
                         <td
1274
                         <td
1271
                           v-if="
1275
                           v-if="
1272
                             prescription.mode_id == 2 ||
1276
                             prescription.mode_id == 2 ||
1283
                                 : ""
1287
                                 : ""
1284
                             }}
1288
                             }}
1285
                           </span>
1289
                           </span>
1290
+                          
1286
                         </td>
1291
                         </td>
1287
                         <!-- <td
1292
                         <!-- <td
1288
                           v-if="
1293
                           v-if="

File diff suppressed because it is too large
+ 583 - 441
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue


+ 11 - 3
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

136
             >
136
             >
137
               {{ item.doctor }}
137
               {{ item.doctor }}
138
             </span>
138
             </span>
139
+            <span
140
+              style="width: 100px; display: inline-block"
141
+              v-else-if="doc_name != ''"
142
+            >
143
+              {{ doc_name }}
144
+            </span>
139
             <img
145
             <img
140
               style="height: 30px"
146
               style="height: 30px"
141
-              :src="setAdminUserES(item.creator)"
147
+              :src="setAdminUserES(item.creator,item.doctor)"
142
               alt=""
148
               alt=""
143
               srcset=""
149
               srcset=""
144
               v-else
150
               v-else
207
   },
213
   },
208
   data() {
214
   data() {
209
     return {
215
     return {
216
+      doc_name:"",
210
       doctorList: [],
217
       doctorList: [],
211
       advicePrint: {},
218
       advicePrint: {},
212
       patient: {},
219
       patient: {},
221
       org_id: 0,
228
       org_id: 0,
222
       operatorMaps: {},
229
       operatorMaps: {},
223
       operators: [],
230
       operators: [],
224
-      doctorList_1: []
231
+      doctorList_1: [],
225
     };
232
     };
226
   },
233
   },
227
   methods: {
234
   methods: {
228
     // 电子签名
235
     // 电子签名
229
-    setAdminUserES(id) {
236
+    setAdminUserES(id,name) {
230
       if (id == 0) {
237
       if (id == 0) {
231
         return "";
238
         return "";
232
       }
239
       }
233
       if (id in this.operatorMaps) {
240
       if (id in this.operatorMaps) {
234
         return this.operatorMaps[id].url;
241
         return this.operatorMaps[id].url;
235
       } else {
242
       } else {
243
+        this.doc_name = name
236
         return "";
244
         return "";
237
       }
245
       }
238
     },
246
     },