From 47596eb02c7978f7691fa420c8926b25a90ea25a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=9F=B5=E7=90=B4?= <757188142@qq.com> Date: Fri, 10 Apr 2026 13:50:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=92=A8=E8=AF=A2=E5=9B=9B=E7=A7=8D=E7=8A=B6=E6=80=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E5=8F=8A=E5=A4=9A=E6=A8=A1=E5=9D=97=E5=8E=9F?= =?UTF-8?q?=E5=9E=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- .idea/claudeCodeTabState.xml | 4 +- emergency-app/ai-assistant/index.html | 18 +- emergency-app/assistant/doc/CHANGELOG.md | 27 ++ emergency-app/assistant/doc/PRD.md | 62 ++- emergency-app/assistant/knowledge/index.html | 3 + .../assistant/profile/change-pwd.html | 87 ++++ emergency-app/assistant/profile/index.html | 119 +++++ emergency-app/assistant/profile/stats.html | 120 +++++ emergency-app/assistant/workbench/index.html | 3 + emergency-app/expert/doc/CHANGELOG.md | 16 + emergency-app/expert/knowledge/index.html | 3 + emergency-app/expert/profile/index.html | 3 + emergency-app/expert/workbench/index.html | 3 + emergency-app/message/index.html | 21 +- employee-app/health-consult/doc/CHANGELOG.md | 29 ++ employee-app/health-consult/doc/PRD.md | 105 ++++- employee-app/health-consult/my-records.html | 46 +- .../health-consult/record-detail-rated.html | 358 +++++++++++++++ .../health-consult/record-detail-unrated.html | 341 +++++++++++++++ .../health-consult/record-detail.html | 147 ++++++- .../video-detail-cancelled.html | 196 +++++++++ .../health-consult/video-detail-done.html | 190 ++++++++ .../health-consult/video-detail-pending.html | 205 +++++++++ .../health-consult/video-detail-rejected.html | 195 +++++++++ index.html | 5 +- .../health-consult/consult-record-detail.html | 411 ++++++++++++------ web-admin/health-consult/consult-record.html | 235 +++++++--- web-admin/health-consult/exception-dirty.html | 145 ++---- .../health-consult/exception-result.html | 339 --------------- .../health-consult/expert-statistics.html | 63 +-- .../health-consult/history-assistant.html | 17 +- .../health-consult/history-evaluation.html | 29 +- 32 files changed, 2807 insertions(+), 738 deletions(-) create mode 100644 emergency-app/assistant/profile/change-pwd.html create mode 100644 emergency-app/assistant/profile/index.html create mode 100644 emergency-app/assistant/profile/stats.html create mode 100644 employee-app/health-consult/record-detail-rated.html create mode 100644 employee-app/health-consult/record-detail-unrated.html create mode 100644 employee-app/health-consult/video-detail-cancelled.html create mode 100644 employee-app/health-consult/video-detail-done.html create mode 100644 employee-app/health-consult/video-detail-pending.html create mode 100644 employee-app/health-consult/video-detail-rejected.html delete mode 100644 web-admin/health-consult/exception-result.html diff --git a/.idea/claudeCodeTabState.xml b/.idea/claudeCodeTabState.xml index 131ac1c..b5be66c 100644 --- a/.idea/claudeCodeTabState.xml +++ b/.idea/claudeCodeTabState.xml @@ -7,9 +7,9 @@ diff --git a/emergency-app/ai-assistant/index.html b/emergency-app/ai-assistant/index.html index 90aa8b8..21f9a76 100644 --- a/emergency-app/ai-assistant/index.html +++ b/emergency-app/ai-assistant/index.html @@ -92,12 +92,12 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
- + 🏥 工作台 3 - + 📚 知识库 @@ -110,7 +110,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: 消息 2 - + 👤 我的 @@ -118,6 +118,18 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
+ + diff --git a/emergency-app/assistant/profile/index.html b/emergency-app/assistant/profile/index.html new file mode 100644 index 0000000..2425438 --- /dev/null +++ b/emergency-app/assistant/profile/index.html @@ -0,0 +1,119 @@ + + + + + +咨询小助手 - 我的 | 健康长庆原型 + + + + +
+ +
+ 9:41 +
●●●WiFi🔋
+
+ + +
+
+
👩‍💼
+
+
李小雨
+
咨询小助手
+
健康管理中心
+
+
+
+ + +
+ +
+ +
+ 📊咨询统计 + 今日 24 次 + +
+
+ + +
+ +
+ 🔒修改密码 + +
+
+ ℹ️关于我们 + +
+
+ + + +
+ + + + + +
+
🏥工作台3
+
📚知识库
+
🤖AI助手
+
💬消息2
+
👤我的
+
+
+ + + + diff --git a/emergency-app/assistant/profile/stats.html b/emergency-app/assistant/profile/stats.html new file mode 100644 index 0000000..8723efd --- /dev/null +++ b/emergency-app/assistant/profile/stats.html @@ -0,0 +1,120 @@ + + + + + +咨询小助手 - 咨询统计 | 健康长庆原型 + + + + +
+
+ 9:41 +
●●●WiFi🔋
+
+ + + +
+ +
+
数据概览
+
+
+
24
+
今日完成
+
+
+
102
+
本周完成
+
+
+
436
+
本月完成
+
+
+
2,158
+
累计完成
+
+
+
+ + +
+
本月咨询类型
+
+ 图文咨询 +
+
+
+ 436 +
+
+ + +
+
近7日完成量
+
+
+
18
+
+
4/4
+
+
+
22
+
+
4/5
+
+
+
30
+
+
4/6
+
+
+
15
+
+
4/7
+
+
+
28
+
+
4/8
+
+
+
20
+
+
4/9
+
+
+
24
+
+
今日
+
+
+
+ +
+
+
+ + + diff --git a/emergency-app/assistant/workbench/index.html b/emergency-app/assistant/workbench/index.html index 4450849..82aaa18 100644 --- a/emergency-app/assistant/workbench/index.html +++ b/emergency-app/assistant/workbench/index.html @@ -193,6 +193,9 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: diff --git a/employee-app/health-consult/doc/CHANGELOG.md b/employee-app/health-consult/doc/CHANGELOG.md index 6905d33..aaa6793 100644 --- a/employee-app/health-consult/doc/CHANGELOG.md +++ b/employee-app/health-consult/doc/CHANGELOG.md @@ -4,6 +4,35 @@ --- +## [2026-04-10] feat: 新增视频咨询四种状态详情页,完善视频咨询列表 + +**涉及文件(5个):** +- `my-records.html` — 视频咨询Tab新增"已取消"和"已拒绝"两条记录,新增对应状态样式(灰色/红色),各记录链接指向独立详情页 +- `video-detail-pending.html` — 新增视频咨询待开始详情页:医生信息(橙色标签)、可展开咨询人档案、蓝色视频Banner、信息卡片、温馨提示、底部"取消预约"+"等待预约时间"按钮 +- `video-detail-done.html` — 新增视频咨询已完成详情页:医生信息(绿色标签)、可展开咨询人档案、绿色视频Banner、信息卡片(含拨打时间/通话时长)、底部"再次预约"+"评价"按钮 +- `video-detail-cancelled.html` — 新增视频咨询已取消详情页:医生信息(灰色标签)、可展开咨询人档案、灰色视频Banner、信息卡片(含取消时间)、取消原因区块、底部"再次预约"按钮 +- `video-detail-rejected.html` — 新增视频咨询已拒绝详情页:医生信息(红色标签)、可展开咨询人档案、红色视频Banner、信息卡片、拒绝原因区块、底部"重新预约"按钮 + +--- + +## [2026-04-10] feat: 优化咨询详情页面,支持已评价/未评价两种状态展示 + +**涉及文件(3个):** +- `record-detail.html` — 添加状态切换逻辑,支持已评价/未评价两种UI展示;新增"我的评价"区域、"咨询人健康档案"入口、"医生咨询小结"区域;修改底部按钮为"再次咨询"(蓝色边框)+ "评价"/"已评价"(根据状态切换) +- `record-detail-rated.html` — 已评价状态演示版本(显示5星评价 + "已评价"禁用按钮) +- `record-detail-unrated.html` — 未评价状态演示版本(隐藏评价 + "评价"蓝色按钮) + +**变更说明:** +- 新增"我的评价"区域,已评价时显示5星评价 +- 新增"咨询人健康档案"入口卡片 +- 新增"医生咨询小结"区域(黄色背景提示框) +- 修改底部按钮布局:从单个"继续咨询"改为两个按钮组合 + - 已评价:「再次咨询」(蓝色边框)+ 「已评价」(灰色禁用) + - 未评价:「再次咨询」(蓝色边框)+ 「评价」(蓝色填充) +- 添加 JavaScript 初始化逻辑,根据 `isRated` 变量切换UI状态 + +--- + ## [2026-04-09] fix: 修复返回键路由问题,新增科室/疾病专家数量展示 **涉及文件(7个):** diff --git a/employee-app/health-consult/doc/PRD.md b/employee-app/health-consult/doc/PRD.md index e25f632..6c35348 100644 --- a/employee-app/health-consult/doc/PRD.md +++ b/employee-app/health-consult/doc/PRD.md @@ -2,7 +2,7 @@ > **所属端**:员工端 APP > **模块路径**:`employee-app/health-consult/` -> **最后更新**:2026-04-09 +> **最后更新**:2026-04-10 --- @@ -34,6 +34,8 @@ stateDiagram-v2 [*] --> 进行中: 发起图文咨询 [*] --> 待开始: 预约视频咨询 待开始 --> 进行中: 到达预约时间 + 待开始 --> 已取消: 用户取消预约 + 待开始 --> 已拒绝: 医生拒绝预约 进行中 --> 已完成: 结束咨询 已完成 --> 已评价: 提交评价 ``` @@ -60,6 +62,10 @@ stateDiagram-v2 | 16 | `select-person-dialog.html` | 弹窗 | 选择/新增咨询人 | | 17 | `select-report-dialog.html` | 弹窗 | 选择体检报告 | | 18 | `rate-dialog.html` | 弹窗 | 评价医生(弹窗版) | +| 19 | `video-detail-pending.html` | 页面 | 视频咨询详情 - 待开始 | +| 20 | `video-detail-done.html` | 页面 | 视频咨询详情 - 已完成 | +| 21 | `video-detail-cancelled.html` | 页面 | 视频咨询详情 - 已取消 | +| 22 | `video-detail-rejected.html` | 页面 | 视频咨询详情 - 已拒绝 | --- @@ -203,14 +209,14 @@ stateDiagram-v2 **业务规则** -- 咨询状态及对应样式:`进行中`(蓝色)、`已完成`(绿色)、`待开始`(橙色) +- 咨询状态及对应样式:`进行中`(蓝色)、`已完成`(绿色)、`待开始`(橙色)、`已取消`(灰色)、`已拒绝`(红色) - 已完成的图文咨询如已评价则显示"已评价"标记 -- 视频咨询 `待开始` 状态显示预约时间,`已完成` 显示通话时长 +- 视频咨询 `待开始` 状态显示预约时间,`已完成` 显示通话时长,`已取消` 显示预约时间,`已拒绝` 显示预约时间 **交互说明** - Tab 栏切换图文/视频记录列表 -- 点击记录卡片跳转到咨询详情页 +- 点击记录卡片跳转到对应咨询详情页:图文咨询跳转到咨询详情页,视频咨询根据状态跳转到对应的视频详情页(待开始/已完成/已取消/已拒绝) - 导航栏返回 → 健康咨询首页 --- @@ -219,16 +225,99 @@ stateDiagram-v2 **功能说明** -展示单条咨询记录详情:医生信息栏 + 状态标签、咨询信息(类型、时间、状态、时长)、对话入口卡片、底部"继续咨询"按钮。 +展示单条咨询记录详情。包含医生信息栏、咨询信息卡片、咨询人健康档案入口、历史对话入口、医生咨询小结。根据咨询是否已评价,显示不同的UI: +- **已评价状态**:显示"我的评价"区域(5星评价)、医生咨询小结,底部按钮为"再次咨询"(蓝色边框)+ "已评价"(灰色禁用) +- **未评价状态**:隐藏"我的评价"区域,显示医生咨询小结,底部按钮为"再次咨询"(蓝色边框)+ "评价"(蓝色填充) **业务规则** -- 仅「进行中」状态显示"继续咨询"按钮 -- 进行中的咨询时长显示 `-` +- 已完成的咨询显示医生咨询小结 +- 已评价的咨询显示5星评价,"评价"按钮变为"已评价"禁用状态 +- 未评价的咨询隐藏评价区域,显示"评价"按钮 **交互说明** -- 点击对话入口卡片或「继续咨询」按钮,跳转到图文咨询聊天页 +- 点击对话入口卡片或「再次咨询」按钮,跳转到图文咨询聊天页 +- 点击「咨询人健康档案」入口,跳转到健康档案详情页 +- 点击「评价」按钮(未评价状态),跳转到评价医生页 +- 导航栏返回 → 我的咨询记录页 + +--- + +### 2.8a 视频咨询详情 - 待开始(video-detail-pending.html) + +**功能说明** + +视频咨询待开始状态的详情页。展示医生信息(橙色"待开始"标签)、可展开/收起的咨询人健康档案、蓝色视频咨询Banner(含预约时间)、咨询信息卡片、温馨提示。 + +**业务规则** + +- 预约时间前15分钟系统推送提醒 +- 用户可在预约时间前取消预约 +- "等待预约时间"按钮为置灰禁用状态 + +**交互说明** + +- 点击「咨询人健康档案」展开/收起档案详情(基本信息、生活习惯、身体情况) +- 点击「取消预约」取消当前视频咨询预约 +- 导航栏返回 → 我的咨询记录页 + +--- + +### 2.8b 视频咨询详情 - 已完成(video-detail-done.html) + +**功能说明** + +视频咨询已完成状态的详情页。展示医生信息(绿色"已完成"标签)、可展开/收起的咨询人健康档案、绿色视频咨询Banner、咨询信息卡片(含视频拨打时间和通话时长)。 + +**业务规则** + +- 显示实际视频拨打时间段和通话时长 +- 未评价时显示"评价"按钮,已评价后按钮变为禁用 + +**交互说明** + +- 点击「咨询人健康档案」展开/收起档案详情 +- 点击「再次预约」跳转到视频咨询预约页 +- 点击「评价」跳转到评价医生页 +- 导航栏返回 → 我的咨询记录页 + +--- + +### 2.8c 视频咨询详情 - 已取消(video-detail-cancelled.html) + +**功能说明** + +视频咨询已取消状态的详情页。展示医生信息(灰色"已取消"标签)、可展开/收起的咨询人健康档案、灰色视频咨询Banner、咨询信息卡片(含取消时间)、取消原因区块。 + +**业务规则** + +- 取消原因由用户取消时填写或系统自动生成 +- 取消原因区块使用灰色左边框样式 + +**交互说明** + +- 点击「咨询人健康档案」展开/收起档案详情 +- 点击「再次预约」跳转到视频咨询预约页 +- 导航栏返回 → 我的咨询记录页 + +--- + +### 2.8d 视频咨询详情 - 已拒绝(video-detail-rejected.html) + +**功能说明** + +视频咨询已拒绝状态的详情页。展示医生信息(红色"已拒绝"标签)、可展开/收起的咨询人健康档案、红色视频咨询Banner、咨询信息卡片、拒绝原因区块。 + +**业务规则** + +- 拒绝原因由医生填写 +- 拒绝原因区块使用红色左边框样式 + +**交互说明** + +- 点击「咨询人健康档案」展开/收起档案详情 +- 点击「重新预约」跳转到视频咨询预约页(可选择其他时间或医生) - 导航栏返回 → 我的咨询记录页 --- diff --git a/employee-app/health-consult/my-records.html b/employee-app/health-consult/my-records.html index 8e13f6d..fdc174e 100644 --- a/employee-app/health-consult/my-records.html +++ b/employee-app/health-consult/my-records.html @@ -80,6 +80,8 @@ .status-done { background: #f6ffed; color: #52c41a; } .status-ongoing { background: #e6f4ff; color: #1677ff; } .status-pending { background: #fff7e6; color: #fa8c16; } + .status-cancelled { background: #f5f5f5; color: #999; } + .status-rejected { background: #fff2f0; color: #ff4d4f; } .ri-consult-person { font-size: 12px; color: #666; margin-top: 10px; display: flex; align-items: center; gap: 6px; } .ri-consult-person .rated-tag { font-size: 11px; background: #f6ffed; color: #52c41a; padding: 1px 6px; border-radius: 10px; } .ri-msg { font-size: 13px; color: #666; margin-top: 8px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @@ -139,8 +141,8 @@
2026-04-07 10:20
- - + +
👩‍⚕️
@@ -154,8 +156,8 @@
2026-03-28 14:35
- - + +
👨‍⚕️
@@ -173,8 +175,8 @@
- - + +
👨‍⚕️
@@ -187,8 +189,8 @@
预约于 2026-04-07 11:00
- - + + diff --git a/employee-app/health-consult/record-detail-rated.html b/employee-app/health-consult/record-detail-rated.html new file mode 100644 index 0000000..2763279 --- /dev/null +++ b/employee-app/health-consult/record-detail-rated.html @@ -0,0 +1,358 @@ + + + + + + 咨询详情 - 已评价 + + + + +
+ + +
+ 10:24 +
+ + +
+
+ + + + + +
+ + +
+
👩‍⚕️
+
+
李晓梅医生
+
上海瑞金医院 · 内分泌科
+
+ 已完成 +
+ + +
+
+ 咨询类型 + 💬 图文咨询 +
+
+ 咨询时间 + 2026-03-28 14:35 +
+
+ 咨询人 + 张三(父亲) +
+
+ 咨询状态 + 已完成 +
+
+ 咨询时长 + 32分钟 +
+
+ + +
+
我的评价
+
+ + + + + +
+
+ + +
+ 📋 + 咨询人健康档案 + +
+ + +
+ +
+
基本信息
+
+ 姓名 + 张三 +
+
+ 性别 / 年龄 + 男 / 58岁 +
+
+ 身高 / 体重 + 172 cm / 80 kg +
+
+ + +
+
生活习惯
+
+ 吸烟 + +
+
+ 饮酒 + 偶尔 +
+
+ 饮食喜好 + 偏油腻 +
+
+ 睡眠质量 + 一般 +
+
+ + +
+
身体情况
+
+ 过敏史 + +
+
+ 遗传史 + 高血压家族史 +
+
+ 既往史 + 阑尾炎手术 +
+
+ 其他疾病 + 高血压、高血脂 +
+
+
+ + + + 💬 +
+
查看历史对话记录
+
点击查看完整对话内容
+
+ +
+ + +
+
📋 医生咨询小结
+
您的血糖控制情况良好,继续保持现有的饮食和运动习惯。建议每3个月复查一次血糖指标,定期监测血压。
+
+ +
+ + + + + +
+
+ + + diff --git a/employee-app/health-consult/record-detail-unrated.html b/employee-app/health-consult/record-detail-unrated.html new file mode 100644 index 0000000..2eb867f --- /dev/null +++ b/employee-app/health-consult/record-detail-unrated.html @@ -0,0 +1,341 @@ + + + + + + 咨询详情 - 未评价 + + + + +
+ + +
+ 10:24 +
+ + +
+
+ + + + + +
+ + +
+
👨‍⚕️
+
+
王志远医生
+
广州中山医院 · 骨科
+
+ 已完成 +
+ + +
+
+ 咨询类型 + 💬 图文咨询 +
+
+ 咨询时间 + 2026-03-15 09:10 +
+
+ 咨询人 + 本人 +
+
+ 咨询状态 + 已完成 +
+
+ 咨询时长 + 25分钟 +
+
+ + +
+ 📋 + 咨询人健康档案 + +
+ + +
+ +
+
基本信息
+
+ 姓名 + 本人 +
+
+ 性别 / 年龄 + 男 / 45岁 +
+
+ 身高 / 体重 + 175 cm / 75 kg +
+
+ + +
+
生活习惯
+
+ 吸烟 + +
+
+ 饮酒 + 偶尔 +
+
+ 饮食喜好 + 清淡 +
+
+ 睡眠质量 + 良好 +
+
+ + +
+
身体情况
+
+ 过敏史 + +
+
+ 遗传史 + +
+
+ 既往史 + +
+
+ 其他疾病 + +
+
+
+ + + + 💬 +
+
查看历史对话记录
+
点击查看完整对话内容
+
+ +
+ + +
+
📋 医生咨询小结
+
建议您做颈椎MRI检查,明确诊断。同时建议进行颈椎牵引治疗,配合物理治疗。避免长时间低头,定期做颈椎保健操。
+
+ +
+ + + + + +
+
+ + + diff --git a/employee-app/health-consult/record-detail.html b/employee-app/health-consult/record-detail.html index bfe594c..0a0d1e4 100644 --- a/employee-app/health-consult/record-detail.html +++ b/employee-app/health-consult/record-detail.html @@ -100,9 +100,60 @@ .chat-entry .ce-sub { font-size: 12px; color: #999; margin-top: 2px; } .chat-entry .ce-arrow { font-size: 18px; color: #ccc; flex-shrink: 0; } + /* 我的评价区域 */ + .rating-section { margin: 12px 16px; background: #fff; border-radius: 14px; padding: 16px; display: none; } + .rating-section.show { display: block; } + .rating-section .rs-label { font-size: 13px; color: #999; margin-bottom: 8px; } + .rating-section .rs-stars { display: flex; gap: 4px; } + .rating-section .rs-stars .star { font-size: 20px; } + + /* 咨询人健康档案 */ + .health-record-entry { + margin: 12px 16px; + background: #fff; + border-radius: 14px; + padding: 16px; + display: flex; + align-items: center; + gap: 12px; + cursor: pointer; + box-shadow: 0 2px 8px rgba(0,0,0,0.06); + text-decoration: none; + color: inherit; + transition: transform 0.15s; + } + .health-record-entry:active { transform: scale(0.98); } + .health-record-entry .hre-icon { font-size: 24px; flex-shrink: 0; } + .health-record-entry .hre-title { font-size: 15px; font-weight: 600; color: #1a1a1a; flex: 1; } + .health-record-entry .hre-arrow { font-size: 18px; color: #ccc; flex-shrink: 0; } + + /* 医生咨询小结 */ + .doctor-summary { + margin: 12px 16px; + background: #fffbe6; + border-radius: 14px; + padding: 16px; + border-left: 4px solid #faad14; + } + .doctor-summary .ds-title { font-size: 14px; font-weight: 600; color: #d46b08; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; } + .doctor-summary .ds-content { font-size: 13px; color: #ad6800; line-height: 1.6; } + /* 底部操作栏 */ .detail-footer { padding: 12px 16px; background: #fff; border-top: 1px solid #f0f0f0; flex-shrink: 0; display: flex; gap: 10px; } - .detail-footer .btn-continue { + .detail-footer .btn-outline { + flex: 1; + height: 44px; + background: #fff; + color: #1677ff; + border: 2px solid #1677ff; + border-radius: 22px; + font-size: 15px; + font-weight: 600; + cursor: pointer; + transition: opacity 0.15s; + } + .detail-footer .btn-outline:active { opacity: 0.85; } + .detail-footer .btn-primary { flex: 1; height: 44px; background: #1677ff; @@ -114,7 +165,18 @@ cursor: pointer; transition: opacity 0.15s; } - .detail-footer .btn-continue:active { opacity: 0.85; } + .detail-footer .btn-primary:active { opacity: 0.85; } + .detail-footer .btn-disabled { + flex: 1; + height: 44px; + background: #f0f0f0; + color: #bfbfbf; + border: none; + border-radius: 22px; + font-size: 15px; + font-weight: 600; + cursor: not-allowed; + } /* 底部安全区留白 */ .bottom-spacer { height: 34px; flex-shrink: 0; background: #fff; } @@ -162,16 +224,39 @@ 咨询时间 2026-04-07 10:20
+
+ 咨询人 + 张三(父亲) +
咨询状态 - 进行中 + 已完成
咨询时长 - + 32分钟
+ +
+
我的评价
+
+ + + + + +
+
+ + + + 📋 + 咨询人健康档案 + + + 💬 @@ -182,15 +267,65 @@ + + +
- +
+ + diff --git a/employee-app/health-consult/video-detail-cancelled.html b/employee-app/health-consult/video-detail-cancelled.html new file mode 100644 index 0000000..6024004 --- /dev/null +++ b/employee-app/health-consult/video-detail-cancelled.html @@ -0,0 +1,196 @@ + + + + + + 咨询详情 - 视频咨询已取消 + + + +
+
+ 10:24 +
+ + +
+
+ + + +
+
+
👨‍⚕️
+
+
刘伟医生
+
武汉同济医院 · 消化内科
+
+ 已取消 +
+ + + + +
+ 📋 + 咨询人健康档案 + +
+
+
+
基本信息
+
姓名本人
+
性别 / 年龄男 / 35岁
+
身高 / 体重175 cm / 72 kg
+
+
+
生活习惯
+
吸烟
+
饮酒偶尔
+
饮食喜好清淡
+
睡眠质量良好
+
+
+
身体情况
+
过敏史青霉素过敏
+
遗传史
+
既往史
+
其他疾病
+
+
+ + +
+
📹
+
+
视频咨询
+
预约时间:2026-03-10 15:00
+
+ 已取消 +
+ + +
+
咨询类型📹 视频咨询
+
预约时间2026-03-10 15:00
+
取消时间2026-03-09 11:20
+
咨询状态已取消
+
+ + +
+
取消原因
+
个人时间冲突,无法按时参加视频咨询。
+
+
+ + + +
+
+ + + + diff --git a/employee-app/health-consult/video-detail-done.html b/employee-app/health-consult/video-detail-done.html new file mode 100644 index 0000000..3fb2b76 --- /dev/null +++ b/employee-app/health-consult/video-detail-done.html @@ -0,0 +1,190 @@ + + + + + + 咨询详情 - 视频咨询已完成 + + + +
+
+ 10:24 +
+ + +
+
+ + + +
+
+
👩‍⚕️
+
+
陈美华医生
+
北京天坛医院 · 神经内科
+
+ 已完成 +
+ + + + +
+ 📋 + 咨询人健康档案 + +
+
+
+
基本信息
+
姓名本人
+
性别 / 年龄男 / 35岁
+
身高 / 体重175 cm / 72 kg
+
+
+
生活习惯
+
吸烟
+
饮酒偶尔
+
饮食喜好清淡
+
睡眠质量良好
+
+
+
身体情况
+
过敏史青霉素过敏
+
遗传史
+
既往史
+
其他疾病
+
+
+ + +
+
📹
+
+
视频咨询
+
预约时间:2026-03-20 10:00
+
+ 已完成 +
+ + +
+
咨询类型📹 视频咨询
+
预约时间2026-03-20 10:00
+
视频拨打时间2026-03-20 10:00 ~ 10:03
+
咨询状态已完成
+
通话时长18分钟
+
+
+ + + +
+
+ + + + diff --git a/employee-app/health-consult/video-detail-pending.html b/employee-app/health-consult/video-detail-pending.html new file mode 100644 index 0000000..faf921b --- /dev/null +++ b/employee-app/health-consult/video-detail-pending.html @@ -0,0 +1,205 @@ + + + + + + 咨询详情 - 视频咨询待开始 + + + +
+
+ 10:24 +
+ + +
+
+ + + + +
+ +
+
👨‍⚕️
+
+
张建国医生
+
北京协和医院 · 心内科
+
+ 待开始 +
+ + + + +
+ 📋 + 咨询人健康档案 + +
+
+
+
基本信息
+
姓名本人
+
性别 / 年龄男 / 35岁
+
身高 / 体重175 cm / 72 kg
+
+
+
生活习惯
+
吸烟
+
饮酒偶尔
+
饮食喜好清淡
+
睡眠质量良好
+
+
+
身体情况
+
过敏史青霉素过敏
+
遗传史
+
既往史
+
其他疾病
+
+
+ + +
+
📹
+
+
视频咨询
+
预约时间:2026-04-08 10:00
+
+ 待开始 +
+ + + + +
+
咨询类型📹 视频咨询
+
预约时间2026-04-08 10:00
+
咨询状态待开始
+
+ + +
📌 温馨提示:请在预约时间前5分钟准备好,保持网络畅通,系统将提前15分钟推送提醒。
+
+ + + +
+
+ + + + diff --git a/employee-app/health-consult/video-detail-rejected.html b/employee-app/health-consult/video-detail-rejected.html new file mode 100644 index 0000000..c2bea16 --- /dev/null +++ b/employee-app/health-consult/video-detail-rejected.html @@ -0,0 +1,195 @@ + + + + + + 咨询详情 - 视频咨询已拒绝 + + + +
+
+ 10:24 +
+ + +
+
+ + + +
+
+
👩‍⚕️
+
+
赵丽华医生
+
成都华西医院 · 皮肤科
+
+ 已拒绝 +
+ + + + +
+ 📋 + 咨询人健康档案 + +
+
+
+
基本信息
+
姓名本人
+
性别 / 年龄男 / 35岁
+
身高 / 体重175 cm / 72 kg
+
+
+
生活习惯
+
吸烟
+
饮酒偶尔
+
饮食喜好清淡
+
睡眠质量良好
+
+
+
身体情况
+
过敏史青霉素过敏
+
遗传史
+
既往史
+
其他疾病
+
+
+ + +
+
📹
+
+
视频咨询
+
预约时间:2026-03-05 09:00
+
+ 已拒绝 +
+ + +
+
咨询类型📹 视频咨询
+
预约时间2026-03-05 09:00
+
咨询状态已拒绝
+
+ + +
+
拒绝原因
+
抱歉,该时段已有其他安排,建议您选择其他时间或其他医生进行预约。
+
+
+ + + +
+
+ + + + diff --git a/index.html b/index.html index 11f6744..8e1731e 100644 --- a/index.html +++ b/index.html @@ -265,7 +265,10 @@ const SITE_MAP = [ { name:'知识库', dir:'emergency-app/assistant/knowledge', pages:[ {file:'index.html',label:'知识库首页'},{file:'detail.html',label:'知识详情'} ]}, - { name:'我的', dir:'emergency-app/assistant/profile', pages:[] } + { name:'我的', dir:'emergency-app/assistant/profile', pages:[ + {file:'index.html',label:'个人中心'},{file:'stats.html',label:'咨询统计'}, + {file:'change-pwd.html',label:'修改密码'} + ] } ]}, { role:'应急操作人员', id:'operator', modules:[ {name:'工作台',dir:'emergency-app/operator/workbench',pages:[]}, diff --git a/web-admin/health-consult/consult-record-detail.html b/web-admin/health-consult/consult-record-detail.html index 256e2a7..a902219 100644 --- a/web-admin/health-consult/consult-record-detail.html +++ b/web-admin/health-consult/consult-record-detail.html @@ -69,7 +69,23 @@ .info-row{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;font-size:var(--font-sm);} .info-row:last-child{margin-bottom:0;} .info-row__label{color:var(--text-secondary);white-space:nowrap;min-width:72px;} - .info-row__value{color:var(--text-primary);flex:1;} + .detail-layout{display:grid;grid-template-columns:1fr;gap:16px;align-items:start;} + .tabs{display:flex;gap:0;border-bottom:2px solid var(--border);margin-bottom:16px;} + .tab-btn{padding:12px 20px;font-size:var(--font-sm);color:var(--text-secondary);background:none;border:none;cursor:pointer;position:relative;transition:all .2s;} + .tab-btn.active{color:var(--primary);font-weight:600;} + .tab-btn.active::after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:2px;background:var(--primary);} + .tab-content{display:none;} + .tab-content.active{display:block;} + .consult-info{background:#F5F7FA;border-radius:var(--radius-sm);padding:16px;margin-bottom:16px;} + .consult-info__header{display:flex;align-items:center;gap:12px;margin-bottom:16px;} + .consult-info__avatar{width:48px;height:48px;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:600;flex-shrink:0;} + .consult-info__title{font-size:var(--font-base);font-weight:600;color:var(--text-primary);} + .consult-info__detail{font-size:var(--font-xs);color:var(--text-secondary);margin-top:2px;} + .consult-info__tag{display:inline-flex;align-items:center;padding:2px 8px;border-radius:10px;font-size:var(--font-xs);margin-left:8px;} + .consult-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;} + .consult-row{display:flex;flex-direction:column;gap:4px;} + .consult-row__label{font-size:var(--font-xs);color:var(--text-secondary);} + .consult-row__value{font-size:var(--font-sm);color:var(--text-primary);font-weight:500;} @@ -130,180 +146,293 @@
- 档案编号 - DA20260409001 -
-
- 创建时间 - 2026-04-09 09:12 -
-
- 员工姓名 + 姓名 张伟
- 工号 + 员工编号 CQ001234
- 所属单位 + 性别 + +
+
+ 年龄 + 38岁 +
+
+ 单位 采油一厂
- 关联咨询数 - 3 次 + 部门 + 心血管科 +
+
+ 手机号 + 13800138000 +
+
+ 身份证号 + 610102198806150012
-
主诉
-
- 心跳加速、胸闷,活动后加重,持续约2周,休息后可缓解。近期工作压力较大,睡眠质量下降。 +
咨询人信息
+
+ + +
-
- -
-
病史信息
-
-
既往病史
-
- 高血压(确诊2年) - 高脂血症 -
-
- 目前服用:氨氯地平 5mg/日(降压)、阿托伐他汀 20mg/晚(调脂) + +
+
+
+
基本信息
+
+
+ 咨询人姓名 + 本人 +
+
+ 性别 + +
+
+ 出生日期 + 1988-06-15 +
+
+ 与本人关系 + 本人 +
+
+
+
+
生活习惯
+
+
+ 是否抽烟 + +
+
+ 是否饮酒 + 偶尔 +
+
+ 饮食喜好 + 清淡 +
+
+ 睡眠质量 + 一般 +
+
+
+
+
身体情况
+
+
+ 身高 + 175cm +
+
+ 体重 + 72kg +
+
+ 过敏史 + +
+
+ 遗传史 + 高血压家族史 +
+
+ 既往史 + +
+
+ 其他疾病 + +
+
+
-
-
过敏史
- 无已知过敏史 -
-
- -
-
关联咨询记录(3次)
-
-
-
- ZX20260409088 -
- 图文咨询 - 进行中 + +
+
+
+
基本信息
+
+
+ 咨询人姓名 + 张三 +
+
+ 性别 + +
+
+ 出生日期 + 1960-03-20 +
+
+ 与本人关系 + 父亲 +
-
-
-
李医生
-
心血管内科 · 主任医师
-
-
- 2026-04-09 09:12 - 查看详情 → +
+
生活习惯
+
+
+ 是否抽烟 + +
+
+ 是否饮酒 + +
+
+ 饮食喜好 + 偏油腻 +
+
+ 睡眠质量 + 较差 +
-
-
-
- ZX20260325044 -
- 图文咨询 - 已完成 -
-
-
-
-
李医生
-
心血管内科 · 主任医师
-
-
- 2026-03-25 14:30 - ★★★★★ - 查看详情 → -
-
-
-
-
- ZX20260210018 -
- 视频咨询 - 已完成 -
-
-
-
-
王医生
-
内分泌科 · 副主任医师
-
-
- 2026-02-10 10:00 - ★★★★ - 查看详情 → +
+
身体情况
+
+
+ 身高 + 170cm +
+
+ 体重 + 78kg +
+
+ 过敏史 + +
+
+ 遗传史 + 高血压、糖尿病家族史 +
+
+ 既往史 + 高血压(确诊5年) +
+
+ 其他疾病 + 高脂血症 +
-
-
- -
-
-
员工信息
-
-
-
-
张伟
-
CQ001234 · 采油一厂
-
-
-
- 性别 - -
-
- 年龄 - 42岁 -
-
- 岗位 - 采油工程师 -
-
- 联系方式 - 已脱敏 -
-
- -
-
档案统计
-
-
-
3
-
关联咨询
-
-
-
2
-
已完成
-
-
-
-
- 首次咨询 - 2026-02-10 -
-
- 最近咨询 - 2026-04-09 + +
+
+
+
基本信息
+
+
+ 咨询人姓名 + 李梅 +
+
+ 性别 + +
+
+ 出生日期 + 1962-08-10 +
+
+ 与本人关系 + 母亲 +
+
+
+
+
生活习惯
+
+
+ 是否抽烟 + +
+
+ 是否饮酒 + +
+
+ 饮食喜好 + 清淡 +
+
+ 睡眠质量 + 良好 +
+
+
+
+
身体情况
+
+
+ 身高 + 162cm +
+
+ 体重 + 58kg +
+
+ 过敏史 + 青霉素过敏 +
+
+ 遗传史 + +
+
+ 既往史 + +
+
+ 其他疾病 + +
+
+
+ diff --git a/web-admin/health-consult/consult-record.html b/web-admin/health-consult/consult-record.html index 8f02306..d50b80c 100644 --- a/web-admin/health-consult/consult-record.html +++ b/web-admin/health-consult/consult-record.html @@ -66,6 +66,20 @@ .pagination span{font-size:var(--font-sm);color:var(--text-secondary);} .page-btn{width:32px;height:32px;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;cursor:pointer;font-size:var(--font-sm);display:inline-flex;align-items:center;justify-content:center;transition:all .2s;} .page-btn:hover,.page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary);} + .filter-bar__row{display:flex;align-items:center;gap:16px;flex-wrap:wrap;} + .org-select-wrap{position:relative;display:inline-block;} + .org-trigger{height:36px;min-width:160px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:0 28px 0 12px;font-size:var(--font-sm);color:var(--text-primary);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 10px center;cursor:pointer;display:flex;align-items:center;user-select:none;white-space:nowrap;} + .org-trigger.open,.org-trigger:hover{border-color:var(--primary);} + .org-panel{display:none;position:absolute;top:40px;left:0;z-index:300;background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:0 2px 8px rgba(0,0,0,0.12);width:420px;} + .org-panel.open{display:flex;} + .org-col{flex:1;overflow-y:auto;max-height:240px;border-right:1px solid var(--border);} + .org-col:last-child{border-right:none;} + .org-col__title{padding:8px 14px;font-size:var(--font-xs);color:var(--text-secondary);background:#FAFAFA;border-bottom:1px solid var(--border);font-weight:500;} + .org-item{padding:9px 14px;font-size:var(--font-sm);color:var(--text-primary);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:4px;} + .org-item:hover{background:#F0F8FF;color:var(--primary);} + .org-item.active{background:#E6F7FF;color:var(--primary);font-weight:500;} + .table-card__content{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;} + .table-card__content table{min-width:100%;white-space:nowrap;} @@ -107,29 +121,56 @@
-
- - +
+
+ + +
+
+ + +
+
+ +
+
全部单位/部门
+
+
+
单位
+
+ 全部单位/部门 +
+
+ 采油一厂 +
+
+ 采油二厂 +
+
+ 采油三厂 +
+
+ 勘探开发研究院 +
+
+ 机关事务服务中心 +
+
+
+
部门
+
+ 全部部门 +
+
+
+
+
+ +
-
- - -
-
- - - - -
- - -
@@ -142,90 +183,93 @@ 查看导出任务 +
咨询档案列表
共 8,432 条
+
- - - - - - - - - + + + + + + + + + - + - + + + - - - - - + + + - + - + + + - - - - - + + + - + - + + + - - - - - + + + - + - + + + - - - - - + + + - + - + + + - - - - - + + +
档案编号员工姓名工号所属单位主诉既往病史过敏史关联咨询数创建时间头像姓名员工编号性别年龄单位部门手机号咨询人数量 操作
DA20260409001
张伟CQ001234CQ00123438 采油一厂
心跳加速、胸闷,活动后加重
高血压3次2026-04-09 09:12心血管科138001380003人 查看详情
DA20260409002
李明CQ002571CQ00257142 采油二厂
空腹血糖偏高,体检发现6.8mmol/L
1次2026-04-09 09:45内分泌科138001380011人 查看详情
DA20260408010
刘洋CQ004102CQ00410235 采油三厂
腰部疼痛,久坐后加重,放射至左腿
腰椎间盘突出青霉素过敏5次2026-04-08 14:55生产部138001380025人 查看详情
DA20260407005
陈磊CQ006890CQ00689045 采油一厂
反复头痛,以额部为主,伴有恶心
高血压8次2026-04-07 09:55技术部138001380038人 查看详情
DA20260406003
王芳CQ003388CQ00338832 勘探开发研究院
睡眠质量差,入睡困难,多梦易醒
2次2026-04-06 11:20医学研究部138001380042人 查看详情
+
- - + diff --git a/web-admin/health-consult/exception-dirty.html b/web-admin/health-consult/exception-dirty.html index ba92a0f..2269662 100644 --- a/web-admin/health-consult/exception-dirty.html +++ b/web-admin/health-consult/exception-dirty.html @@ -3,7 +3,7 @@ -专家咨询 - 系统脏数据 | 健康长庆原型 +专家咨询 - 异常数据 | 健康长庆原型 - - -
- - -
-
- - 返回首页 -
-
- 系统管理员 ▾ -
-
- -
- -
-
⚠️
-
- 实时告警:当前有 5 条结果异常待处理,其中 2 条为高危(恶意差评),3 条为响应超时。系统已自动推送告警至管理员。 -
-
- - -
- 结果异常定义:恶意差评(评价内容含侮辱性语言或明显虚假内容)或咨询响应超时(专家超过24小时未回复)等情形。 - 处理流程:数据入库 → 中台医学/业务模型分析 → 判定为风险或异常 → 生成待办工单 → 实时(高危)或每日定时(一般)推送告警至管理员。 -
- -
-
-
待处理异常
-
5
-
需立即处理
-
-
-
本月累计异常
-
31
-
2026年4月
-
-
-
已处理
-
26
-
本月已处置
-
-
-
处理率
-
83.9%
-
本月整体处置率
-
-
- -
-
- - -
-
- - -
-
- - -
-
- - - - -
- - -
-
- - - - -
- -
-
-
结果异常列表
-
- 共 31 条 - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
工单ID咨询单号异常类型严重程度异常描述触发规则涉及专家告警时间处理状态操作
WO20260409001ZX20260406008恶意差评高危评价内容含侮辱性语言,经NLP模型识别置信度 92%NLP-侮辱检测孙医生 / 消化内科2026-04-09 08:15待处理 -
- 查看评价 - - 屏蔽评价 - 忽略 -
-
WO20260409002ZX20260408201恶意差评高危评价内容疑似虚假,与咨询记录内容严重不符内容一致性校验李医生 / 心血管内科2026-04-09 09:02待处理 -
- 查看评价 - 屏蔽评价 - 忽略 -
-
WO20260409003ZX20260408088响应超时一般专家已超过 26.5 小时未回复,超出24小时SLASLA-24h回复陈医生 / 骨科2026-04-09 10:30待处理 -
- 查看咨询 - - 催促回复 - 忽略 -
-
WO20260409004ZX20260408112响应超时一般专家已超过 31 小时未回复,超出24小时SLASLA-24h回复王医生 / 内分泌科2026-04-09 11:00待处理 -
- 查看咨询 - 催促回复 - 忽略 -
-
WO20260408015ZX20260407055响应超时一般专家超时回复,已于次日补充回复SLA-24h回复张医生 / 神经内科2026-04-08 14:00已处置查看咨询
WO20260407008ZX20260405033恶意差评高危评价内容含侮辱性语言,已屏蔽处理NLP-侮辱检测孙医生 / 消化内科2026-04-07 16:20已忽略查看评价
- -
-
- - diff --git a/web-admin/health-consult/expert-statistics.html b/web-admin/health-consult/expert-statistics.html index 43d4b25..329917d 100644 --- a/web-admin/health-consult/expert-statistics.html +++ b/web-admin/health-consult/expert-statistics.html @@ -117,12 +117,11 @@
- +
@@ -130,7 +129,16 @@
- + + +
+
+ +
@@ -214,9 +219,11 @@
咨询记录列表
共 38,920 条
+
+ @@ -232,6 +239,7 @@ + @@ -245,6 +253,7 @@ + @@ -258,6 +267,7 @@ + @@ -271,6 +281,7 @@ + @@ -284,6 +295,7 @@ + @@ -298,6 +310,7 @@
咨询单号 姓名 员工编号 所属单位
ZX20260409001 张伟 EMP001 采油一厂查看对话
ZX20260409002 李明 EMP002 采油二厂查看对话
ZX20260409003 王芳 EMP003 勘探开发研究院查看对话
ZX20260408004 刘洋 EMP004 采油三厂查看对话
ZX20260408005 赵静 EMP005 机关事务服务中心
+