From bbbc478129f72b26e2ec4a2e981ed8698a96880c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 22 十月 2026 00:28:18 +0800
Subject: [PATCH] 当service_type=6时,需要根据传入的入院还是离院病区(病区)去后端查询
---
src/views/outsideChainxj.vue | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/views/outsideChainxj.vue b/src/views/outsideChainxj.vue
index 33d82ba..b9a93b3 100644
--- a/src/views/outsideChainxj.vue
+++ b/src/views/outsideChainxj.vue
@@ -123,10 +123,21 @@
},
addStyleToImages(html) {
- return html.replace(
+ if (!html) return html;
+
+ // 1. 鍏堜慨澶嶈矾寰�
+ let processedHtml = html.replace(
+ /\/aifollowup\/aifollowup\//g,
+ "/aifollowup/"
+ );
+
+ // 2. 鍐嶄慨澶嶆牱寮�
+ processedHtml = processedHtml.replace(
/<img([^>]*)style=(['"])(?:(?!\2).)*\2([^>]*)>/g,
'<img$1style="width:100%;height:auto;"$3>'
);
+
+ return processedHtml;
},
// 鍔犲瘑鍑芥暟
encrypt(txt) {
--
Gitblit v1.9.3