Browse Source

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

28169 1 month ago
parent
commit
921f0810f4
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/xt_pages/user/physiqueprinting.vue

+ 3 - 2
src/xt_pages/user/physiqueprinting.vue View File

@@ -9,8 +9,9 @@
9 9
       <div id="print_content" v-for="item in list" style="font-family: Microsoft YaHei;font-size: 16px;">
10 10
         <!-- &&item.comtent.indexOf('首次透析时间')==-1 -->
11 11
         <div class="print_page_main_content">
12
-          <div v-if="item.content.indexOf('首次透析时间')==undefined &&item.content.indexOf('医保类型') ==undefined&&
13
-            item.content.indexOf('现病史') ==undefined&&(item.comtent).indexOf('既往史')==undefined">
12
+          <div v-if="item.content.indexOf('首次透析时间') !=-1 && item.content.indexOf('医保类型') !=-1&&
13
+            item.content.indexOf('现病史') !=-1&&(item.comtent).indexOf('既往史') !=-1"></div>
14
+          <div v-else>
14 15
             <h1 style="text-align: center; padding-top:12px;">{{ orgname }}血液净化治疗病历</h1>
15 16
             <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
16 17
               <div style="flex:1;text-align: center;">