Explorar o código

优化打印显示

lighter %!s(int64=3) %!d(string=hai) anos
pai
achega
86265907fd
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/components/inpatient/frontsheet-printpage/HeadPage.vue

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

@@ -72,7 +72,7 @@
     </div>
     <div style="display: flex; margin: 10px 8px 10px 0">
       工作单位及地址:
-      <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 0; width: 290px">{{ patient.unitName }}/{{ patient.unitPlace }}</div>
+      <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 0; width: 330px">{{ patient.unitName }}/{{ patient.unitPlace }}</div>
       单位电话:
       <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 80px">{{ patient.unitPhone }}</div>
       邮编:
@@ -118,7 +118,9 @@
     </div>
     <div style="display: flex; margin: 10px 8px 10px 0">
       门(急)诊诊断:
-      <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 350px">{{ patient.clinicDiagStr }}</div>
+      <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 350px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden">
+        {{ patient.clinicDiagStr }}
+      </div>
       疾病编码:
       <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.clinicDiagCode }}</div>
     </div>