From 5d7df50e25c28b05d3a06e5ce6631546cff061dd Mon Sep 17 00:00:00 2001 From: wanghao Date: Tue, 7 Jul 2026 17:40:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(emergency):=20=E6=80=A5=E6=95=91=E5=AE=A3?= =?UTF-8?q?=E6=95=99=E6=8E=A8=E9=80=81=E6=94=B9=E4=B8=BA=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=8E=A8=20article=20=E5=8D=A1=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 前端不再通过 postMessage 推送自定义消息,改由后端 push/send 接口直接推送 businessID=article 的自定义消息到 IM 会话。iweb 端新增 article 卡片渲染分支(左缩略图 + 右标题摘要横向布局, max-width 280px),并加消息接收调试日志。 同时切换开发环境后台地址到 10.10.10.228:19996。 --- .env.development | 4 +- .../TUIChat/components/message-custom.vue | 59 + .../TUIComponents/container/TUIChat/server.ts | 8 + .../TUIComponents/container/constant.ts | 1 + package-lock.json | 26425 ++++++++++++++++ public/static/im-web/css/app.e6e597ee.css | 1 - public/static/im-web/css/app.f83e8594.css | 1 + public/static/im-web/index.html | 4 +- public/static/im-web/js/app.d3bfe68a.js | 1 - public/static/im-web/js/app.ece2c62c.js | 1 + .../communication/components/FirstAidPush.vue | 37 +- .../communication/components/specialized.vue | 2 +- 12 files changed, 26503 insertions(+), 41 deletions(-) create mode 100644 package-lock.json delete mode 100644 public/static/im-web/css/app.e6e597ee.css create mode 100644 public/static/im-web/css/app.f83e8594.css delete mode 100644 public/static/im-web/js/app.d3bfe68a.js create mode 100644 public/static/im-web/js/app.ece2c62c.js diff --git a/.env.development b/.env.development index 147d193..2fdb195 100644 --- a/.env.development +++ b/.env.development @@ -11,13 +11,13 @@ VITE_PUBLIC_PATH = / VITE_DROP_CONSOLE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=http://10.10.20.18 +VITE_GLOB_API_URL=http://10.10.10.228:19996 #VITE_GLOB_API_URL=https://xj-api.mcrm.vip:8888 #VITE_GLOB_API_URL=http://192.168.1.223 #VITE_GLOB_API_URL=http://cqyt.test.yg.dt.io #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://10.10.20.18 +VITE_GLOB_DOMAIN_URL=http://10.10.10.228:19996 #VITE_GLOB_DOMAIN_URL=https://xj-api.mcrm.vip:8888 #VITE_GLOB_DOMAIN_URL=http://192.168.1.223 #VITE_GLOB_DOMAIN_URL=http://cqyt.test.yg.dt.io diff --git a/iweb/src/TUIKit/TUIComponents/container/TUIChat/components/message-custom.vue b/iweb/src/TUIKit/TUIComponents/container/TUIChat/components/message-custom.vue index 244a95c..32c9da7 100644 --- a/iweb/src/TUIKit/TUIComponents/container/TUIChat/components/message-custom.vue +++ b/iweb/src/TUIKit/TUIComponents/container/TUIChat/components/message-custom.vue @@ -94,6 +94,15 @@ +