瀏覽代碼

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 年之前
父節點
當前提交
04f65b4e20

+ 8 - 18
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyNine.vue 查看文件

303
                             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
303
                             <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{ advice.remark }})</span>
304
                         </td>
304
                         </td>
305
                         <td>
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
                             </span>
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
                             </span>
311
                             </span>
317
                         </td>
312
                         </td>
318
                         <td>
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
                             </span>
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
                             </span>
319
                             </span>
330
                         </td>
320
                         </td>
331
                         <td>{{ getTime(advice.execution_time, "{h}:{i}") }}</td>
321
                         <td>{{ getTime(advice.execution_time, "{h}:{i}") }}</td>

+ 24 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

553
           >打印</el-button
553
           >打印</el-button
554
         >
554
         >
555
       </template>
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
     </div>
566
     </div>
557
     <div class="app-container" style="min-height:0;">
567
     <div class="app-container" style="min-height:0;">
558
       <!--<div class="order-print-btn"-->
568
       <!--<div class="order-print-btn"-->
828
             v-if="org_template_info.template_id == 39"
838
             v-if="org_template_info.template_id == 39"
829
           >
839
           >
830
           </DialysisPrintOrderThirtyNine>
840
           </DialysisPrintOrderThirtyNine>
841
+          <DialysisPrintOrderForty
842
+            v-bind:childResponse="childResponse"
843
+            v-if="org_template_info.template_id == 40"
844
+          >
845
+          </DialysisPrintOrderForty>
831
         </div>
846
         </div>
832
       </el-container>
847
       </el-container>
833
     </div>
848
     </div>
886
 import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySeven";
901
 import DialysisPrintOrderThirtySeven from "./template/DialysisPrintOrderThirtySeven";
887
 import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
902
 import DialysisPrintOrderThirtyEight from "./template/DialysisPrintOrderThirtyEight";
888
 import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
903
 import DialysisPrintOrderThirtyNine from "./template/DialysisPrintOrderThirtyNine";
904
+import DialysisPrintOrderForty from "./template/DialysisPrintOrderForty";
889
 export default {
905
 export default {
890
   name: "dialysisPrintOrder",
906
   name: "dialysisPrintOrder",
891
   components: {
907
   components: {
908
+    DialysisPrintOrderForty,
892
     DialysisPrintOrderThirtyNine,
909
     DialysisPrintOrderThirtyNine,
893
     DialysisPrintOrderThirtyEight,
910
     DialysisPrintOrderThirtyEight,
894
     DialysisPrintOrderThirtySeven,
911
     DialysisPrintOrderThirtySeven,
1366
           style: style3,
1383
           style: style3,
1367
           scanStyles: false
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
     printThisOnePage() {
1395
     printThisOnePage() {

文件差異過大導致無法顯示
+ 2523 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderForty.vue


+ 7 - 0
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue 查看文件

985
                   </div>
985
                   </div>
986
                   kg
986
                   kg
987
                 </div>
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
                 <div class="inline_block" v-if="orgid == 9566">
995
                 <div class="inline_block" v-if="orgid == 9566">
989
                   医生签名:
996
                   医生签名:
990
                   <div class="under_line" style="width: 70px;text-align: left">
997
                   <div class="under_line" style="width: 70px;text-align: left">