see999 před 3 roky
rodič
revize
0f995ccc48

+ 8 - 18
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyNine.vue Zobrazit soubor

@@ -303,29 +303,19 @@
303 303
                             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
304 304
                         </td>
305 305
                         <td>
306
-                            <span v-if="setAdminUserES(advice.advice_doctor) == ''">
307
-                            {{
308
-                            getAdminUser(advice.advice_doctor)
309
-                            }}
306
+                            <span v-if="setAdminUserES(advice[0], 'advice_doctor') == ''">
307
+                                {{getAdminUser(advice[0], 'advice_doctor')}}
310 308
                             </span>
311
-                            <span
312
-                            v-else
313
-                            style="display:flex;align-items:center;justify-content:space-around;height:36px;"
314
-                            >
315
-                            <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
309
+                            <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
310
+                                <img style="height:30px;" :src="setAdminUserES(advice[0], 'advice_doctor')" alt srcset />
316 311
                             </span>
317 312
                         </td>
318 313
                         <td>
319
-                            <span v-if="setAdminUserES(advice.execution_staff) == ''">
320
-                            {{
321
-                            getAdminUser(advice.execution_staff)
322
-                            }}
314
+                            <span v-if="setAdminUserES(advice[0], 'execution_staff') == ''">
315
+                                {{getAdminUser(advice[0], 'execution_staff')}}
323 316
                             </span>
324
-                            <span
325
-                            v-else
326
-                            style="display:flex;align-items:center;justify-content:space-around;height:36px;"
327
-                            >
328
-                            <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
317
+                            <span v-else>
318
+                                <img style="height:30px;" :src="setAdminUserES(advice[0], 'execution_staff')" alt srcset />
329 319
                             </span>
330 320
                         </td>
331 321
                         <td>{{ getTime(advice.execution_time, "{h}:{i}") }}</td>

+ 24 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Zobrazit soubor

@@ -553,6 +553,16 @@
553 553
           >打印</el-button
554 554
         >
555 555
       </template>
556
+      <template v-if="org_template_info.template_id == 40">
557
+        <el-button
558
+          :loading="loading"
559
+          size="small"
560
+          icon="el-icon-printer"
561
+          @click="printThisPage"
562
+          type="primary"
563
+          >打印</el-button
564
+        >
565
+      </template>
556 566
     </div>
557 567
     <div class="app-container" style="min-height:0;">
558 568
       <!--<div class="order-print-btn"-->
@@ -828,6 +838,11 @@
828 838
             v-if="org_template_info.template_id == 39"
829 839
           >
830 840
           </DialysisPrintOrderThirtyNine>
841
+          <DialysisPrintOrderForty
842
+            v-bind:childResponse="childResponse"
843
+            v-if="org_template_info.template_id == 40"
844
+          >
845
+          </DialysisPrintOrderForty>
831 846
         </div>
832 847
       </el-container>
833 848
     </div>
@@ -886,9 +901,11 @@ import DialysisPrintOrderThirtySix from "./template/DialysisPrintOrderThirtySix"
886 901
 import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySeven";
887 902
 import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
888 903
 import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
904
+import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
889 905
 export default {
890 906
   name: "dialysisPrintOrder",
891 907
   components: {
908
+    DialysisPrintOrderForty,
892 909
     DialysisPrintOrderThirtyNine,
893 910
     DialysisPrintOrderThirtyEight,
894 911
     DialysisPrintOrderThirtySeven,
@@ -1366,6 +1383,13 @@ export default {
1366 1383
           style: style3,
1367 1384
           scanStyles: false
1368 1385
         });
1386
+      } else if (this.org_template_info.template_id == 40) {
1387
+        printJS({
1388
+          printable: "dialysis-print-box",
1389
+          type: "html",
1390
+          style: style5,
1391
+          scanStyles: false
1392
+        });
1369 1393
       }
1370 1394
     },
1371 1395
     printThisOnePage() {

Diff nebyl zobrazen, protože je příliš veliký
+ 2523 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue


+ 7 - 0
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Zobrazit soubor

@@ -985,6 +985,13 @@
985 985
                   </div>
986 986
                   kg
987 987
                 </div>
988
+                <div class="inline_block" v-if="orgid == 9566">
989
+                  碳酸氢根:
990
+                  <div class="under_line" style="width: 50px;text-align: left">
991
+                    {{ prescription.bicarbonate ? prescription.bicarbonate : '' }}
992
+                  </div>
993
+                  mmol/L
994
+                </div>
988 995
                 <div class="inline_block" v-if="orgid == 9566">
989 996
                   医生签名:
990 997
                   <div class="under_line" style="width: 70px;text-align: left">