Procházet zdrojové kódy

诊断报告预览添加异常图片

cc12458 před 2 týdny
rodič
revize
3b2e898c8e

+ 1 - 1
src/components/AnalysisComponent.vue

@@ -58,7 +58,7 @@ const {
       <slot name="exception">
         <div class="grid grid-rows-1 grid-cols-2 gap-8 m-6" v-if="exceptionType === 'list'">
           <template v-for="item in exception" :key="item.title">
-            <div class="card text-lg" v-if="!filterEmptyException && item.cover">
+            <div class="card text-lg" v-if="!filterEmptyException || item.cover">
               <div class="card__title mb-3 text-primary text-2xl font-bold">{{ item.title }}</div>
               <div class="card__content">
                 <div class="flex my-2 justify-center">

+ 1 - 0
src/modules/monitor/components/MedicalRecordPreview.vue

@@ -54,6 +54,7 @@ const updateReport = (url: string) => {
       <van-button block type="primary" plain :disabled="printing" @click="emits('cancel')">关闭</van-button>
       <van-button block type="primary" :loading="printing" loading-text="生成中…" @click="handle">打印</van-button>
     </div>
+    <div style="margin-bottom: 54px;"></div>
   </div>
 </template>