Selaa lähdekoodia

病案首页添加新的填写内容

lighter 8 kuukautta sitten
vanhempi
commit
bd87227847

+ 719 - 128
src/components/inpatient/frontsheet-printpage/FullPage.vue

@@ -19,7 +19,7 @@
         <span style="display: inline-block; margin-right: 8px; width: 130px">病案号: {{ patient.bah }}</span>
       </div>
       <div style="border: 1px solid black; padding: 5px">
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           姓名:
           <span style="display: inline-block; padding: 0 4px; margin-right: 8px; width: 200px; border-bottom: 1px solid black">{{ patient.name }}</span>
           性别:
@@ -31,7 +31,7 @@
           国籍:
           <span style="display: inline-block; padding: 0 4px; margin-right: 8px; border-bottom: 1px solid black">{{ filterNameInDic(patient.country, 'getCountry') }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (年龄不足 1 周岁的)年龄:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.ageDays }}</span>
           天<span style="margin-left: 8px">新生儿出生体重:</span>
@@ -40,7 +40,7 @@
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.newBornAdmissWeight }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           出生地:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 230px">{{ patient.birthPlaceName }}</span>
           籍贯:
@@ -48,7 +48,7 @@
           民族:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.nation, 'getNation') }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           身份证号:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 160px">{{ patient.socialNo }}</span>
           职业:
@@ -56,7 +56,7 @@
           婚姻:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.marriage, 'getMarriageCode') }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           现住址:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.livePlaceCombo }}</span>
           电话:
@@ -64,15 +64,15 @@
           邮编:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.addrZipCode }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           户口地址:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.hkPlaceName }}</span>
           邮编:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.hkZipCode }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           工作单位及地址:
-          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 0; width: 330px">
+          <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; margin-right: 0; width: 330px">
             {{ patient.unitName }}/{{ patient.unitPlace }}
           </span>
           单位电话:
@@ -80,7 +80,7 @@
           邮编:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.unitZipCode }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           联系人姓名:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 200px">{{ patient.contactName }}</span>
           联系人关系:
@@ -88,13 +88,13 @@
               filterNameInDic(patient.contactRelation, 'getRelations')
             }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           联系人地址:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.contactAddrName }}</span>
           联系人电话:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 90px">{{ patient.contactPhone }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           入院途径:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.zyAdmissWay, 'getAdmissWay') }}</span>
           是否手术:
@@ -110,7 +110,7 @@
           转科科别:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 118px">{{ patient.transDept }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           出院时间:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 122px">{{ patient.dismissDate }}</span>
           出院科别:
@@ -120,7 +120,8 @@
           住院天数:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 118px">{{ patient.admissDays }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+
+        <div style="margin: 8px 8px 8px 0">
           门(急)诊诊断:
           <span
               style="
@@ -137,8 +138,88 @@
             {{ patient.clinicDiagStr }}
           </span>
           疾病编码:
-          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.clinicDiagCode }}</span>
+          <span
+              style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 110px"
+          >
+            {{ patient.clinicDiagCode }}
+          </span>
         </div>
+        <div style="display: flex;align-items: center">
+          入院诊断名称:
+          <span
+              style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 350px;
+              text-overflow: ellipsis;
+              white-space: nowrap;
+              overflow: hidden;
+            "
+          >
+            {{patient.supplement.admDiagName}}
+          </span>
+          入院诊断编码:
+          <span style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 110px"
+          >
+            {{patient.supplement.admDiagCode}}
+          </span>
+        </div>
+        <div style="display: flex;align-items: center;margin: 8px 8px 8px 0">
+          入院时情况:
+          <span style="
+              display: inline-block;
+              margin-right: 38px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 60px"
+          >
+            {{filterAdmStatus(patient.supplement.admStatus)}}
+          </span>
+          入院后确诊日期:
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.diagnosisConfirmYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.diagnosisConfirmMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.diagnosisConfirmDay}}
+          </span>
+          日
+        </div>
+
         <div style="height: max-content; width: 720px">
           <span style="display: inline-block; width: 360px">
             <table style="width: 360px; border: 1px solid black; border-collapse: collapse">
@@ -207,13 +288,13 @@
           <span style="display: inline-block; margin-right: 8px; margin-left: 10px">出院病情:</span>
           1.治愈,2.好转,3.未愈,4.死亡,9.其他
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           损伤、中毒的外部原因:
-          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.hurtReasonName }}</span>
+          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 380px">{{ patient.hurtReasonName }}</span>
           疾病编码:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.hurtReasonCode }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           病理诊断:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.pathologicDiagStr }}</span>
           病理编码:
@@ -221,7 +302,7 @@
           病理号:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.blh }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           药物过敏:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.allergy, 'getHaveOrNot') }}</span>
           ,过敏药物:
@@ -229,7 +310,7 @@
           死亡患者尸检:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.autopsy, 'getAutopsies') }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           输血前四项: HbsAg
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.hbsAg, 'getHbsag') }}</span>
           HCV-Ab
@@ -245,13 +326,13 @@
               filterNameInDic(patient.tpAb, 'getHbsag')
             }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           血型:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.bloodType, 'getBloodType') }}</span>
           Rh:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.rh, 'getHbsag') }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           科室主任:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.deptLeaderName }}</span>
           主任(副主任)医师:
@@ -261,7 +342,7 @@
           住院医师:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.admissDoctorName }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           责任护士:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.dutyNurseName }}</span>
           进修医师:
@@ -271,7 +352,7 @@
           编码员:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.coderName }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           病案质量:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">
             {{ filterNameInDic(patient.qualityControlLevel, 'getQualityLevel') }}
@@ -336,19 +417,19 @@
             </td>
           </tr>
         </table>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           离院方式:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.zyDismissWay, 'getZyDismissWay') }}</span>
           ,拟接收医疗机构名称:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 210px">{{ patient.dismissDestination }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           是否有出院31天内再住院计划:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.admissAgainInOneMonth, 'getHaveOrNot') }}</span>
           ,目的:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.admissAgainPurpose }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           颅脑损伤患者昏迷时间: 入院前
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 30px">{{ patient.comaDaysBeforeAdmiss }}</span>
@@ -363,14 +444,14 @@
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 30px">{{ patient.comaMinutesAfterAdmiss }}</span>
           分钟
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           住院费用(元): 总费用
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.totalCost }}</span>
           (自付金额:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.selfPay }}</span>
           )
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           1.综合医疗服务类: (1)一般医疗服务费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.generalMedicalServiceFee }}</span>
           (2)一般治疗操作费:
@@ -378,11 +459,11 @@
           (3)护理费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.careFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (4)其他费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.elseFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           2.诊断类: (5)病理诊断费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.pathologicDiagFee }}</span>
           (6)实验室诊断费:
