From ea1dbb7af46cac7f4f88232da6dda145aea5ff00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Wed, 30 Jul 2025 18:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=AC=E6=B5=B7=E5=92=8C?= =?UTF-8?q?=E8=AF=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/admin/inquiry_system/index.vue | 6 +++--- src/views/crmpc/highseas/index.vue | 21 ++++++++++++++++++--- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/views/admin/inquiry_system/index.vue b/src/views/admin/inquiry_system/index.vue index 40c56b3..1c7faa5 100644 --- a/src/views/admin/inquiry_system/index.vue +++ b/src/views/admin/inquiry_system/index.vue @@ -199,8 +199,8 @@
等级: - - {{detailRow.quality==0 ? '金牌商机' : detailRow.quality==1 ? '银牌商机' : '铜牌商机'}} + + {{detailRow.quality==1 ? '金牌商机' : detailRow.quality==2 ? '银牌商机' : '铜牌商机'}}
- +
- -
+ +
@@ -176,14 +176,29 @@ // 用户点击了取消 }) } - + function processImages(html: string) { + const parser = new DOMParser() + const doc = parser.parseFromString(html, 'text/html') + doc.querySelectorAll('img').forEach((img) => { + img.style.maxWidth = '100%' + img.style.height = 'auto' + }) + return doc.body.innerHTML + } function onDetail(row: any) { + row.desc_collect = processImages(row.desc_collect) // 处理图片 detailRow.value = row detailDialogVisible.value = true }