feat(digital): 新增数字人内容库和实验运营后台
数字人内容库支持角色、世界书和预设管理;账号实验中心覆盖生命周期、指定用户、分组解释、漏斗和审计;更新星港品牌与默认导航,保留原兼容路由。
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/** 数字人运营菜单,只授予现有超级管理员,业务后端再次执行鉴权。 */
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
/** 内容库和实验中心复用原有后台壳。 */
|
||||
export default {
|
||||
path: "/digital",
|
||||
name: "DigitalOperations",
|
||||
component: Layout,
|
||||
redirect: "/digital/content",
|
||||
meta: { title: "数字人运营", icon: "ep/chat-dot-round", rank: 0 },
|
||||
children: [
|
||||
{
|
||||
path: "/digital/content",
|
||||
name: "DigitalContent",
|
||||
component: () => import("@/views/digital/content.vue"),
|
||||
meta: { title: "角色与内容库", permission: "*" }
|
||||
},
|
||||
{
|
||||
path: "/digital/experiments",
|
||||
name: "DigitalExperiments",
|
||||
component: () => import("@/views/digital/experiments.vue"),
|
||||
meta: { title: "账号实验中心", permission: "*" }
|
||||
}
|
||||
]
|
||||
} satisfies RouteConfigsTable;
|
||||
@@ -1,3 +1,4 @@
|
||||
/** 保留原门店业务路由,数字人改造后不占用主要导航。 */
|
||||
const Layout = () => import("@/layout/index.vue");
|
||||
|
||||
/**
|
||||
@@ -15,6 +16,7 @@ export default [
|
||||
meta: {
|
||||
icon: "ep/user-filled",
|
||||
title: "权限管理",
|
||||
showLink: false,
|
||||
rank: 1
|
||||
},
|
||||
children: [
|
||||
@@ -72,6 +74,7 @@ export default [
|
||||
meta: {
|
||||
icon: "ep/operation",
|
||||
title: "员工工作台运营",
|
||||
showLink: false,
|
||||
rank: 2
|
||||
},
|
||||
children: [
|
||||
|
||||
@@ -3,14 +3,14 @@ const Layout = () => import("@/layout/index.vue");
|
||||
/**
|
||||
* pure-admin 模板要求保留 Home 根路由。
|
||||
*
|
||||
* 当前业务首页是员工管理,所以根路径直接重定向到 `/employees`;
|
||||
* 当前业务首页是数字人内容库,所以根路径直接重定向到 `/digital/content`;
|
||||
* `/welcome` 只作为隐藏工作台占位页保留。
|
||||
*/
|
||||
export default {
|
||||
path: "/",
|
||||
name: "Home",
|
||||
component: Layout,
|
||||
redirect: "/employees",
|
||||
redirect: "/digital/content",
|
||||
meta: {
|
||||
icon: "ep/home-filled",
|
||||
title: "工作台",
|
||||
|
||||
Reference in New Issue
Block a user