@@ -390,18 +471,18 @@
           (7)影像学诊断费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.ctDiagFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (8)临床诊断项目费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.clinicalDiagFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           3.治疗类: (9)非手术治疗项目费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.notSurgicalFee }}</span>
           (临床物理治疗费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.clinicalPhysicalFee }}</span>
           )
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (10)手术治疗费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.surgicalFee }}</span>
           (麻醉费:
@@ -410,25 +491,25 @@
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.surgeryFee }}</span>
           )
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           4.康复类: (11)康复费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.recoverFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           5.中医类: (12)中医治疗费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.tcmTreatmentFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           6.西药类: (13)西药费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.westMedicineFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           7.中药类: (14)中成药费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.chinesePatentMedicineFee }}</span>
           (15)中草药费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.chineseHerbalMedicineFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           8.血液和血液制品类: (16)血费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.bloodFee }}</span>
           (17)白蛋白类制品费:
@@ -436,13 +517,13 @@
           (18)球蛋白类制品费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.globulinProductsFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (19)凝血因子类制品费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.coagulationFactorProductsFee }}</span>
           (20)细胞因子类制品费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.cytokineProductsFee }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           9.耗材类: (21)检查用一次性医用材料费:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">
             {{ patient.costOfDisposableMedicalMaterialsForExamination }}
@@ -452,21 +533,21 @@
             {{ patient.costOfDisposableMedicalMaterialsForTreatment }}
           </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (23)手术用一次性医用材料费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.costOfDisposableMedicalMaterialsForOperation }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           10.其他类: (24)其他费:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.otherFees }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           主要诊断治愈好转情况:
           <span style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; padding: 0 5px">
             {{ dismissStatusText(patient.disdiagList[0].dismissStatus) }}
           </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           诊断符合情况: 门诊与出院
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">{{
               filterNameInDic(patient.diagConform1, 'getDiagConform')
@@ -476,7 +557,7 @@
               filterNameInDic(patient.diagConform2, 'getDiagConform')
             }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           术前与术后
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">{{
               filterNameInDic(patient.diagConform3, 'getDiagConform')
@@ -490,27 +571,14 @@
               filterNameInDic(patient.diagConform5, 'getDiagConform')
             }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 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: 10px 8px 10px 0">
-          病例分型:
-          <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">
-            {{ filterNameInDic(patient.caseClassification, 'getCaseClassification') }}
-          </span>
-          实施重症监护:
-          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.hasIcu, 'getHaveOrNot') }}</span>
-          ,监护总时间:
-          <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 30px">{{ patient.icuDays }}</span>
-          天
-          <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 30px">{{ patient.icuHours }}</span>
-          小时
-        </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           单病种管理:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">{{
               filterNameInDic(patient.monopathyManagement, 'getYesOrNo')
@@ -524,7 +592,7 @@
               filterNameInDic(patient.drgsManagement, 'getDrgsManagement')
             }}</span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           抗生素使用:
           <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">{{ filterNameInDic(patient.useAntibiotic, 'getYesOrNo') }}</span>
           细菌培养标本送检:
@@ -534,93 +602,616 @@
             {{ filterNameInDic(patient.statutoryEpidemic, 'getStatutoryEpidemic') }}
           </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+
+        <div style="margin: 8px 8px 8px 0">
+          病例分型:
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 12px;
+            "
+          >
+            {{
+              filterNameInDic(
+                  patient.caseClassification,
+                  "getCaseClassification"
+              )
+            }}
+          </span>
+          有创呼吸机使用时间:
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+              margin-right: 12px;
+            "
+          >
+            {{patient.supplement.ventilatorUseTime}}
+          </span>
+          小时
+          <span style="display:inline-block; margin-left: 30px">
+              新生儿 5分钟 Apgar评分:
+              <span
+                  style="
+                  display: inline-block;
+                  padding: 0 4px;
+                  border-bottom: 1px solid black;
+                  width: 40px;
+                "
+              >
+                {{ patient.xxeApgar }}
+              </span>
+            分
+            </span>
+        </div>
+
+        <div>
+          住院过程中有无进入重症监护室:
+          <span
+              style="
+                  display: inline-block;
+                  padding: 0 4px;
+                  border-bottom: 1px solid black;
+                  width: 40px;
+              ">
+            {{filterNewHaveOrNot(patient.supplement.hadIcu)}}
+          </span>
+
+          重症监护室名称:
+          <span
+              style="
+                  display: inline-block;
+                  padding: 0 4px;
+                  border-bottom: 1px solid black;
+                  width: 300px;
+              "
+          >
+            {{filterIcuName(patient.supplement.icuName)}}
+          </span>
+        </div>
+
+        <div style="margin: 8px 8px 8px 0">
+          进入时间:
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.startIcuYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuMinute}}
+          </span>
+          分
+
+          <span
+              style="
+            display: inline-block;
+            margin-left: 12px;
+           "
+          >
+            转出时间:
+          </span>
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.endIcuYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuMinute}}
+          </span>
+          分
+        </div>
+        <div style="margin: 8px 8px 8px 0">
+          住院过程中是否使用ECMO:
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+              margin-right: 12px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.hadEcmo)}}
+          </span>
+          模式:
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 100px;
+              margin-right: 12px;
+            "
+          >
+            {{patient.supplement.ecmoMode}}
+          </span>
+          膜肺更换次数:
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+          >
+            {{patient.supplement.memlungChangeTimes}}
+          </span>
+          次
+        </div>
+        <div>
+          上机时间:
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.startEcmoYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoMinute}}
+          </span>
+          分
+          <span
+              style="
+            display: inline-block;
+            margin-left: 12px;
+           "
+          >
+            撤机时间:
+          </span>
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.endEcmoYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoMinute}}
+          </span>
+          分
+        </div>
+        <div style="margin: 8px 8px 8px 0">
+          输血品种:红细胞
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+          >
+            {{patient.supplement.erythrocyte}}
+          </span>
+          单位
+          <span style="display: inline-block; margin-left:10px">
+            血小板
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+            >
+              {{patient.supplement.platelet}}
+            </span>
+            单位
+          </span>
+          <span style="display: inline-block; margin-left:10px">
+            血浆
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+            >
+              {{patient.supplement.plasma}}
+            </span>
+            单位
+          </span>
+          <span style="display: inline-block; margin-left:10px">
+            全血
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+            >
+              {{patient.supplement.wholeBlood}}
+            </span>
+            单位
+          </span>
+          <span style="display: inline-block; margin-left:10px">
+            自体血回输
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            ">
+              {{patient.supplement.autotransfusion}}
+            </span>
+            单位
+          </span>
+        </div>
+
+        <div style="margin: 8px 8px 8px 0">
           肿瘤分期: T
