docs: 补全专家咨询模块导航配置及PRD/变更记录文档
- index.html: 补充管理端专家咨询22页pages配置及prd路径,支持entry自定义入口页 - index.html: 补充健康应急APP专家端/小助手端工作台prd路径,小助手知识库pages - 新增 web-admin/health-consult/doc/ 下 CHANGELOG.md 和 PRD.md - 新增 emergency-app/expert/doc/ 下 CHANGELOG.md 和 PRD.md - 新增 emergency-app/assistant/doc/ 下 CHANGELOG.md 和 PRD.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+33
-7
@@ -141,7 +141,7 @@ body { background: var(--background); font-family: -apple-system, BlinkMacSystem
|
||||
<body>
|
||||
<div class="header">
|
||||
<div class="header__inner">
|
||||
<div class="header__title">健康长庆升级 · 高保真交互原型</div>
|
||||
<div class="header__title">健康长庆升级项目 · 高保真交互原型</div>
|
||||
<div class="header__sub">点击模块卡片跳转至对应模块主页,点击页数徽章查看全部页面</div>
|
||||
</div>
|
||||
<div class="tab-nav" id="tab-nav"></div>
|
||||
@@ -178,7 +178,30 @@ const SITE_MAP = [
|
||||
{ name:'心脑血管病预防', dir:'web-admin/cardiovascular', pages:[] },
|
||||
{ name:'糖尿病预防', dir:'web-admin/diabetes', pages:[] },
|
||||
{ name:'癌症预防', dir:'web-admin/cancer', pages:[] },
|
||||
{ name:'专家咨询', dir:'web-admin/health-consult', pages:[] },
|
||||
{ name:'专家咨询', dir:'web-admin/health-consult', entry:'history-expert.html', prd:'web-admin/health-consult/doc/PRD.md', pages:[
|
||||
{ file:'history-expert.html', label:'专家咨询记录' },
|
||||
{ file:'history-expert-detail.html', label:'专家对话详情' },
|
||||
{ file:'history-assistant.html', label:'小助手咨询记录' },
|
||||
{ file:'history-assistant-detail.html', label:'小助手对话详情' },
|
||||
{ file:'history-evaluation.html', label:'用户评价' },
|
||||
{ file:'consult-record.html', label:'咨询档案' },
|
||||
{ file:'consult-record-detail.html', label:'咨询档案详情' },
|
||||
{ file:'archive-personal.html', label:'个人咨询数据' },
|
||||
{ file:'archive-unit.html', label:'单位报表数据' },
|
||||
{ file:'expert-statistics.html', label:'专家咨询统计' },
|
||||
{ file:'settlement.html', label:'咨询结算' },
|
||||
{ file:'exception-result.html', label:'结果异常' },
|
||||
{ file:'exception-dirty.html', label:'系统脏数据' },
|
||||
{ file:'config-hospital.html', label:'医院配置' },
|
||||
{ file:'config-department.html', label:'科室配置' },
|
||||
{ file:'config-disease.html', label:'疾病配置' },
|
||||
{ file:'config-notice.html', label:'咨询须知' },
|
||||
{ file:'config-phrase.html', label:'常用语管理' },
|
||||
{ file:'config-hospital-dialog.html', label:'医院配置弹窗', dialog:true },
|
||||
{ file:'config-department-dialog.html', label:'科室配置弹窗', dialog:true },
|
||||
{ file:'config-disease-dialog.html', label:'疾病配置弹窗', dialog:true },
|
||||
{ file:'config-phrase-dialog.html', label:'常用语弹窗', dialog:true }
|
||||
]},
|
||||
{ name:'应急就医', dir:'web-admin/emergency-dispatch', pages:[] },
|
||||
{ name:'一线医疗', dir:'web-admin/frontline-medical', pages:[] }
|
||||
]},
|
||||
@@ -217,7 +240,7 @@ const SITE_MAP = [
|
||||
{ id:'emergency-app', label:'健康应急 APP', icon:'emergency', color:'#ffc069',
|
||||
roles:[
|
||||
{ role:'咨询专家', id:'expert', modules:[
|
||||
{ name:'工作台', dir:'emergency-app/expert/workbench', pages:[
|
||||
{ name:'工作台', dir:'emergency-app/expert/workbench', prd:'emergency-app/expert/doc/PRD.md', pages:[
|
||||
{file:'index.html',label:'工作台首页'},{file:'text-chat.html',label:'图文咨询'},
|
||||
{file:'text-consult-done.html',label:'咨询完成'},{file:'video-appt.html',label:'视频预约'},
|
||||
{file:'video-call.html',label:'视频通话'},{file:'video-done.html',label:'视频完成'},
|
||||
@@ -233,13 +256,15 @@ const SITE_MAP = [
|
||||
]}
|
||||
]},
|
||||
{ role:'咨询小助手', id:'assistant', modules:[
|
||||
{ name:'工作台', dir:'emergency-app/assistant/workbench', pages:[
|
||||
{ name:'工作台', dir:'emergency-app/assistant/workbench', prd:'emergency-app/assistant/doc/PRD.md', pages:[
|
||||
{file:'index.html',label:'工作台首页'},{file:'text-chat.html',label:'图文咨询'},
|
||||
{file:'consult-done.html',label:'咨询完成'},{file:'employee-profile.html',label:'员工档案'},
|
||||
{file:'end-consult-dialog.html',label:'结束咨询弹窗',dialog:true},
|
||||
{file:'push-expert.html',label:'推送专家'}
|
||||
]},
|
||||
{ name:'知识库', dir:'emergency-app/assistant/knowledge', pages:[] },
|
||||
{ name:'知识库', dir:'emergency-app/assistant/knowledge', pages:[
|
||||
{file:'index.html',label:'知识库首页'},{file:'detail.html',label:'知识详情'}
|
||||
]},
|
||||
{ name:'我的', dir:'emergency-app/assistant/profile', pages:[] }
|
||||
]},
|
||||
{ role:'应急操作人员', id:'operator', modules:[
|
||||
@@ -297,7 +322,7 @@ let openPopover = null;
|
||||
function cardHTML(mod, uid) {
|
||||
const has = mod.pages.length > 0;
|
||||
const cls = has ? 'module-card module-card--ready' : 'module-card module-card--empty';
|
||||
const mainHref = has ? `${mod.dir}/index.html` : '';
|
||||
const mainHref = has ? `${mod.dir}/${mod.entry || 'index.html'}` : '';
|
||||
const onclick = has ? `onclick="window.open('${mainHref}','_blank')"` : '';
|
||||
|
||||
let tagHtml = '';
|
||||
@@ -398,6 +423,7 @@ tabNav.addEventListener('click', e => {
|
||||
<div class="prd-global-card__title">共性需求说明</div>
|
||||
<div class="prd-global-card__desc">全平台通用的业务规则、交互规范和共性功能说明</div>
|
||||
</div>
|
||||
<span class="prd-item__status prd-item__status--ready">查看</span>
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
@@ -439,7 +465,7 @@ tabNav.addEventListener('click', e => {
|
||||
<div class="prd-item__name">${m.name} PRD</div>
|
||||
<div class="prd-item__path">${m.prd}</div>
|
||||
</div>
|
||||
<span class="prd-item__status prd-item__status--ready">已就绪</span>
|
||||
<span class="prd-item__status prd-item__status--ready">查看</span>
|
||||
</div>`;
|
||||
} else {
|
||||
html += `<div class="prd-item prd-item--disabled">
|
||||
|
||||
Reference in New Issue
Block a user