Ver código fonte

病案提交打印排版

‘chenzhilei’ 1 semana atrás
pai
commit
86f8ee6f8f

+ 2 - 2
src/components/inpatient/frontsheet-printpage/HeadPage.vue

@@ -111,7 +111,7 @@
               style="width: 20px;padding-left: 5px; border-bottom: 1px solid black"
           >
             {{patient.infAge}}
-   .       </span>月         <span style="margin-left: 12px; ">(新生儿年龄≤28天)年龄</span>
+          </span>月         <span style="margin-left: 12px; ">(新生儿年龄≤28天)年龄</span>
           <span
               style="width: 20px;padding-left: 5px; border-bottom: 1px solid black"
           >
@@ -554,7 +554,7 @@
           1.有,2.临床未确定,3.情况不明,4.无
           <span
             style="display: inline-block; margin-right: 8px; margin-left: 10px"
-            >出院病情:</span
+            >治疗转归:</span
           >
           1.治愈,2.好转,3.未愈,4.死亡,9.其他
         </div>

+ 47 - 58
src/components/inpatient/frontsheet-printpage/TailPage.vue

@@ -4,7 +4,7 @@
       style="
         width: 770px;
         margin-right: 35px;
-        padding-top: 80px;
+        padding: 80px 20px 0 35px;
       "
     >
       <div style="border: 1px solid black; padding: 5px;">
@@ -33,7 +33,7 @@
             <th>I助</th>
             <th>II助</th>
           </tr>
-          <tr v-for="n in 5" :key="n">
+          <tr v-for="n in surgeryListLength()" :key="n">
             <td style="width: 70px">
               {{ patient.surgeryList[n - 1].code }}
             </td>
@@ -85,10 +85,10 @@
           </tr>
         </table>
         <div style="border-bottom:1px solid black;margin-right: 20px">
-            手术类别:1.择期手术&nbsp;2.急诊手术&nbsp;&nbsp;切口类别:0.0级切口&nbsp;Ⅰ.1级切口&nbsp;Ⅱ.2级切口&nbsp;Ⅲ.3级切口&nbsp;&nbsp;
-            愈合等级:1.甲&nbsp;2.乙&nbsp;3.丙&nbsp;9.其他&nbsp;&nbsp;
+            手术:1.择期手术2.急诊手术&nbsp;切口:0.0级切口&nbsp;Ⅰ.1级切口&nbsp;Ⅱ.2级切口&nbsp;Ⅲ.3级切口&nbsp;
+            愈合:1.甲2.乙3.丙9.其他
           </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           离院方式:
           <span
             style="