-          <span style="display: inline-block; width: 30px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">
-            {{ filterNameInDic(patient.tumorLevelT, 'getTumorLevelT') }}
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 12px;
+            "
+          >
+            {{ filterNameInDic(patient.tumorLevelT, "getTumorLevelT") }}
           </span>
           N
-          <span style="display: inline-block; width: 30px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">
-            {{ filterNameInDic(patient.tumorLevelN, 'getTumorLevelN') }}
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 12px;
+            "
+          >
+            {{ filterNameInDic(patient.tumorLevelN, "getTumorLevelN") }}
           </span>
           M
-          <span style="display: inline-block; width: 30px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 12px">
-            {{ filterNameInDic(patient.tumorLevelM, 'getTumorLevelM') }}
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 12px;
+            "
+          >
+            {{ filterNameInDic(patient.tumorLevelM, "getTumorLevelM") }}
           </span>
           分期
-          <span style="display: inline-block; width: 30px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 18px">
-            {{ filterNameInDic(patient.tumorLevel, 'getTumorLevel') }}
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{ filterNameInDic(patient.tumorLevel, "getTumorLevel") }}
+          </span>
+        </div>
+
+        <div style="margin: 8px 8px 8px 0">
+          输液输血情况:
+          1.输液情况:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.infusion)}}
+          </span>
+          2.输液反应:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.infusionReaction)}}
+          </span>
+          3.输血情况:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.transfusion)}}
+          </span>
+          4.输血反应:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.transfusionReaction)}}
           </span>
-          新生儿Apgar评分:
-          <span style="display: inline-block; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.xxeApgar }}</span>
-          分
         </div>
       </div>
     </div>
   </div>
 </template>
 
-<script>
-export default {
-  props: {
-    patient: {
-      type: Object,
-      required: true,
-    },
-    dics: {
-      type: Object,
-      required: true,
-    },
+<script setup>
+const props = defineProps({
+  patient: {
+    type: Object,
+    required: true,
+  },
+  dics: {
+    type: Object,
+    required: true,
   },
-  setup(props) {
-    const defaultSurgerySize = computed(() => {
-      const surgerySize = props.patient.surgeryList.length
-      return surgerySize > 5 ? surgerySize : 5;
-    })
+})
 
-    const filterNameInDic = (val, dic) => {
-      if (!val) {
-        return ''
-      }
-      const dicValue = props.dics[dic]
-      for (let i = 0; i < dicValue.length; i++) {
-        const dicItem = dicValue[i]
-        if (dicItem.code == val) {
-          return dicItem.name
-        }
-      }
-      return '-'
-    }
+const defaultSurgerySize = computed(() => {
+  const surgerySize = props.patient.surgeryList.length
+  return surgerySize > 5 ? surgerySize : 5;
+})
 
-    const dismissStatusText = (val) => {
-      switch (val) {
-        case 1:
-        case '1':
-          return '治愈'
-        case 2:
-        case '2':
-          return '好转'
-        case 3:
-        case '3':
-          return '未愈'
-        case 4:
-        case '4':
-          return '死亡'
-        case 9:
-        case '9':
-          return '其他'
-        default:
-          return ''
-      }
+const filterNameInDic = (val, dic) => {
+  if (!val) {
+    return ''
+  }
+  const dicValue = props.dics[dic]
+  for (let i = 0; i < dicValue.length; i++) {
+    const dicItem = dicValue[i]
+    if (dicItem.code == val) {
+      return dicItem.name
     }
+  }
+  return '-'
+}
 
+function filterAdmStatus(val) {
+  if (!val) {
+    return ''
+  }
+  switch (val) {
+    case 1:
+      return '危'
+    case 2:
+      return '急'
+    case 3:
+      return '一般'
+  }
+  return ''
+}
 
-    return {
-      defaultSurgerySize,
-      filterNameInDic,
-      dismissStatusText,
-    }
-  },
+const dismissStatusText = (val) => {
+  switch (val) {
+    case 1:
+    case '1':
+      return '治愈'
+    case 2:
+    case '2':
+      return '好转'
+    case 3:
+    case '3':
+      return '未愈'
+    case 4:
+    case '4':
+      return '死亡'
+    case 9:
+    case '9':
+      return '其他'
+    default:
+      return ''
+  }
+}
+
+function filterNewHaveOrNot(val) {
+  if (!val) {
+    return ''
+  }
+  if (val === 1) {
+    return '有'
+  } else if (val === 2) {
+    return '无'
+  } else {
+    return ''
+  }
+}
+
+function filterIcuName(val) {
+  if (!val) {
+    return ''
+  }
+  switch (val) {
+    case '01':
+      return 'CCU-心脏监护室'
+    case '02':
+      return 'RICU-呼吸监护室'
+    case '03':
+      return 'SICU-外科监护室'
+    case '04':
+      return 'NICU-新生儿监护室'
+    case '05':
+      return 'PICU-儿科监护室'
+    case '06':
+      return 'EICU-急诊重症监护室'
+    case '07':
+      return 'MICU-内科重症监护室'
+    case '99':
+      return '其他'
+  }
+  return ''
 }
 </script>
 

+ 122 - 33
src/components/inpatient/frontsheet-printpage/HeadPage.vue

@@ -3,8 +3,8 @@
     <div style="width: 770px; margin-left: 35px; border-left: 1px dashed gray; padding-left: 35px">
       <div style="-webkit-transform: translateX(-52px); transform: translateX(-52px); position: absolute; color: black; font-size: 14px">装<br />订<br />线</div>
       <div>
-        <div style="width: 100%; font-size: 17px; text-align: center">住 院 病 案 首 页</div>
-        <div style="margin-right: 8px; width: 100%; height: 32px; line-height: 32px; font-size: 15px; text-align: center">
+        <div style="width: 770px; font-size: 17px; text-align: center">住 院 病 案 首 页</div>
+        <div style="margin-right: 8px; width: 100%; height: 28px; line-height: 28px; font-size: 15px; text-align: center">
           医疗机构:
           <span style="font-weight: 700">长沙泰和医院</span>
           (组织机构代码:
@@ -22,7 +22,7 @@
         </div>
       </div>
       <div style="border: 1px solid black; padding: 5px">
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 4px 8px 10px 0">
           姓名:
           <span style="display: inline-block; padding: 0 4px; margin-right: 8px; width: 200px; border-bottom: 1px solid black">{{ patient.name }}</span>
           性别:
@@ -140,7 +140,88 @@
             {{ patient.clinicDiagStr }}
           </span>
           疾病编码:
-          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.clinicDiagCode }}</span>
+          <span style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 110px"
+          >
+            {{ patient.clinicDiagCode }}
+          </span>
+        </div>
+        <div>
+          入院诊断名称:
+          <span
+            style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 350px;
+              text-overflow: ellipsis;
+              white-space: nowrap;
+              overflow: hidden;
+            "
+          >
+            {{patient.supplement.admDiagName}}
+          </span>
+          入院诊断编码:
+          <span style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 110px"
+          >
+            {{patient.supplement.admDiagCode}}
+          </span>
+        </div>
+        <div style="margin: 10px 8px 10px 0">
+          入院时情况:
+          <span style="
+              display: inline-block;
+              margin-right: 38px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 60px"
+          >
+            {{filterAdmStatus(patient.supplement.admStatus)}}
+          </span>
+          入院后确诊日期:
+          <span
+              style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.diagnosisConfirmYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.diagnosisConfirmMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              margin-right: 8px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.diagnosisConfirmDay}}
+          </span>
+          日
         </div>
         <div style="height: max-content; width: 720px">
           <span style="display: inline-block; width: 360px">
