提交 a8759d18 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 仅保留直播入口

上级 541c105d
...@@ -3,7 +3,7 @@ import { useUserStore } from '@/stores/user' ...@@ -3,7 +3,7 @@ import { useUserStore } from '@/stores/user'
const router = createRouter({ const router = createRouter({
history: createWebHistory(), history: createWebHistory(),
routes: [{ path: '/:pathMatch(.*)*', redirect: '/' }], routes: [{ path: '/:pathMatch(.*)*', redirect: '/live' }],
}) })
router.beforeEach(async (to, from, next) => { router.beforeEach(async (to, from, next) => {
......
...@@ -190,159 +190,159 @@ const studentMenus: IMenuItem[] = [ ...@@ -190,159 +190,159 @@ const studentMenus: IMenuItem[] = [
] ]
const adminMenus: IMenuItem[] = [ const adminMenus: IMenuItem[] = [
{ // {
id: 1, // id: 1,
name: '基础配置', // name: '基础配置',
path: '/connect', // path: '/connect',
icon: markRaw(IconMetadata), // icon: markRaw(IconMetadata),
children: [ // children: [
{ // {
id: 2, // id: 2,
name: '连接管理', // name: '连接管理',
path: '/connect', // path: '/connect',
icon: markRaw(IconConnect), // icon: markRaw(IconConnect),
// tag: 'v1-experiment-connection', // // tag: 'v1-experiment-connection',
}, // },
{ // {
id: 3, // id: 3,
name: '用户属性管理', // name: '用户属性管理',
path: '/metadata/user', // path: '/metadata/user',
icon: markRaw(IconUser2), // icon: markRaw(IconUser2),
// tag: 'v1-experiment-meta-member', // // tag: 'v1-experiment-meta-member',
}, // },
{ // {
id: 4, // id: 4,
name: '事件属性管理', // name: '事件属性管理',
path: '/metadata/event', // path: '/metadata/event',
icon: markRaw(IconEvent), // icon: markRaw(IconEvent),
// tag: 'v1-experiment-meta-event', // // tag: 'v1-experiment-meta-event',
}, // },
], // ],
}, // },
{ // {
id: 5, // id: 5,
name: '营销策划', // name: '营销策划',
path: '/market/review', // path: '/market/review',
studentPath: '/market/my', // studentPath: '/market/my',
icon: markRaw(IconMarket), // icon: markRaw(IconMarket),
}, // },
{ // {
id: 6, // id: 6,
name: '用户画像', // name: '用户画像',
path: '/user', // path: '/user',
icon: markRaw(IconUser), // icon: markRaw(IconUser),
// tag: 'v1-experiment-member', // // tag: 'v1-experiment-member',
}, // },
{ // {
id: 7, // id: 7,
name: '用户识别', // name: '用户识别',
path: '/label', // path: '/label',
icon: markRaw(IconGroup2), // icon: markRaw(IconGroup2),
children: [ // children: [
{ // {
id: 8, // id: 8,
name: '标签管理', // name: '标签管理',
path: '/label', // path: '/label',
icon: markRaw(IconLabel), // icon: markRaw(IconLabel),
// tag: 'experiment_tags', // // tag: 'experiment_tags',
}, // },
{ // {
id: 9, // id: 9,
name: '群组管理', // name: '群组管理',
path: '/group', // path: '/group',
icon: markRaw(IconGroup), // icon: markRaw(IconGroup),
// tag: 'experiment_groups', // // tag: 'experiment_groups',
}, // },
{ // {
id: 71, // id: 71,
name: '运营策略管理', // name: '运营策略管理',
path: '/strategy', // path: '/strategy',
icon: markRaw(IconLiveTalk), // icon: markRaw(IconLiveTalk),
// tag: 'experiment_groups', // // tag: 'experiment_groups',
}, // },
], // ],
}, // },
{ // {
id: 10, // id: 10,
name: '营销内容设计', // name: '营销内容设计',
path: '/material', // path: '/material',
icon: markRaw(IconMaterial), // icon: markRaw(IconMaterial),
// tag: 'v1-experiment-marketing-material', // // tag: 'v1-experiment-marketing-material',
children: [ // children: [
{ // {
id: 11, // id: 11,
name: '文本资料管理', // name: '文本资料管理',
path: '/material?type=1', // path: '/material?type=1',
icon: markRaw(IconText), // icon: markRaw(IconText),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 12, // id: 12,
name: '图片资料管理', // name: '图片资料管理',
path: '/material?type=2', // path: '/material?type=2',
icon: markRaw(IconImage), // icon: markRaw(IconImage),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 13, // id: 13,
name: '卡券资料管理', // name: '卡券资料管理',
path: '/material?type=8', // path: '/material?type=8',
icon: markRaw(IconCard), // icon: markRaw(IconCard),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 17, // id: 17,
name: '语音资料管理', // name: '语音资料管理',
path: '/material?type=3', // path: '/material?type=3',
icon: markRaw(IconAudio), // icon: markRaw(IconAudio),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 14, // id: 14,
name: '数字人管理', // name: '数字人管理',
path: '/material/digital-human', // path: '/material/digital-human',
icon: markRaw(IconVideo), // icon: markRaw(IconVideo),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 14, // id: 14,
name: '视频资料管理', // name: '视频资料管理',
path: '/material?type=4', // path: '/material?type=4',
icon: markRaw(IconVideo), // icon: markRaw(IconVideo),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 15, // id: 15,
name: 'H5资料管理', // name: 'H5资料管理',
path: '/material?type=5', // path: '/material?type=5',
icon: markRaw(IconH5), // icon: markRaw(IconH5),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 16, // id: 16,
name: '二维码资料管理', // name: '二维码资料管理',
path: '/material?type=6', // path: '/material?type=6',
icon: markRaw(IconQrcode), // icon: markRaw(IconQrcode),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
{ // {
id: 18, // id: 18,
name: '小程序资料管理', // name: '小程序资料管理',
path: '/material?type=7', // path: '/material?type=7',
icon: markRaw(IconMiniProgram), // icon: markRaw(IconMiniProgram),
// tag: 'v1-experiment-marketing-material-list', // // tag: 'v1-experiment-marketing-material-list',
}, // },
], // ],
}, // },
{ // {
id: 19, // id: 19,
name: '自动化营销', // name: '自动化营销',
path: '/trip', // path: '/trip',
studentPath: '/trip/my', // studentPath: '/trip/my',
icon: markRaw(IconTrip), // icon: markRaw(IconTrip),
// tag: 'experiment_itinerary', // // tag: 'experiment_itinerary',
// children: [{ name: '旅程模板管理', path: '/trip/template', tag: 'experiment_itinerary_list' }] // // children: [{ name: '旅程模板管理', path: '/trip/template', tag: 'experiment_itinerary_list' }]
}, // },
{ {
id: 20, id: 20,
name: '直播', name: '直播',
...@@ -369,18 +369,18 @@ const adminMenus: IMenuItem[] = [ ...@@ -369,18 +369,18 @@ const adminMenus: IMenuItem[] = [
{ id: 201, name: '订单管理', path: '/live/order', icon: markRaw(IconCard) }, { id: 201, name: '订单管理', path: '/live/order', icon: markRaw(IconCard) },
], ],
}, },
{ // {
id: 26, // id: 26,
name: '数据分析', // name: '数据分析',
path: '/analyze', // path: '/analyze',
icon: markRaw(IconAnalyze), // icon: markRaw(IconAnalyze),
children: [ // children: [
{ id: 27, name: '用户分析', path: '/analyze/user' }, // { id: 27, name: '用户分析', path: '/analyze/user' },
{ id: 28, name: '标签群组分析', path: '/analyze/label' }, // { id: 28, name: '标签群组分析', path: '/analyze/label' },
{ id: 29, name: '事件分析', path: '/analyze/event' }, // { id: 29, name: '事件分析', path: '/analyze/event' },
{ id: 30, name: '营销分析', path: '/analyze/marketing' }, // { id: 30, name: '营销分析', path: '/analyze/marketing' },
], // ],
}, // },
] ]
export const useMenuStore = defineStore({ export const useMenuStore = defineStore({
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论