@@ -115,7 +115,7 @@
             >{{ patient.dismissDestination }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           是否有出院31天内再住院计划:
           <span
             style="
@@ -142,7 +142,7 @@
             >{{ patient.admissAgainPurpose }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           颅脑损伤患者昏迷时间: 入院前
           <span
             style="
@@ -205,7 +205,7 @@
           >
           分钟
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           住院费用(元): 总费用
           <span
             style="
@@ -228,7 +228,7 @@
           >
           )
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           1.综合医疗服务类: (1)一般医疗服务费:
           <span
             style="
@@ -263,19 +263,17 @@
             >{{ patient.careFee }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           (4)其他费:
           <span
             style="
               margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 70px;
+              width: 50px;
             "
             >{{ patient.elseFee }}</span
           >
-        </div>
-        <div style="margin: 6px 8px 6px 0">
           2.诊断类: (5)病理诊断费:
           <span
             style="
@@ -283,7 +281,7 @@
               margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 70px;
+              width: 50px;
             "
             >{{ patient.pathologicDiagFee }}</span
           >
@@ -294,7 +292,7 @@
               margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 70px;
+              width: 50px;
             "
             >{{ patient.experimentDiagFee }}</span
           >
@@ -305,12 +303,12 @@
               margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 70px;
+              width: 50px;
             "
             >{{ patient.ctDiagFee }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           (8)临床诊断项目费:
           <span
             style="
@@ -321,8 +319,6 @@
             "
             >{{ patient.clinicalDiagFee }}</span
           >
-        </div>
-        <div style="margin: 6px 8px 6px 0">
           3.治疗类: (9)非手术治疗项目费:
           <span
             style="
@@ -347,7 +343,7 @@
           >
           )
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           (10)手术治疗费:
           <span
             style="
@@ -383,7 +379,7 @@
           >
           )
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           4.康复类: (11)康复费:
           <span
             style="
@@ -415,7 +411,7 @@
             >{{ patient.westMedicineFee }}</span
           >
         </div>
-        <!-- <div style="margin: 6px 8px 6px 0">
+        <!-- <div style="margin: 5px 8px 6px 0">
           5.中医类: (12)中医治疗费:
           <span
             style="
@@ -437,10 +433,10 @@
             >{{ patient.westMedicineFee }}</span
           >
         </div> -->
-        <!-- <div style="margin: 6px 8px 6px 0">
+        <!-- <div style="margin: 5px 8px 6px 0">
           
         </div> -->
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           7.中药类: (14)中成药费:
           <span
             style="
@@ -464,7 +460,7 @@
             >{{ patient.chineseHerbalMedicineFee }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           8.血液和血液制品类: (16)血费:
           <span
             style="
@@ -499,7 +495,7 @@
             >{{ patient.globulinProductsFee }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           (19)凝血因子类制品费:
           <span
             style="
@@ -523,7 +519,7 @@
             >{{ patient.cytokineProductsFee }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           9.耗材类: (21)检查用一次性医用材料费:
           <span
             style="
@@ -549,7 +545,7 @@
             {{ patient.costOfDisposableMedicalMaterialsForTreatment }}
           </span>
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           (23)手术用一次性医用材料费:
           <span
             style="
@@ -601,7 +597,7 @@
               </tbody>
             </table>
           </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           危重病例
           <span
             style="
@@ -625,7 +621,7 @@
           >
           0.否&nbsp;1.是&nbsp;&nbsp;&nbsp;
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           MDT病历
           <span
             style="
@@ -671,7 +667,7 @@
           >
           0.否&nbsp;1.是&nbsp;&nbsp;&nbsp;
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           诊断符合情况: 门诊与住院
           <span
             style="
@@ -713,7 +709,7 @@
             >{{ patient.lcybl }}</span
           >
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           放射与病理
           <span
             style="
@@ -725,31 +721,12 @@
             >{{ patient.fsybl }}</span
           >
           (0.未做&nbsp;1.符合&nbsp;2.不符合&nbsp;3.不确定&nbsp;)&nbsp;&nbsp;
+          
         </div>
-        <div style="margin: 6px 8px 6px 0">
-          抢救情况: 抢救
-          <span
-            style="
-              display: inline-block;
-              padding: 0 4px;
-              border-bottom: 1px solid black;
-              width: 90px;
-            "
-            >{{ patient.rescueTimes }}</span
-          >
-          次, 成功
-          <span
-            style="
-              display: inline-block;
-              padding: 0 4px;
-              border-bottom: 1px solid black;
-              width: 90px;
-            "
-            >{{ patient.rescueSuccessTimes }}</span
-          >
-          次
-        </div>
-        <div style="margin: 6px 8px 6px 0">
+        <!-- <div style="margin: 5px 8px 6px 0">
+          
+        </div> -->
+        <div style="margin: 5px 8px 6px 0">
           同城互认:
             1.无
             <input type="checkbox" :checked="patient.tchrw=='1'?true:false"/>
@@ -762,7 +739,7 @@
             <span style="margin-left: 12px">9.其他</span>
             <input type="checkbox" :checked="patient.tchrqt=='1'?true:false"/>
         </div>
-        <div style="margin: 6px 8px 6px 0">
+        <div style="margin: 5px 8px 6px 0">
           临床路径管理:
           <span
             style="
@@ -778,7 +755,7 @@
           </span>
           1.完成&nbsp;2.变异&nbsp;3.退出&nbsp;4.未入&nbsp;&nbsp;&nbsp;
         </div>
-        <div style="width: 700px;box-sizing: border-box;">
+        <div style="width: 700px;font-size:12px;box-sizing: border-box;">
             <span>说明:(一)医疗付费方式&nbsp;&nbsp;1.城镇职工基本医疗保险&nbsp;&nbsp;2.城镇居民基本医疗保险&nbsp;&nbsp;3.新型农村合作医疗&nbsp;&nbsp;4.贫困救助
               &nbsp;&nbsp;5.商业医疗保险&nbsp;&nbsp;6.全公费&nbsp;&nbsp;7.全自费&nbsp;&nbsp;8.其他社会保险&nbsp;&nbsp;9.其他
             </span>
@@ -860,6 +837,18 @@ const initIcuInfoListName = (n) => {
   }
   return props.patient.icuInfoList[n - 1].icuName
 };
+const surgeryListLength = () => {
+  for (let index = 0; index < props.patient.surgeryList.length; index++) {
+    if (props.patient.surgeryList.name == null || props.patient.surgeryList.name == "-") {
+      if (index < 5) {
+        return 5
+      } else {
+        return index+1
+      }
+    }
+    
+  }
+};
 const filterNameInDic = (val, dic) => {
   if (!val) {
     return "";