From 20b0ce2db27b64a60de60aee05dedd448099e330 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期一, 08 七月 2024 10:12:16 +0800
Subject: [PATCH] xiugai

---
 src/views/dataUpload/saftyBaseInfo/productionInfo/index.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/views/dataUpload/saftyBaseInfo/productionInfo/index.vue b/src/views/dataUpload/saftyBaseInfo/productionInfo/index.vue
index 7325ab5..364f1b2 100644
--- a/src/views/dataUpload/saftyBaseInfo/productionInfo/index.vue
+++ b/src/views/dataUpload/saftyBaseInfo/productionInfo/index.vue
@@ -22,7 +22,17 @@
               <el-table-column prop="controlMean" label="现有安全控制手段" show-overflow-tooltip></el-table-column>
               <el-table-column prop="craftDraw" label="工艺图纸" show-overflow-tooltip>
                 <template #default="scope">
-                  <el-button v-if="scope.row.craftDraw !== ''" v-for="item in scope.row.craftDraw.split(',')" size="small" text type="primary" @click="openFile(item)">查看</el-button>
+<!--                  <el-button v-if="scope.row.craftDraw !== ''" v-for="item in scope.row.craftDraw.split(',')" size="small" text type="primary" @click="openFile(item)">查看</el-button>-->
+                  <div v-if="scope.row.craftDraw !== ''">
+                    <el-image
+                        v-for="(item,index) in scope.row.craftDraw.split(',')"
+                        style="width: 50px; height: 50px"
+                        :src="item"
+                        fit="cover"
+                        :preview-teleported= true
+                    />
+                  </div>
+
                 </template>
               </el-table-column>
               <el-table-column prop="reactionType" label="反应类型" show-overflow-tooltip></el-table-column>

--
Gitblit v1.9.2