feat: 新增驻场人员全部页面,补全SITE_MAP页面登记,修复共享页面角色跳转
- 新增驻场人员(onsite)工作台、知识库、我的共12个页面 - 修复AI助手和消息页面底部Tab导航缺少onsite角色映射的问题 - 补登SITE_MAP中24个遗漏的HTML页面条目(管理员/操作人员/员工端/应急APP) - 移除不存在的center-seat.html条目 - 包含操作人员、专业人员已有页面的暂存提交 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+80
-15
@@ -68,7 +68,7 @@ body { background: var(--background); font-family: -apple-system, BlinkMacSystem
|
||||
.role-icon--expert { background: linear-gradient(135deg, #1677FF, #4facfe); }
|
||||
.role-icon--assistant { background: linear-gradient(135deg, #722ED1, #b37feb); }
|
||||
.role-icon--operator { background: linear-gradient(135deg, #fa541c, #ff7a45); }
|
||||
.role-icon--worker { background: linear-gradient(135deg, #52c41a, #95de64); }
|
||||
.role-icon--professional { background: linear-gradient(135deg, #52c41a, #95de64); }
|
||||
.role-icon--onsite { background: linear-gradient(135deg, #faad14, #ffc53d); }
|
||||
.role-icon--admin { background: linear-gradient(135deg, #eb2f96, #ff85c0); }
|
||||
.role-icon--shared { background: linear-gradient(135deg, #13c2c2, #5cdbd3); }
|
||||
@@ -160,7 +160,7 @@ const ICONS = {
|
||||
empty: '<svg width="16" height="16" viewBox="0 0 16 16" fill="none"><circle cx="8" cy="8" r="6.5" stroke="currentColor" stroke-width="1.2" stroke-dasharray="3 2"/><path d="M8 5.5v3M8 10v.5" stroke="currentColor" stroke-width="1.2" stroke-linecap="round"/></svg>',
|
||||
prd: '<svg class="tab-nav__icon" viewBox="0 0 18 18" fill="none"><path d="M4 1h7l4 4v12H4V1z" stroke="currentColor" stroke-width="1.5"/><path d="M11 1v4h4" stroke="currentColor" stroke-width="1.5"/><line x1="7" y1="9" x2="13" y2="9" stroke="currentColor" stroke-width="1.2" stroke-linecap="round"/><line x1="7" y1="12" x2="11" y2="12" stroke="currentColor" stroke-width="1.2" stroke-linecap="round"/></svg>',
|
||||
prdSmall: '<svg width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M2.5 1h5l2.5 2.5v7.5h-7.5V1z" stroke="currentColor" stroke-width="1"/><path d="M7.5 1v2.5h2.5" stroke="currentColor" stroke-width="1"/></svg>',
|
||||
role: { expert:'👨⚕', assistant:'🤖', operator:'📋', worker:'👷', onsite:'🏥', admin:'⚙', shared:'🔗' }
|
||||
role: { expert:'👨⚕', assistant:'🤖', operator:'📋', professional:'👷', onsite:'🏥', admin:'⚙', shared:'🔗' }
|
||||
};
|
||||
|
||||
const SITE_MAP = [
|
||||
@@ -240,9 +240,12 @@ const SITE_MAP = [
|
||||
{ file:'archive-personal-detail.html', label:'个人应急数据详情' },
|
||||
{ file:'archive-personal-detail-illness.html', label:'个人大病就医详情' },
|
||||
{ file:'archive-unit.html', label:'单位报表数据' },
|
||||
{ file:'archive-unit-detail.html', label:'单位报表详情' },
|
||||
{ file:'archive-unit-detail-illness.html', label:'单位大病就医详情' },
|
||||
{ file:'archive-center.html', label:'应急中心报表数据' },
|
||||
{ file:'resource-hospital.html', label:'医院信息' },
|
||||
{ file:'resource-medical-point.html', label:'医疗点信息' },
|
||||
{ file:'resource-medical-point-detail.html', label:'医疗点详情' },
|
||||
{ file:'resource-aed.html', label:'AED设备信息-设备管理' },
|
||||
{ file:'resource-aed-add.html', label:'AED设备信息-新增AED设备' },
|
||||
{ file:'resource-aed-deploy.html', label:'AED设备信息-布点管理' },
|
||||
@@ -253,17 +256,27 @@ const SITE_MAP = [
|
||||
{ file:'resource-aed-maintenance.html', label:'AED设备信息-维护记录' },
|
||||
{ file:'resource-aed-maintenance-add.html', label:'AED设备信息-新增维护记录' },
|
||||
{ file:'resource-aed-training.html', label:'AED设备信息-培演记录' },
|
||||
{ file:'resource-aed-training-add.html', label:'AED设备信息-新增培演记录' },
|
||||
{ file:'resource-aed-usage.html', label:'AED设备信息-应用记录' },
|
||||
{ file:'resource-aed-usage-add.html', label:'AED设备信息-新增应用记录' },
|
||||
{ file:'resource-ambulance.html', label:'救护车信息' },
|
||||
{ file:'resource-ambulance-detail.html', label:'救护车详情' },
|
||||
{ file:'resource-first-aid-kit.html', label:'急救包信息' },
|
||||
{ file:'resource-first-aid-kit-add.html', label:'新增急救包' },
|
||||
{ file:'resource-doctor.html', label:'急救医生信息' },
|
||||
{ file:'resource-doctor-add.html', label:'新增急救医生' },
|
||||
{ file:'resource-emergency-contact.html', label:'紧急联系人信息' },
|
||||
{ file:'center-basic-info.html', label:'应急中心基本信息' },
|
||||
{ file:'center-basic-info-add.html', label:'新增应急中心' },
|
||||
{ file:'center-basic-info-detail.html', label:'应急中心详情' },
|
||||
{ file:'center-work-order.html', label:'应急工单' },
|
||||
{ file:'center-seat.html', label:'坐席管理' },
|
||||
{ file:'center-work-order-add.html', label:'新增应急工单' },
|
||||
{ file:'center-work-order-detail.html', label:'应急工单详情' },
|
||||
{ file:'center-group.html', label:'分组管理' },
|
||||
{ file:'center-call-record.html', label:'通话记录' },
|
||||
{ file:'center-serious-illness.html', label:'大病就医' },
|
||||
{ file:'center-serious-illness-add.html', label:'新增大病就医' },
|
||||
{ file:'center-serious-illness-detail.html', label:'大病就医详情' },
|
||||
{ file:'center-data-screen.html', label:'大屏数据配置' },
|
||||
{ file:'center-schedule.html', label:'排班配置' },
|
||||
{ file:'center-simulation.html', label:'模拟急救联动' },
|
||||
@@ -273,8 +286,8 @@ const SITE_MAP = [
|
||||
{ file:'emergency-active.html', label:'正在应急' },
|
||||
{ file:'work-order.html', label:'应急工单' },
|
||||
{ file:'call-record.html', label:'通话记录' },
|
||||
{ file:'serious-illness.html', label:'大病就医' },
|
||||
{ file:'duty-group.html', label:'值班小组' }
|
||||
{ file:'duty-group.html', label:'值班小组' },
|
||||
{ file:'serious-illness.html', label:'大病就医' }
|
||||
]},
|
||||
{ name:'应急就医(专业人员)', dir:'web-admin/emergency-dispatch/professional', entry:'professional.html', pages:[
|
||||
{ file:'professional.html', label:'正在应急' }
|
||||
@@ -330,6 +343,7 @@ const SITE_MAP = [
|
||||
{ file:'emergency-tips.html', label:'急救提示书' },
|
||||
{ file:'help-records.html', label:'应急求助记录' },
|
||||
{ file:'appointment-list.html', label:'大病就医预约' },
|
||||
{ file:'appointment-list-confirmed.html', label:'预约-已确认' },
|
||||
{ file:'appointment-list-done.html', label:'预约-已完成' },
|
||||
{ file:'appointment-list-cancelled.html', label:'预约-已取消' },
|
||||
{ file:'appointment-detail-pending.html', label:'就医详情-待确认' },
|
||||
@@ -385,19 +399,70 @@ const SITE_MAP = [
|
||||
] }
|
||||
]},
|
||||
{ role:'应急操作人员', id:'operator', modules:[
|
||||
{name:'工作台',dir:'emergency-app/operator/workbench',pages:[]},
|
||||
{name:'知识库',dir:'emergency-app/operator/knowledge',pages:[]},
|
||||
{name:'我的',dir:'emergency-app/operator/profile',pages:[]}
|
||||
{name:'工作台',dir:'emergency-app/operator/workbench',pages:[
|
||||
{file:'index.html',label:'工作台首页(应急求助)'},
|
||||
{file:'serious-illness-list.html',label:'大病就医首页'},
|
||||
{file:'emergency-chat.html',label:'应急聊天'},
|
||||
{file:'emergency-chat-done.html',label:'应急聊天(已结束)'},
|
||||
{file:'patient-location.html',label:'患者定位'},
|
||||
{file:'dispatch-onsite.html',label:'派单驻场人员'},
|
||||
{file:'dispatch-ambulance.html',label:'派单救护车'},
|
||||
{file:'work-order-detail.html',label:'工单详情(已完成)'},
|
||||
{file:'work-order-detail-ongoing.html',label:'工单详情(进行中)'},
|
||||
{file:'rescue-summary.html',label:'救助信息'},
|
||||
{file:'end-emergency.html',label:'结束应急'},
|
||||
{file:'serious-illness-detail-pending.html',label:'大病就医详情(待确认)'},
|
||||
{file:'serious-illness-detail-confirmed.html',label:'大病就医详情(已确认)'},
|
||||
{file:'serious-illness-detail-done.html',label:'大病就医详情(已完成)'},
|
||||
{file:'serious-illness-detail-cancelled.html',label:'大病就医详情(已取消)'}
|
||||
]},
|
||||
{name:'知识库',dir:'emergency-app/operator/knowledge',pages:[
|
||||
{file:'index.html',label:'知识库首页'},{file:'article-detail.html',label:'知识详情'}
|
||||
]},
|
||||
{name:'我的',dir:'emergency-app/operator/profile',pages:[
|
||||
{file:'index.html',label:'我的主页'},
|
||||
{file:'duty-schedule.html',label:'值班信息'},
|
||||
{file:'duty-config.html',label:'排班配置'},
|
||||
{file:'edit-profile.html',label:'修改个人信息'},
|
||||
{file:'change-pwd.html',label:'修改密码'}
|
||||
]}
|
||||
]},
|
||||
{ role:'应急工作人员', id:'worker', modules:[
|
||||
{name:'工作台',dir:'emergency-app/worker/workbench',pages:[]},
|
||||
{name:'知识库',dir:'emergency-app/worker/knowledge',pages:[]},
|
||||
{name:'我的',dir:'emergency-app/worker/profile',pages:[]}
|
||||
{ role:'应急专业人员', id:'professional', modules:[
|
||||
{ name:'工作台', dir:'emergency-app/professional/workbench', pages:[
|
||||
{file:'index.html',label:'工作台首页'},
|
||||
{file:'emergency-chat-ongoing.html',label:'应急聊天(进行中)'},
|
||||
{file:'emergency-chat-done.html',label:'应急聊天(已结束)'},
|
||||
{file:'rescue-opinion.html',label:'救助意见'},
|
||||
{file:'patient-location.html',label:'患者定位'},
|
||||
{file:'work-order-detail.html',label:'工单详情(已完成)'},
|
||||
{file:'work-order-detail-ongoing.html',label:'工单详情(进行中)'}
|
||||
]},
|
||||
{ name:'知识库', dir:'emergency-app/professional/knowledge', pages:[
|
||||
{file:'index.html',label:'知识库首页'},{file:'article-detail.html',label:'知识详情'}
|
||||
]},
|
||||
{ name:'我的', dir:'emergency-app/professional/profile', pages:[
|
||||
{file:'index.html',label:'个人中心'},
|
||||
{file:'duty-schedule.html',label:'值班信息'},
|
||||
{file:'edit-profile.html',label:'修改个人信息'},{file:'change-pwd.html',label:'修改密码'}
|
||||
]}
|
||||
]},
|
||||
{ role:'应急驻场人员', id:'onsite', modules:[
|
||||
{name:'工作台',dir:'emergency-app/onsite/workbench',pages:[]},
|
||||
{name:'知识库',dir:'emergency-app/onsite/knowledge',pages:[]},
|
||||
{name:'我的',dir:'emergency-app/onsite/profile',pages:[]}
|
||||
{name:'工作台',dir:'emergency-app/onsite/workbench',pages:[
|
||||
{file:'index.html',label:'工作台首页(应急求助)'},
|
||||
{file:'serious-illness-list.html',label:'大病就医首页'},
|
||||
{file:'work-order-detail-ongoing.html',label:'工单详情(待处理)'},
|
||||
{file:'work-order-detail.html',label:'工单详情(已完成)'},
|
||||
{file:'serious-illness-detail-pending.html',label:'大病就医详情(待处理)'},
|
||||
{file:'serious-illness-detail-done.html',label:'大病就医详情(已完成)'}
|
||||
]},
|
||||
{name:'知识库',dir:'emergency-app/onsite/knowledge',pages:[
|
||||
{file:'index.html',label:'知识库首页'},{file:'article-detail.html',label:'知识详情'}
|
||||
]},
|
||||
{name:'我的',dir:'emergency-app/onsite/profile',pages:[
|
||||
{file:'index.html',label:'个人中心'},
|
||||
{file:'duty-schedule.html',label:'值班信息'},
|
||||
{file:'edit-profile.html',label:'修改个人信息'},{file:'change-pwd.html',label:'修改密码'}
|
||||
]}
|
||||
]},
|
||||
{ role:'管理员', id:'admin', modules:[
|
||||
{name:'工作台',dir:'emergency-app/admin/workbench',pages:[]},
|
||||
|
||||
Reference in New Issue
Block a user