From a241b66efcc41e973290a6722fb7a4d79b833ea1 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 13 十月 2026 09:54:32 +0800
Subject: [PATCH] feat(bi): 为图表配置接口添加名称字段

---
 src/views/mes/md/item/modules/product-media-list.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/mes/md/item/modules/product-media-list.vue b/src/views/mes/md/item/modules/product-media-list.vue
index e2b2adc..804e178 100644
--- a/src/views/mes/md/item/modules/product-media-list.vue
+++ b/src/views/mes/md/item/modules/product-media-list.vue
@@ -48,14 +48,17 @@
 );
 
 const isReadOnly = computed(() => props.formType === 'detail'); // 鏄惁鍙
-const title = computed(() => props.kind); // 褰撳墠濯掍綋绫诲瀷鏍囬
+const title = computed(() =>
+  props.kind === 'SIP' ? '妫�楠屾寚瀵间功(SIP)' : '浣滀笟鎸囧涔�(SOP)',
+);
 
 /** 灏嗗畬鏁� URL 杞负鐩稿璺緞锛岀‘淇濊蛋鍓嶇浠g悊 */
 function resolveImageUrl(url?: string): string {
   if (!url) return '';
   try {
-    const { pathname } = new URL(url, window.location.origin);
-    return pathname;
+    const { pathname, search } = new URL(url, window.location.origin);
+    // 淇濈暀 pathname + 鏌ヨ鍙傛暟锛坧ublicKey锛夛紝纭繚鍚庣鑳介獙璇�
+    return pathname + search;
   } catch {
     return url;
   }
@@ -125,7 +128,6 @@
       label: '鍥剧墖',
       component: markRaw(ImageUpload),
       componentProps: {
-        maxNumber: 1,
         showDescription: false,
       },
     },

--
Gitblit v1.9.3