From d1ce79c837650689ab47bbf587d076743fcb3a5f Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 19 五月 2025 17:25:38 +0800
Subject: [PATCH] 1. 问题审核界面新增场景信息编辑入口 2. 问题审核界面场景图片查询新增图片类型修改功能

---
 src/views/fysp/data-product/components/CompImgInfo.vue |   41 +++++++++++++++++++++++++++++++----------
 1 files changed, 31 insertions(+), 10 deletions(-)

diff --git a/src/views/fysp/data-product/components/CompImgInfo.vue b/src/views/fysp/data-product/components/CompImgInfo.vue
index 5afab32..48a0b51 100644
--- a/src/views/fysp/data-product/components/CompImgInfo.vue
+++ b/src/views/fysp/data-product/components/CompImgInfo.vue
@@ -4,15 +4,19 @@
       <tr v-if="!downTitle">
         <td>
           <el-row justify="space-between" align="middle">
-            {{ title }}
-            <el-button size="small" @click="$emit('change')">{{
-              btnName
-            }}</el-button>
+            <!-- {{ title }} -->
+            <el-input
+              size="small"
+              :model-value="title"
+              @input="handleInputChange"
+              placeholder="鏍囬"
+              style="width: 150px"
+            />
           </el-row>
         </td>
       </tr>
       <tr>
-        <td>
+        <td style="position: relative">
           <el-image
             class="image"
             :src="imgSrc"
@@ -29,15 +33,22 @@
               </div>
             </template>
           </el-image>
+          <el-button class="pop-button" size="small" @click="$emit('change')">{{
+            btnName
+          }}</el-button>
         </td>
       </tr>
       <tr v-if="downTitle">
         <td>
           <el-row justify="space-between" align="middle">
-            {{ title }}
-            <el-button size="small" @click="$emit('change')">{{
-              btnName
-            }}</el-button>
+            <!-- {{ title }} -->
+            <el-input
+              size="small"
+              :model-value="title"
+              @input="handleInputChange"
+              placeholder="鏍囬"
+              style="width: 150px"
+            />
           </el-row>
         </td>
       </tr>
@@ -60,7 +71,11 @@
 
 // const unchangeImg = '../../../../assets/image/unchange.png'
 
-const emit = defineEmits(['change']);
+const emit = defineEmits(['change', 'update:title']);
+
+function handleInputChange(value) {
+  emit('update:title', value);
+}
 </script>
 <style scoped>
 .image {
@@ -96,4 +111,10 @@
   height: 100%;
   background: var(--el-fill-color-light);
 }
+
+.pop-button {
+  position: absolute;
+  bottom: 0;
+  right: 0;
+}
 </style>

--
Gitblit v1.9.3