feat: 小助手/专家工作台新增图文咨询完成页和已超时页面,优化多端页面交互

- 小助手工作台新增图文咨询完成、咨询完成、已超时3个页面
- 专家工作台新增图文咨询完成、已超时2个页面,删除旧的咨询人详情和员工档案页
- 优化小助手工作台首页、聊天页、员工档案页交互和布局
- 优化专家工作台聊天页和咨询完成页
- 优化员工端已超时详情页和历史聊天记录页

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 18:11:40 +08:00
co-authored by Claude Opus 4.6
parent 29afceb3d0
commit 104ddd47cf
15 changed files with 699 additions and 319 deletions
@@ -193,7 +193,7 @@
<!-- 超时提示卡片 -->
<div class="timeout-notice">
<div class="tn-title">⏰ 咨询已超时</div>
<div class="tn-content">医生未在规定时间内回复,本次咨询已自动关闭。如需继续咨询,请重新发起。</div>
<div class="tn-content">超过七天无回复,本次咨询已自动关闭。如需继续咨询,请重新发起。</div>
</div>
<!-- [交互] 咨询人健康档案入口 -->
@@ -197,7 +197,7 @@
</div>
<!-- 用户发出的结束咨询卡片 -->
<div class="msg-row mine">
<div class="msg-row mine" id="end-card">
<div class="msg-avatar">😊</div>
<div class="bubble-end-card">
<div class="end-icon"></div>
@@ -209,7 +209,7 @@
<!-- 底部已结束提示条 -->
<div class="chat-ended-bar">
<div class="ended-text">— 咨询已结束 —</div>
<div class="ended-text" id="ended-text">— 咨询已结束 —</div>
</div>
</div>
@@ -223,6 +223,14 @@
backBtn.href = 'record-detail-rated.html';
} else if (from === 'record-detail-unrated') {
backBtn.href = 'record-detail-unrated.html';
} else if (from === 'record-detail-timeout') {
backBtn.href = 'record-detail-timeout.html';
}
/* 已超时来源:隐藏结束卡片,更改底部文案 */
if (from === 'record-detail-timeout') {
document.getElementById('end-card').style.display = 'none';
document.getElementById('ended-text').textContent = '— 长时间未回复系统已自动结束本次咨询 —';
}
})();
</script>