@@ -212,7 +293,7 @@
         </div>
         <div style="margin: 10px 8px 10px 0">
           损伤、中毒的外部原因:
-          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.hurtReasonName }}</span>
+          <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 380px">{{ patient.hurtReasonName }}</span>
           疾病编码:
           <span style="display: inline-block; margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.hurtReasonCode }}</span>
         </div>
@@ -291,37 +372,45 @@
   </div>
 </template>
 
-<script>
-export default {
-  props: {
-    patient: {
-      type: Object,
-      required: true,
-    },
-    dics: {
-      type: Object,
-      required: true,
-    },
+<script setup>
+const props = defineProps({
+  patient: {
+    type: Object,
+    required: true,
   },
-  setup(props) {
-    const filterNameInDic = (val, dic) => {
-      if (!val) {
-        return ''
-      }
-      const dicValue = props.dics[dic]
-      for (let i = 0; i < dicValue.length; i++) {
-        const dicItem = dicValue[i]
-        if (dicItem.code == val) {
-          return dicItem.name
-        }
-      }
-      return '-'
-    }
+  dics: {
+    type: Object,
+    required: true,
+  },
+})
 
-    return {
-      filterNameInDic,
+const filterNameInDic = (val, dic) => {
+  if (!val) {
+    return ''
+  }
+  const dicValue = props.dics[dic]
+  for (let i = 0; i < dicValue.length; i++) {
+    const dicItem = dicValue[i]
+    if (dicItem.code == val) {
+      return dicItem.name
     }
-  },
+  }
+  return '-'
+}
+
+function filterAdmStatus(val) {
+  if (!val) {
+    return ''
+  }
+  switch (val) {
+    case 1:
+      return '危'
+    case 2:
+      return '急'
+    case 3:
+      return '一般'
+  }
+  return ''
 }
 </script>
 

+ 550 - 129
src/components/inpatient/frontsheet-printpage/TailPage.vue

@@ -80,7 +80,7 @@
             </td>
           </tr>
         </table>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           离院方式:
           <span
             style="
@@ -104,7 +104,7 @@
             >{{ patient.dismissDestination }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           是否有出院31天内再住院计划:
           <span
             style="
@@ -128,7 +128,7 @@
             >{{ patient.admissAgainPurpose }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           颅脑损伤患者昏迷时间: 入院前
           <span
             style="
@@ -191,7 +191,7 @@
           >
           分钟
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           住院费用(元): 总费用
           <span
             style="
@@ -214,7 +214,7 @@
           >
           )
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           1.综合医疗服务类: (1)一般医疗服务费:
           <span
             style="
@@ -249,7 +249,7 @@
             >{{ patient.careFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (4)其他费:
           <span
             style="
@@ -261,7 +261,7 @@
             >{{ patient.elseFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           2.诊断类: (5)病理诊断费:
           <span
             style="
@@ -296,7 +296,7 @@
             >{{ patient.ctDiagFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (8)临床诊断项目费:
           <span
             style="
@@ -308,7 +308,7 @@
             >{{ patient.clinicalDiagFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           3.治疗类: (9)非手术治疗项目费:
           <span
             style="
@@ -333,7 +333,7 @@
           >
           )
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (10)手术治疗费:
           <span
             style="
@@ -369,7 +369,7 @@
           >
           )
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           4.康复类: (11)康复费:
           <span
             style="
@@ -381,7 +381,7 @@
             >{{ patient.recoverFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           5.中医类: (12)中医治疗费:
           <span
             style="
@@ -393,7 +393,7 @@
             >{{ patient.tcmTreatmentFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           6.西药类: (13)西药费:
           <span
             style="
@@ -405,7 +405,7 @@
             >{{ patient.westMedicineFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           7.中药类: (14)中成药费:
           <span
             style="
@@ -429,7 +429,7 @@
             >{{ patient.chineseHerbalMedicineFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           8.血液和血液制品类: (16)血费:
           <span
             style="
@@ -464,7 +464,7 @@
             >{{ patient.globulinProductsFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (19)凝血因子类制品费:
           <span
             style="
@@ -488,7 +488,7 @@
             >{{ patient.cytokineProductsFee }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           9.耗材类: (21)检查用一次性医用材料费:
           <span
             style="
@@ -514,7 +514,7 @@
             {{ patient.costOfDisposableMedicalMaterialsForTreatment }}
           </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           (23)手术用一次性医用材料费:
           <span
             style="
@@ -526,7 +526,7 @@
             >{{ patient.costOfDisposableMedicalMaterialsForOperation }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           10.其他类: (24)其他费:
           <span
             style="
@@ -538,7 +538,7 @@
             >{{ patient.otherFees }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           主要诊断治愈好转情况:
           <span
             style="
@@ -551,7 +551,7 @@
             {{ dismissStatusText(patient.disdiagList[0].dismissStatus) }}
           </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           诊断符合情况: 门诊与出院
           <span
             style="
@@ -573,7 +573,7 @@
             >{{ filterNameInDic(patient.diagConform2, "getDiagConform") }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           术前与术后
           <span
             style="
@@ -605,7 +605,7 @@
             >{{ filterNameInDic(patient.diagConform5, "getDiagConform") }}</span
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
+        <div style="margin: 8px 8px 8px 0">
           抢救情况: 抢救
           <span
             style="
@@ -628,8 +628,20 @@
           >
         </div>
-        <div style="margin: 10px 8px 10px 0">
-          病例分型:
+        <div style="margin: 8px 8px 8px 0">
+          单病种管理:
+          <span
+            style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 12px;
+            "
+            >{{
+              filterNameInDic(patient.monopathyManagement, "getYesOrNo")
+            }}</span
+          >
+          实施临床路径管理:
           <span
             style="
               display: inline-block;
@@ -640,12 +652,12 @@
           >
             {{
               filterNameInDic(
-                patient.caseClassification,
-                "getCaseClassification"
+                patient.clinicalPathwayManagement,
+                "getClinicalPathwayManagement"
               )
             }}
           </span>
-          实施重症监护:
+          实施DRGs管理:
           <span
             style="
               display: inline-block;
@@ -653,46 +665,50 @@
               padding: 0 4px;
               border-bottom: 1px solid black;
             "
-            >{{ filterNameInDic(patient.hasIcu, "getHaveOrNot") }}</span
+            >{{
+              filterNameInDic(patient.drgsManagement, "getDrgsManagement")
+            }}</span
           >
-          ,监护总时间:
+        </div>
+        <div style="margin: 8px 8px 8px 0">
+          抗生素使用:
           <span
             style="
               display: inline-block;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 30px;
+              margin-right: 12px;
             "
-            >{{ patient.icuDays }}</span
+            >{{ filterNameInDic(patient.useAntibiotic, "getYesOrNo") }}</span
           >
-          
+          细菌培养标本送检:
           <span
             style="
               display: inline-block;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 30px;
+              margin-right: 12px;
             "
-            >{{ patient.icuHours }}</span
+            >{{ filterNameInDic(patient.bacilliculture, "getYesOrNo") }}</span
           >
-          小时
-        </div>
-        <div style="margin: 10px 8px 10px 0">
-          单病种管理:
+          法定传染病:
           <span
             style="
               display: inline-block;
+              margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              margin-right: 12px;
             "
-            >{{
-              filterNameInDic(patient.monopathyManagement, "getYesOrNo")
-            }}</span
           >
-          实施临床路径管理:
+            {{
+              filterNameInDic(patient.statutoryEpidemic, "getStatutoryEpidemic")
+            }}
+          </span>
+        </div>
+        <div style="margin: 8px 8px 8px 0">
+          病例分型:
           <span
-            style="
+              style="
               display: inline-block;
               padding: 0 4px;
               border-bottom: 1px solid black;
@@ -701,63 +717,396 @@
           >
             {{
               filterNameInDic(
-                patient.clinicalPathwayManagement,
-                "getClinicalPathwayManagement"
+                  patient.caseClassification,
+                  "getCaseClassification"
               )
             }}
           </span>
-          实施DRGs管理:
+          有创呼吸机使用时间:
           <span
-            style="
+              style="
               display: inline-block;
-              margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
+              width: 40px;
+              margin-right: 12px;
             "
-            >{{
-              filterNameInDic(patient.drgsManagement, "getDrgsManagement")
-            }}</span
           >
+            {{patient.supplement.ventilatorUseTime}}
+          </span>
+          小时
+          <span style="display:inline-block; margin-left: 30px">
+              新生儿 5分钟 Apgar评分:
+              <span
+                  style="
+                  display: inline-block;
+                  padding: 0 4px;
+                  border-bottom: 1px solid black;
+                  width: 40px;
+                "
+              >
+                {{ patient.xxeApgar }}
+              </span>
+            分
+            </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
-          抗生素使用:
+
+        <div>
+          住院过程中有无进入重症监护室:
           <span
-            style="
+              style="
+                  display: inline-block;
+                  padding: 0 4px;
+                  border-bottom: 1px solid black;
+                  width: 40px;
+              ">
+            {{filterNewHaveOrNot(patient.supplement.hadIcu)}}
+          </span>
+
+          重症监护室名称:
+          <span
+              style="
+                  display: inline-block;
+                  padding: 0 4px;
+                  border-bottom: 1px solid black;
+                  width: 300px;
+              "
+          >
+            {{filterIcuName(patient.supplement.icuName)}}
+          </span>
+        </div>
+
+        <div style="margin: 8px 8px 8px 0">
+          进入时间:
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.startIcuYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startIcuMinute}}
+          </span>
+          分
+          <span
+           style="
+            display: inline-block;
+            margin-left: 12px;
+           "
+          >
+            转出时间:
+          </span>
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.endIcuYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endIcuMinute}}
+          </span>
+          分
+        </div>
+        <div style="margin: 8px 8px 8px 0">
+          住院过程中是否使用ECMO:
+          <span
+              style="
               display: inline-block;
               padding: 0 4px;
               border-bottom: 1px solid black;
+              width: 40px;
               margin-right: 12px;
             "
-            >{{ filterNameInDic(patient.useAntibiotic, "getYesOrNo") }}</span
           >
-          细菌培养标本送检:
+            {{filterNewHaveOrNot(patient.supplement.hadEcmo)}}
+          </span>
+          模式:
           <span
-            style="
+              style="
               display: inline-block;
               padding: 0 4px;
               border-bottom: 1px solid black;
+              width: 100px;
               margin-right: 12px;
             "
-            >{{ filterNameInDic(patient.bacilliculture, "getYesOrNo") }}</span
           >
-          法定传染病:
+            {{patient.supplement.ecmoMode}}
+          </span>
+          膜肺更换次数:
           <span
-            style="
+              style="
               display: inline-block;
-              margin-right: 8px;
               padding: 0 4px;
               border-bottom: 1px solid black;
+              width: 40px;
             "
           >
-            {{
-              filterNameInDic(patient.statutoryEpidemic, "getStatutoryEpidemic")
-            }}
+            {{patient.supplement.memlungChangeTimes}}
+          </span>
+          次
+        </div>
+        <div>
+          上机时间:
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.startEcmoYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.startEcmoMinute}}
+          </span>
+          分
+
+          <span
+              style="
+            display: inline-block;
+            margin-left: 12px;
+           "
+          >
+            撤机时间:
+          </span>
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 40px"
+          >
+            {{patient.supplement.endEcmoYear}}
+          </span>
+          年
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoMonth}}
+          </span>
+          月
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoDay}}
+          </span>
+          日
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoHour}}
+          </span>
+          时
+          <span
+              style="
+              display: inline-block;
+              padding-left: 4px;
+              border-bottom: 1px solid black;
+              width: 20px"
+          >
+            {{patient.supplement.endEcmoMinute}}
+          </span>
+          分
+        </div>
+        <div style="margin: 8px 8px 8px 0">
+          输血品种:红细胞
+          <span
+              style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+          >
+            {{patient.supplement.erythrocyte}}
+          </span>
+          单位
+          <span style="display: inline-block; margin-left:10px">
+            血小板
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+            >
+              {{patient.supplement.platelet}}
+            </span>
+            单位
+          </span>
+          <span style="display: inline-block; margin-left:10px">
+            血浆
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+            >
+              {{patient.supplement.plasma}}
+            </span>
+            单位
+          </span>
+          <span style="display: inline-block; margin-left:10px">
+            全血
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            "
+            >
+              {{patient.supplement.wholeBlood}}
+            </span>
+            单位
+          </span>
+          <span style="display: inline-block; margin-left:10px">
+            自体血回输
+            <span style="
+              display: inline-block;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              width: 40px;
+            ">
+              {{patient.supplement.autotransfusion}}
+            </span>
+            单位
           </span>
         </div>
-        <div style="margin: 10px 8px 10px 0">
+
+        <div style="margin: 8px 8px 8px 0">
           肿瘤分期: T
           <span
-            style="
+              style="
               display: inline-block;
               width: 30px;
               padding: 0 4px;
@@ -769,7 +1118,7 @@
           </span>
           N
           <span
-            style="
+              style="
               display: inline-block;
               width: 30px;
               padding: 0 4px;
@@ -781,7 +1130,7 @@
           </span>
           M
           <span
-            style="
+              style="
               display: inline-block;
               width: 30px;
               padding: 0 4px;
@@ -803,82 +1152,154 @@
           >
             {{ filterNameInDic(patient.tumorLevel, "getTumorLevel") }}
           </span>
-          新生儿Apgar评分:
+        </div>
+
+        <div style="margin: 8px 8px 8px 0">
+          输液输血情况:
+          1.输液情况:
           <span
-            style="
+              style="
               display: inline-block;
+              width: 30px;
               padding: 0 4px;
               border-bottom: 1px solid black;
-              width: 50px;
+              margin-right: 18px;
             "
-            >{{ patient.xxeApgar }}</span
           >
-          分
+            {{filterNewHaveOrNot(patient.supplement.infusion)}}
+          </span>
+          2.输液反应:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.infusionReaction)}}
+          </span>
+          3.输血情况:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.transfusion)}}
+          </span>
+          4.输血反应:
+          <span
+              style="
+              display: inline-block;
+              width: 30px;
+              padding: 0 4px;
+              border-bottom: 1px solid black;
+              margin-right: 18px;
+            "
+          >
+            {{filterNewHaveOrNot(patient.supplement.transfusionReaction)}}
+          </span>
         </div>
       </div>
     </div>
   </div>
 </template>
 
-<script>
+<script setup>
 import XEUtils from "xe-utils";
 
-export default {
-  props: {
-    patient: {
-      type: Object,
-      required: true,
-    },
-    dics: {
-      type: Object,
-      required: true,
-    },
+const props = defineProps({
+  patient: {
+    type: Object,
+    required: true,
   },
-  setup(props) {
-    const dismissStatusText = val => {
-      switch (val) {
-        case 1:
-        case "1":
-          return "治愈";
-        case 2:
-        case "2":
-          return "好转";
-        case 3:
-        case "3":
-          return "未愈";
-        case 4:
-        case "4":
-          return "死亡";
-        case 9:
-        case "9":
-          return "其他";
-        default:
-          return "";
-      }
-    };
-
-    const filterNameInDic = (val, dic) => {
-      if (!val) {
-        return "";
-      }
-      const dicValue = props.dics[dic];
-      if (!XEUtils.isArray(dicValue)) {
-        return "";
-      }
-      for (let i = 0; i < dicValue.length; i++) {
-        const dicItem = dicValue[i];
-        if (dicItem.code == val) {
-          return dicItem.name;
-        }
-      }
-      return "-";
-    };
-    return {
-      dismissStatusText,
-      filterNameInDic,
-    };
+  dics: {
+    type: Object,
+    required: true,
   },
+})
+
+const dismissStatusText = val => {
+  switch (val) {
+    case 1:
+    case "1":
+      return "治愈";
+    case 2:
+    case "2":
+      return "好转";
+    case 3:
+    case "3":
+      return "未愈";
+    case 4:
+    case "4":
+      return "死亡";
+    case 9:
+    case "9":
+      return "其他";
+    default:
+      return "";
+  }
+};
+
+const filterNameInDic = (val, dic) => {
+  if (!val) {
+    return "";
+  }
+  const dicValue = props.dics[dic];
+  if (!XEUtils.isArray(dicValue)) {
+    return "";
+  }
+  for (let i = 0; i < dicValue.length; i++) {
+    const dicItem = dicValue[i];
+    if (dicItem.code == val) {
+      return dicItem.name;
+    }
+  }
+  return "-";
 };
+
+function filterNewHaveOrNot(val) {
+  if (!val) {
+    return ''
+  }
+  if (val === 1) {
+    return '有'
+  } else if (val === 2) {
+    return '无'
+  } else {
+    return ''
+  }
+}
+
+function filterIcuName(val) {
+  if (!val) {
+    return ''
+  }
+  switch (val) {
+    case '01':
+      return 'CCU-心脏监护室'
+    case '02':
+      return 'RICU-呼吸监护室'
+    case '03':
+      return 'SICU-外科监护室'
+    case '04':
+      return 'NICU-新生儿监护室'
+    case '05':
+      return 'PICU-儿科监护室'
+    case '06':
+      return 'EICU-急诊重症监护室'
+    case '07':
+      return 'MICU-内科重症监护室'
+    case '99':
+      return '其他'
+  }
+  return ''
+}
 </script>
 
 <style scoped>

+ 1 - 0
src/views/hospitalization/adverse-event/AllAdverseEvent.vue

@@ -218,6 +218,7 @@ const submitHlbDealing = () => {
   const param = {
     pid: report.value.pid,
     dealing: report.value.finalDealing,
+    eventLevel: report.value.eventLevel,
   }
   updateFinalHandled(param).then((res) => {
     report.value = res

+ 8 - 5
src/views/hospitalization/case-front-sheet/AllCaseFrontSheet.vue

@@ -84,9 +84,11 @@
           </el-pagination>
         </aside>
         <div class="layout_main" style="padding: 0 20px; overflow-y: scroll">
-          <div id="headpage">
-            <HeadPage :dics="dics" :patient="sheet"/>
-            <div style="position: fixed; top: 180px; left: 1230px">
+          <div>
+            <div id="headpage">
+              <HeadPage :dics="dics" :patient="sheet"/>
+            </div>
+            <div style="position: fixed; top: 100px; left: 1280px">
               <img v-if="sheet.zyDismissWay === '4'" :src="patientdead" alt="">
               <div v-if="sheet.duplicated">
                 <img class="img-state" :src="baduplicated" alt="" @click="showMarkStateDetail('DUPLICATE')">
@@ -464,6 +466,7 @@ const overview = ref([])
 let sheet = ref({
   disdiagList: [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}],
   surgeryList: [{}, {}, {}, {}, {}],
+  supplement: {}
 })
 const dics = ref({})
 const overviewParam = reactive({
@@ -839,7 +842,7 @@ const execPrint = (flag) => {
   }
   let pagePrint = prntStyle + '<body>' + prntContent + '</body>';
   LODOP.PRINT_INIT('casefrontsheet')
-  LODOP.SET_PRINT_PAGESIZE(1, 0, 0, 'A4')
+  LODOP.SET_PRINT_PAGESIZE(1, '210mm', '297mm', '')
   LODOP.SET_PRINT_MODE('FULL_WIDTH_FOR_OVERFLOW', true) // 整宽不变形
   LODOP.ADD_PRINT_HTM('2mm', '0.5mm', '209.5mm', '295mm', pagePrint)
   LODOP.SET_PRINT_STYLE('ItemType', 3)
@@ -1096,7 +1099,7 @@ onMounted(() => {
   }
 
   .img-state:hover {
-    scale: 1.08;
+    scale: 1.02;
     cursor: pointer;
   }
 

+ 304 - 26
src/views/hospitalization/case-front-sheet/FillCaseFrontSheet.vue

@@ -93,7 +93,7 @@
         </div>
         <div>
           <h3 style="width: 100%; font-size: 17px; text-align: center">住 院 病 案 首 页</h3>
-          <div style="width: 100%; height: 32px; line-height: 32px; font-size: 15px; text-align: center">
+          <div style="width: 100%; font-size: 15px; text-align: center">
             医疗机构:
             <span style="font-weight: 700">长沙泰和医院</span> (
             组织机构代码:
@@ -294,6 +294,41 @@
               门诊诊断编码有误
             </div>
           </div>
+          <div id="admDiag" style="display: flex;align-items: center">
+            入院诊断名称:
+            <input v-model="patient.supplement.admDiagName" readonly style="width: 280px"
+                   @click="showSearchData('admdiag')"/>
+            入院诊断编码:
+            <input v-model="patient.supplement.admDiagCode" readonly style="width: 110px"
+                   @click="showSearchData('admdiag')"/>
+          </div>
+          <div style="display: flex;align-items: center">
+            入院时情况:
+            <select id="admDiagStatus" style="width: 80px; margin-right: 30px" v-model="patient.supplement.admStatus">
+              <option :value="1">危</option>
+              <option :value="2">急</option>
+              <option :value="3">一般</option>
+            </select>
+            入院后确诊日期:
+            <input
+                v-model="patient.supplement.diagnosisConfirmYear"
+                type="number"
+                style="width: 40px; text-align: center"
+            />
+            年
+            <input
+                v-model="patient.supplement.diagnosisConfirmMonth"
+                type="number"
+                style="width: 20px; text-align: center"
+            />
+            月
+            <input
+                v-model="patient.supplement.diagnosisConfirmDay"
+                type="number"
+                style="width: 20px; text-align: center"
+            />
+            日
+          </div>
           <div id="diagTable" style="height: max-content; display: flex; width: 720px; margin-top: 2px">
             <div style="width: 360px">
               <table style="width: 100%; border: 1px solid black; border-collapse: collapse">
@@ -423,7 +458,7 @@
           </div>
           <div>
             损伤、中毒的外部原因:
-            <input id="hurtReasonName" v-model="patient.hurtReasonName" style="width: 300px"
+            <input id="hurtReasonName" v-model="patient.hurtReasonName" style="width: 360px"
                    @click="showSearchData('hurt')"/>
             疾病编码:
             <input id="hurtReasonCode" v-model="patient.hurtReasonCode" style="width: 110px" readonly/>
@@ -832,26 +867,6 @@
             <input id="rescueTimes" v-model="patient.rescueTimes" type="number" style="width: 90px"/>次, 成功
             <input id="rescueSuccessTimes" v-model="patient.rescueSuccessTimes" type="number" style="width: 90px"/>次
           </div>
-          <div>
-            病例分型:
-            <select id="caseClassification" v-model="patient.caseClassification" style="margin-right: 12px">
-              <option v-for="(item, index) in dics.getCaseClassification" :key="index" :value="item.code">&nbsp;&nbsp;{{
-                  item.name
-                }}&nbsp;&nbsp;
-              </option>
-            </select>
-            实施重症监护:
-            <select id="hasIcu" v-model="patient.hasIcu" @change="handleSelectIcu">
-              <option v-for="(item, index) in haveOrNot" :key="index" :value="item.code">&nbsp;&nbsp;{{ item.name }}&nbsp;&nbsp;</option>
-            </select>
-            ,监护总时间:
-            <input id="icuDays" v-model="patient.icuDays" style="width: 30px"/>
-            天
-            <input id="icuHours"
-                   v-model="patient.icuHours"
-                   style="width: 30px"/>
-            小时
-          </div>
           <div>
             单病种管理:
             <select id="monopathyManagement" v-model="patient.monopathyManagement" style="margin-right: 12px">
@@ -892,6 +907,230 @@
               </option>
             </select>
           </div>
+
+          <div>
+            病例分型:
+            <select id="caseClassification" v-model="patient.caseClassification" style="margin-right: 12px">
+              <option v-for="(item, index) in dics.getCaseClassification" :key="index" :value="item.code">&nbsp;&nbsp;{{
+                  item.name
+                }}&nbsp;&nbsp;
+              </option>
+            </select>
+            有创呼吸机使用时间:
+            <input
+                v-model="patient.supplement.ventilatorUseTime"
+                type="number"
+                style="width: 40px;text-align: center"
+            />
+            小时
+            <span style="margin-left: 30px">
+              新生儿 5分钟 Apgar评分:
+              <input
+                  style="margin-right: 0; width: 40px;text-align: center"
+                  v-model="patient.xxeApgar"
+              />分
+            </span>
+          </div>
+
+          <div>
+            住院过程中有无进入重症监护室:
+            <select v-model="patient.supplement.hadIcu" style="width: 40px;margin-right: 30px">
+              <option :value="1">有</option>
+              <option :value="2">无</option>
+            </select>
+
+            重症监护室名称:
+            <select v-model="patient.supplement.icuName" style="width: 150px">
+              <option value=""></option>
+              <option value="01">CCU-心脏监护室</option>
+              <option value="02">RICU-呼吸监护室</option>
+              <option value="03">SICU-外科监护室</option>
+              <option value="04">NICU-新生儿监护室</option>
+              <option value="05">PICU-儿科监护室</option>
+              <option value="06">EICU-急诊重症监护室</option>
+              <option value="07">MICU-内科重症监护室</option>
+              <option value="99">其他</option>
+            </select>
+          </div>
+
+          <div>
+            进入时间:
+            <input
+                v-model="patient.supplement.startIcuYear"
+                type="number"
+                style="width: 40px;text-align: center"
+            />
+            年
+            <input
+                v-model="patient.supplement.startIcuMonth"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            月
+            <input
+                v-model="patient.supplement.startIcuDay"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            日
+            <input
+                v-model="patient.supplement.startIcuHour"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            时
+            <input
+                v-model="patient.supplement.startIcuMinute"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            分
+            <span style="margin-left: 30px">
+              转出时间:
+            </span>
+            <input
+                v-model="patient.supplement.endIcuYear"
+                type="number"
+                style="width: 40px;text-align: center"
+            />
+            年
+            <input
+                v-model="patient.supplement.endIcuMonth"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            月
+            <input
+                v-model="patient.supplement.endIcuDay"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            日
+            <input
+                v-model="patient.supplement.endIcuHour"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            时
+            <input
+                v-model="patient.supplement.endIcuMinute"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            分
+          </div>
+          <div >
+            住院过程中是否使用ECMO:
+            <select v-model="patient.supplement.hadEcmo" style="width: 40px; margin-right: 30px">
+              <option :value="1">是</option>
+              <option :value="2">否</option>
+            </select>
+            模式:
+            <select v-model="patient.supplement.ecmoMode" style="width: 50px; margin-right: 30px">
+              <option value="V-A">V-A</option>
+              <option value="V-V">V-V</option>
+              <option value="V-AV">V-AV</option>
+              <option value="VV-A">VV-A</option>
+            </select>
+            膜肺更换次数:
+            <input
+                v-model="patient.supplement.memlungChangeTimes"
+                type="number"
+                style="width: 40px;text-align: center"
+            />
+            次
+          </div>
+          <div>
+            上机时间:
+            <input
+                v-model="patient.supplement.startEcmoYear"
+                type="number"
+                style="width: 40px;text-align: center"
+            />
+            年
+            <input
+                v-model="patient.supplement.startEcmoMonth"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            月
+            <input
+                v-model="patient.supplement.startEcmoDay"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            日
+            <input
+                v-model="patient.supplement.startEcmoHour"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            时
+            <input
+                v-model="patient.supplement.startEcmoMinute"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            分
+            <span style="margin-left: 30px">
+              撤机时间:
+            </span>
+            <input
+                v-model="patient.supplement.endEcmoYear"
+                type="number"
+                style="width: 40px;text-align: center"
+            />
+            年
+            <input
+                v-model="patient.supplement.endEcmoMonth"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            月
+            <input
+                v-model="patient.supplement.endEcmoDay"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            日
+            <input
+                v-model="patient.supplement.endEcmoHour"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            时
+            <input
+                v-model="patient.supplement.endEcmoMinute"
+                type="number"
+                style="width: 20px;text-align: center"
+            />
+            分
+          </div>
+          <div>
+            输血品种:红细胞
+            <input v-model="patient.supplement.erythrocyte" type="number" style="width: 36px"/>
+            单位
+            <span style="margin-left:10px">
+              血小板
+            </span>
+            <input v-model="patient.supplement.platelet" type="number" style="width: 36px"/>
+            单位
+            <span style="margin-left:10px">
+              血浆
+            </span>
+            <input v-model="patient.supplement.plasma" type="number" style="width: 36px"/>
+            单位
+            <span style="margin-left:10px">
+              全血
+            </span>
+            <input v-model="patient.supplement.wholeBlood" type="number" style="width: 36px"/>
+            单位
+            <span style="margin-left:10px">
+              自体血回输
+            </span>
+            <input v-model="patient.supplement.autotransfusion" type="number" style="width: 36px"/>
+            单位
+          </div>
           <div>
             肿瘤分期: T
             <select id="tumorLevelT" v-model="patient.tumorLevelT" style="margin-right: 12px">
@@ -917,12 +1156,43 @@
                 &nbsp;&nbsp;{{ item.name }}&nbsp;&nbsp;
               </option>
             </select>
-            新生儿Apgar评分: <input style="margin-right: 0; width: 50px" v-model="patient.xxeApgar"/>分
+          </div>
+          <div>
+            输液输血情况:
+            1.输液情况:
+            <select
+                v-model="patient.supplement.infusion"
+                style="width: 40px;margin-right: 18px"
+            >
+              <option :value="1">有</option>
+              <option :value="2">无</option>
+            </select>
+            2.输液反应:
+            <select
+                v-model="patient.supplement.infusionReaction"
+                style="width: 40px;margin-right: 18px"
+            >
+              <option :value="1">有</option>
+              <option :value="2">无</option>
+            </select>
+            3.输血情况:
+            <select
+                v-model="patient.supplement.transfusion"
+                style="width: 40px;margin-right: 18px"
+            >
+              <option :value="1">有</option>
+              <option :value="2">无</option>
+            </select>
+            4.输血反应:
+            <select
+                v-model="patient.supplement.transfusionReaction"
+                style="width: 40px;margin-right: 18px"
+            >
+              <option :value="1">有</option>
+              <option :value="2">无</option>
+            </select>
           </div>
         </div>
-        <!--          <div style="margin-top: 20px">-->
-        <!--             todo 额外填写的内容用组件的方式写在这里-->
-        <!--          </div>-->
       </div>
     </div>
   </div>
@@ -1161,6 +1431,7 @@ const overview = ref([])
 const patient = ref({
   disdiagList: [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}],
   surgeryList: [{}, {}, {}, {}, {}],
+  supplement: {}
 })
 const defaultSurgerySize = ref(5)
 const dics = ref({})
@@ -1436,6 +1707,10 @@ const showSearchData = (flag) => {
     searchUrl.value = 'clinicdiag'
     searchTargetCode.value = 'clinicDiagCode'
     searchTargetName.value = 'clinicDiagStr'
+  } else if (flag === 'admdiag') {
+    searchUrl.value = 'clinicdiag'
+    searchTargetCode.value = 'admDiagCode'
+    searchTargetName.value = 'admDiagStr'
   }
   showSearch.value = true
 }
@@ -1565,6 +1840,9 @@ const handleSelectSearch = (item) => {
   } else if (searchTargetCode.value === 'clinicDiagCode') {
     patient.value.clinicDiagCode = item.code
     patient.value.clinicDiagStr = item.name
+  } else if (searchTargetCode.value === 'admDiagCode') {
+    patient.value.supplement.admDiagCode = item.code
+    patient.value.supplement.admDiagName = item.name
   } else {
     if (needDorSiCode.indexOf(searchTargetCode.value) > -1) {
       if (!item.ybCode.startsWith('D')) {

+ 1 - 0
src/views/hospitalization/case-front-sheet/FrontSheetQuality.vue

@@ -249,6 +249,7 @@ function initSheet() {
   return {
     disdiagList: [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}],
     surgeryList: [{}, {}, {}, {}, {}],
+    supplement: {}
   }
 }