Prechádzať zdrojové kódy

Merge branch 'master' of https://172.16.32.165/lighter/vue-intergration-platform

xiaochan 8 mesiacov pred
rodič
commit
48f96c8a26

+ 732 - 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,629 @@
             {{ 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;
+            "
+          >
+            {{filterYesOrNo(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 filterYesOrNo(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>
 

+ 563 - 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
           >
-          细菌培养标本送检:
+            {{filterYesOrNo(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: 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: 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="
+              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,167 @@
           >
             {{ 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 filterYesOrNo(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>

+ 98 - 89
src/data/adverse-event.js

@@ -1,15 +1,6 @@
 export const dict = {
-  patientPros: [
-    { name: '强化安全意识', id: 1 },
-    { name: '加强营养', id: 2 },
-    { name: '配合医护人员', id: 3 },
-    { name: '稳定情绪', id: 4 },
-    { name: '聘请陪护,加强陪护管理', id: 5 },
-    { name: '适度床上活动', id: 6 },
-    { name: '保持皮肤清洁、干燥,床单位整洁', id: 7 },
-  ],
   nurseReasons: [
-    { name: '护士年轻,经验不足', id: 1 },
+    { name: '医生/护士年轻,经验不足', id: 1 },
     { name: '业务知识缺乏', id: 2 },
     { name: '技术水平低', id: 3 },
     { name: '操作技术不规范', id: 4 },
@@ -26,19 +17,6 @@ export const dict = {
     { name: '带教不规范', id: 15 },
     { name: '医患及医护沟通不到位', id: 16 },
   ],
-  nursePros: [
-    { name: '提升护士业务技术水平', id: 1 },
-    { name: '规范操作规程', id: 2 },
-    { name: '加强慎独精神和责任心', id: 3 },
-    { name: '严格落实护理核心制度', id: 4 },
-    { name: '提高认知和思想觉悟', id: 5 },
-    { name: '加强风险意识、安全防范意识培训', id: 6 },
-    { name: '加强对患者的宣教', id: 7 },
-    { name: '遵守规章制度', id: 8 },
-    { name: '强化评估意识', id: 9 },
-    { name: '规范带教行为', id: 10 },
-    { name: '加强医患及医护沟通', id: 11 },
-  ],
   patientReasons: [
     { name: '病人依从性差', id: 1 },
     { name: '知识缺乏', id: 2 },
@@ -50,7 +28,6 @@ export const dict = {
     { name: '不配合床上大小便', id: 8 },
     { name: '患者年龄大、病情重、管道多', id: 9 },
     { name: '擅自调节滴速', id: 10 },
-    { name: '管条件差', id: 11 },
     { name: '自我评估过高', id: 12 },
     { name: '不配合翻身', id: 13 },
     { name: '不听劝告', id: 14 },
@@ -58,27 +35,28 @@ export const dict = {
     { name: '自身素质差', id: 16 },
     { name: '期望值过高', id: 17 },
   ],
-  environPros: [
-    { name: '严格探陪制度,每个患者仅留一个陪人', id: 1 },
-    { name: '患者活动前完成卫生处置,使用防滑垫', id: 2 },
-    { name: '制作并张贴相应标识牌;及时更换模糊不清的标识牌', id: 3 },
-    { name: '申请增加坐便器数量', id: 4 },
-    { name: '保证病房照明设施处于正常工作状态', id: 5 },
-    { name: '未开放空调时,病房定时开窗,保证空气流通;及时联系工程部保证空调正常运行', id: 6 },
-    { name: '及时更换不整洁床单', id: 7 },
-    { name: '护士长合理排班,增加助班缓解治疗高峰期人力不足情况', id: 8 },
-    { name: '规范转床与转科流程', id: 9 },
-    { name: '科室常见疾病知识宣教及抢救流程图制作上墙', id: 10 },
-    { name: '科室备用药品分柜放置,定期清理,标识模糊的药品及时作废,标识相似的药品做特殊标识', id: 11 },
-    { name: '合理放置药品位置,禁止囤积药品,多余药品及时回收至药房', id: 12 },
-    { name: '及时联系设备科维修', id: 13 },
+  environReasons: [
+    { name: '病房空间小、家属陪人多', id: 1 },
+    { name: '地面湿滑', id: 2 },
+    { name: '标识不清楚或无相应标识', id: 3 },
+    { name: '坐便器少', id: 4 },
+    { name: '光线较暗', id: 5 },
+    { name: '病房温湿度不适宜、空调效果欠佳', id: 6 },
+    { name: '床单不整洁', id: 7 },
+    { name: '病人周转快、科室忙、工作量大', id: 8 },
+    { name: '更换床位或转科病人多', id: 9 },
+    { name: '上墙标准流程图及宣教资料少', id: 10 },
+    { name: '药品种类多、药品标识不明显或两种药品标识相似度高', id: 11 },
+    { name: '存放药品空间小或放置位置不合理', id: 12 },
+    { name: '仪器设备故障', id: 13 },
+    { name: '卫生材料和器械品种规格不配套或不合标准', id: 14 },
   ],
   manageReasons: [
     { name: '不重视安全教育', id: 1 },
     { name: '病室识别系统不完善', id: 2 },
     { name: '人力配置不足,超负荷工作', id: 3 },
     { name: '交接班流程不完善', id: 4 },
-    { name: '护士长不在时无人主事', id: 5 },
+    { name: '科主任/护士长不在时无人主事', id: 5 },
     { name: '激励机制不健全', id: 6 },
     { name: '后勤社会化服务不到位', id: 7 },
     { name: '护士长监督力度不大,对重点环节、人群疏于管理', id: 8 },
@@ -89,12 +67,51 @@ export const dict = {
     { name: '人员培训机制不健全', id: 13 },
     { name: '排班不合理', id: 14 },
   ],
+  nursePros: [
+    { name: '提升医生/护士业务技术水平', id: 1 },
+    { name: '规范操作规程', id: 2 },
+    { name: '加强慎独精神和责任心', id: 3 },
+    { name: '严格落实护理核心制度', id: 4 },
+    { name: '提高认知和思想觉悟', id: 5 },
+    { name: '加强风险意识和安全防范意识培训', id: 6 },
+    { name: '加强对患者的宣教', id: 7 },
+    { name: '遵守规章制度', id: 8 },
+    { name: '强化评估意识', id: 9 },
+    { name: '规范带教行为', id: 10 },
+    { name: '加强医患及医护沟通', id: 11 },
+  ],
+  patientPros: [
+    { name: '强化安全意识', id: 1 },
+    { name: '加强营养', id: 2 },
+    { name: '配合医护人员', id: 3 },
+    { name: '稳定情绪', id: 4 },
+    { name: '加强陪护管理', id: 5 },
+    { name: '适度床上活动', id: 6 },
+    { name: '保持皮肤清洁、干燥,床单位整洁', id: 7 },
+  ],
+  environPros: [
+    { name: '严格探陪制度,每个患者仅留一个陪人', id: 1 },
+    { name: '患者活动前完成卫生处置,使用防滑垫', id: 2 },
+    { name: '制作并张贴相应标识牌;及时更换模糊不清的标识牌', id: 3 },
+    { name: '申请增加坐便器数量', id: 4 },
+    { name: '保证照明设施处于正常工作状态', id: 5 },
+    { name: '保证内部环境通风、温度、湿度等符合规定要求', id: 6 },
+    { name: '及时更换不整洁床单', id: 7 },
+    { name: '护士长合理排班,增加助班缓解治疗高峰期人力不足情况', id: 8 },
+    { name: '规范转床与转科流程', id: 9 },
+    { name: '科室常见疾病知识宣教及抢救流程图制作上墙', id: 10 },
+    { name: '科室备用药品分柜放置,定期清理,标识模糊的药品及时作废,标识相似的药品做特殊标识', id: 11 },
+    { name: '合理放置药品位置,禁止囤积药品,多余药品及时回收至药房', id: 12 },
+    { name: '及时联系设备科维修', id: 13 },
+    { name: '定期校验、维修、保养检查和诊疗设备', id: 14},
+    { name: '保证卫生材料和器械品种规格配套符合标准', id: 15 },
+  ],
   managePros: [
     { name: '进行安全教育培训,考试', id: 1 },
     { name: '改进增加病室识别系统', id: 2 },
     { name: '增加护理人员,优化职称结构,年龄结构', id: 3 },
     { name: '改进交接班流程,督查落实', id: 4 },
-    { name: '护士长不在时指定临时负责护士,并担责', id: 5 },
+    { name: '科主任/护士长不在时指定临时负责人员,并担责', id: 5 },
     { name: '建立健全激励机制,提高工作积极性', id: 6 },
     { name: '与后勤管理部门积极沟通督促后勤社会化服务到位', id: 7 },
     { name: '护士长加强检查内容、范围,落实对重点环节、人群的管理', id: 8 },
@@ -104,67 +121,59 @@ export const dict = {
     { name: '完善目标管理机制', id: 12 },
     { name: '完善人员培训机制', id: 13 },
     { name: '排班根据病人的病情,护士的能力进行合理的排班', id: 14 },
+    { name: '完善管理制度', id: 15 },
   ],
   categories: [
     {
       children: [
-        { name: '发错药物', id: 'a1' },
-        { name: '配错药物', id: 'a2' },
-        { name: '换错药物', id: 'a3' },
-        { name: '意外拔(脱)管', id: 'a4' },
-        { name: '跌倒坠床', id: 'a5' },
-        { name: '堵管事件', id: 'a6' },
-        { name: '走失事件', id: 'a7' },
-        { name: '漏执行医嘱', id: 'a8' },
-        { name: '执行医嘱错误', id: 'a9' },
-        { name: '输液(血)外渗(漏)', id: 'a10' },
-        { name: '院内发生压疮或漏报(未报难免压疮)', id: 'a11' },
-        { name: '物品丢失', id: 'a12' },
-        { name: '用物混用', id: 'a13' },
-        { name: '条码贴错', id: 'a14' },
-        { name: '采血管(对象)错误', id: 'a15' },
-        { name: '被投诉事件', id: 'a16' },
-        { name: '错送病室', id: 'a17' },
-        { name: '精一类安剖(贴)丢弃', id: 'a18' },
-        { name: '烫伤事件', id: 'a19' },
-        { name: '用物准备不全', id: 'a20' },
-        { name: '其他', id: '21' },
+        { name: '查对/识别错误', id: 'a1' },
+        { name: '跌倒/坠床', id: 'a2' },
+        { name: '住院压疮', id: 'a3' },
+        { name: '导管插入输注与管理错误', id: 'a4' },
+        { name: '标本采集应用与管理', id: 'a5' },
+        { name: '药物外渗', id: 'a6' },
       ],
-      name: '护理安全事件',
+      name: '护理安全',
       id: 'a',
     },
     {
       children: [
-        { name: '设备管理事件', id: 'b1' },
-        { name: '医疗安全事件', id: 'b2' },
-        { name: '药品安全事件', id: 'b3' },
-        { name: '用血安全事件', id: 'b4' },
-        { name: '输血反应事件', id: 'b5' },
-        { name: '医疗事故及纠纷事件', id: 'b6' },
-        { name: '消毒、隔离事件', id: 'b7' },
-        { name: '手术安全事件', id: 'b8' },
-        { name: '医疗废物事件', id: 'b9' },
-        { name: '传染病管理事件', id: 'b10' },
-        { name: '其他事件', id: 'b11' },
+        { name: '信息传递错误事件', id: 'b1' },
+        { name: '治疗错误事件', id: 'b2' },
+        { name: '方法/技术错误事件', id: 'b3' },
+        { name: '药物调剂分发错误事件', id: 'b4' },
+        { name: '输血事件', id: 'b5' },
+        { name: '设备仪器使用事件', id: 'b6' },
+        { name: '医疗技术检查事件', id: 'b7' },
+        { name: '物品运送事件', id: 'b8' },
+        { name: '放射安全事件', id: 'b9' },
+        { name: '诊疗记录事件', id: 'b10' },
+        { name: '知情同意事件', id: 'b11' },
+        { name: '非预期事件', id: 'b12' },
+        { name: '医护安全事件', id: 'b13' },
+        { name: '不作为事件', id: 'b14' },
       ],
-      name: '其他事件',
+      name: '医疗安全',
       id: 'b',
     },
-  ],
-  environReasons: [
-    { name: '病房空间小、家属陪人多', id: 1 },
-    { name: '地面湿滑', id: 2 },
-    { name: '标识不清楚或无相应标识', id: 3 },
-    { name: '坐便器少', id: 4 },
-    { name: '光线较暗', id: 5 },
-    { name: '病房温湿度不适宜、空调效果欠佳', id: 6 },
-    { name: '床单不整洁', id: 7 },
-    { name: '病人周转快、科室忙、工作量大', id: 8 },
-    { name: '更换床位或转科病人多', id: 9 },
-    { name: '上墙标准流程图及宣教资料少', id: 10 },
-    { name: '药品种类多、药品标识不明显或两种药品标识相似度高', id: 11 },
-    { name: '存放药品空间小或放置位置不合理', id: 12 },
-    { name: '仪器设备故障', id: 13 },
+
+    {
+      children: [
+        { name: '护理诊疗常规、指南、操作规程应用与管理错误', id: 'z1' },
+        { name: '护理病历与其他诊疗文件书写与使用错误', id: 'z2' },
+        { name: '输液反应事件', id: 'z3' },
+        { name: '烧烫伤/误吸/误咽', id: 'z4' },
+        { name: '约束意外/转运意外', id: 'z5' },
+        { name: '信息传递/知情同意', id: 'z6' },
+        { name: '饮食与营养事件/物品运送', id: 'z7' },
+        { name: '住院患者失踪', id: 'z8' },
+        { name: '住院患者自杀', id: 'z9' },
+        { name: '产房新生儿被抱错等', id: 'z10' },
+        { name: '其他事件', id: 'z11' },
+      ],
+      name: '其他',
+      id: 'z',
+    },
   ],
   positions: [
     { id: 1, name: '助理护士' },

+ 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

+ 2 - 0
src/views/hospitalization/adverse-event/DealAdverseEvent.vue

@@ -53,6 +53,7 @@ import EventPrinter from "@/views/hospitalization/adverse-event/component/EventP
 import EventEditor from "@/views/hospitalization/adverse-event/component/EventEditor.vue";
 import {xcMessage} from "@/utils/xiaochan-element-plus";
 import EventViewer from "@/views/hospitalization/adverse-event/component/EventViewer.vue";
+import {formatDatetime} from "@/utils/date";
 
 const reports = ref([])
 const report = ref({})
@@ -75,6 +76,7 @@ const cancelModify = () => {
 }
 const confirmModify = () => {
   report.value.isModify = true
+  report.value.occurDatetime = formatDatetime(report.value.occurDatetime)
   submitNewReport(report.value).then(() => {
     xcMessage.success('修改成功')
   })

+ 1 - 1
src/views/hospitalization/adverse-event/component/EventEditor.vue

@@ -5,7 +5,7 @@
       <el-row :gutter="5" style="margin-top: 5px">
         <el-col :span="8">
           <el-tag type="info">事件类型</el-tag>
-          <el-select v-model="report.category" placeholder="请选择" style="width: 100%">
+          <el-select v-model="report.category" placeholder="请选择" filterable style="width: 100%">
             <el-option-group v-for="group in dict.categories" :key="group.id" :label="group.name">
               <el-option v-for="item in group.children" :key="item.id" :label="item.name" :value="group.name + ' - ' + item.name"> </el-option>
             </el-option-group>

+ 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: {}
   }
 }