feat(digital): 新增数字人内容库和实验运营后台
数字人内容库支持角色、世界书和预设管理;账号实验中心覆盖生命周期、指定用户、分组解释、漏斗和审计;更新星港品牌与默认导航,保留原兼容路由。
This commit is contained in:
+8
-61
@@ -3,73 +3,20 @@ import type { FunctionalComponent } from "vue";
|
||||
/**
|
||||
* 登录后默认打开的标签页。
|
||||
*
|
||||
* 这里要和 `src/router/modules/employees.ts` 的业务页面保持一致,
|
||||
* 这里要和 `src/router/modules/digital.ts` 的业务页面保持一致,
|
||||
* 否则登出重置标签页或首次进入后台时会出现空标签/错入口。
|
||||
*/
|
||||
/** 数字人后台默认标签,旧业务路由保留但不自动打开。 */
|
||||
export const routerArrays: Array<RouteConfigs> = [
|
||||
{
|
||||
path: "/stores",
|
||||
name: "StoreManagement",
|
||||
meta: {
|
||||
title: "门店管理",
|
||||
icon: "ep/shop"
|
||||
}
|
||||
path: "/digital/content",
|
||||
name: "DigitalContent",
|
||||
meta: { title: "角色与内容库", icon: "ep/collection" }
|
||||
},
|
||||
{
|
||||
path: "/roles",
|
||||
name: "RoleManagement",
|
||||
meta: {
|
||||
title: "角色管理",
|
||||
icon: "ep/key"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/employees",
|
||||
name: "EmployeeManagement",
|
||||
meta: {
|
||||
title: "员工管理",
|
||||
icon: "ep/user-filled"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/permissions",
|
||||
name: "PermissionPolicies",
|
||||
meta: {
|
||||
title: "权限策略",
|
||||
icon: "ep/key"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/announcements",
|
||||
name: "AnnouncementManagement",
|
||||
meta: {
|
||||
title: "公告管理",
|
||||
icon: "ep/bell"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/tasks",
|
||||
name: "TaskManagement",
|
||||
meta: {
|
||||
title: "任务管理",
|
||||
icon: "ep/tickets"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/shifts",
|
||||
name: "ShiftManagement",
|
||||
meta: {
|
||||
title: "排班管理",
|
||||
icon: "ep/calendar"
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/credential-audits",
|
||||
name: "CredentialAuditManagement",
|
||||
meta: {
|
||||
title: "凭据审计",
|
||||
icon: "ep/document-checked"
|
||||
}
|
||||
path: "/digital/experiments",
|
||||
name: "DigitalExperiments",
|
||||
meta: { title: "账号实验中心", icon: "ep/data-analysis" }
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user