Forráskód Böngészése

完善手写信息采集的创建人

cgp 2 hete
szülő
commit
847b8182e2
1 módosított fájl, 9 hozzáadás és 2 törlés
  1. 9 2
      src/views/member/handwritePatientForm/index.vue

+ 9 - 2
src/views/member/handwritePatientForm/index.vue

@@ -32,8 +32,15 @@
       <el-table-column label="患者电话" align="center" prop="patientPhone" />
       <el-table-column label="初诊单" align="center" prop="billImgUrl" width="120">
         <template slot-scope="scope">
-          <image-preview v-if="scope.row.billImgUrl" :src="scope.row.billImgUrl" width="50" height="50" />
-          <span v-else>暂无图片</span>
+          <el-image
+            style="width: 50px; height: 50px"
+            :src="scope.row.billImgUrl"
+            :preview-src-list="[scope.row.billImgUrl]"
+            fit="cover">
+            <div slot="error" class="image-slot">
+              <i class="el-icon-picture-outline"></i>
+            </div>
+          </el-image>
         </template>
       </el-table-column>
       <el-table-column label="创建时间" align="center" prop="createTime" width="180">