From eae578bb6f0b548faaa081f07ac0eaf6528f8e17 Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期三, 03 一月 2024 08:16:35 +0800
Subject: [PATCH] 优化

---
 jcdm-ui/src/views/main/bs/formulaChild/index.vue |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/jcdm-ui/src/views/main/bs/formulaChild/index.vue b/jcdm-ui/src/views/main/bs/formulaChild/index.vue
index 677ade2..67c79d1 100644
--- a/jcdm-ui/src/views/main/bs/formulaChild/index.vue
+++ b/jcdm-ui/src/views/main/bs/formulaChild/index.vue
@@ -163,6 +163,13 @@
           <el-table-column label="閰嶆柟缂栫爜" width="130" align="center" prop="formulaCode">
           </el-table-column>
           <el-table-column label="鍥剧墖" :show-overflow-tooltip='true' width="130" align="center" prop="picture">
+            <template slot-scope="scope">
+              <el-image
+                style="width: 100px; height: 100px"
+                :src="pjtUrl+scope.row.picture"
+                :fit="fit">
+              </el-image>
+            </template>
           </el-table-column>
           <el-table-column label="澶囨敞" width="130" align="center" prop="remarks">
           </el-table-column>
@@ -280,6 +287,7 @@
   name: "FormulaChild",
   data() {
     return {
+      pjtUrl: process.env.VUE_APP_BASE_API,
       headerInformationData:{
         formulaCode: "",
         formulaName: "",

--
Gitblit v1.9.3