Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-dml
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-dml
Commits
06311414
提交
06311414
authored
7月 17, 2025
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 去掉直播
上级
1aed3b6f
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
183 行增加
和
183 行删除
+183
-183
menu.ts
src/stores/menu.ts
+183
-183
没有找到文件。
src/stores/menu.ts
浏览文件 @
06311414
...
@@ -6,7 +6,7 @@ import IconMetadata from '@/components/icon/IconMetadata.vue'
...
@@ -6,7 +6,7 @@ import IconMetadata from '@/components/icon/IconMetadata.vue'
import
IconConnect
from
'@/components/icon/IconConnect.vue'
import
IconConnect
from
'@/components/icon/IconConnect.vue'
import
IconUser
from
'@/components/icon/IconUser.vue'
import
IconUser
from
'@/components/icon/IconUser.vue'
import
IconGroup2
from
'@/components/icon/IconGroup2.vue'
import
IconGroup2
from
'@/components/icon/IconGroup2.vue'
//
import IconUser2 from '@/components/icon/IconUser2.vue'
import
IconUser2
from
'@/components/icon/IconUser2.vue'
import
IconLabel
from
'@/components/icon/IconLabel.vue'
import
IconLabel
from
'@/components/icon/IconLabel.vue'
import
IconGroup
from
'@/components/icon/IconGroup.vue'
import
IconGroup
from
'@/components/icon/IconGroup.vue'
import
IconMaterial
from
'@/components/icon/IconMaterial.vue'
import
IconMaterial
from
'@/components/icon/IconMaterial.vue'
...
@@ -20,11 +20,11 @@ import IconH5 from '@/components/icon/IconH5.vue'
...
@@ -20,11 +20,11 @@ import IconH5 from '@/components/icon/IconH5.vue'
import
IconQrcode
from
'@/components/icon/IconQrcode.vue'
import
IconQrcode
from
'@/components/icon/IconQrcode.vue'
import
IconMiniProgram
from
'@/components/icon/IconMiniProgram.vue'
import
IconMiniProgram
from
'@/components/icon/IconMiniProgram.vue'
import
IconCard
from
'@/components/icon/IconCard.vue'
import
IconCard
from
'@/components/icon/IconCard.vue'
//
import IconEvent from '@/components/icon/IconEvent.vue'
import
IconEvent
from
'@/components/icon/IconEvent.vue'
import
IconMarket
from
'@/components/icon/IconMarket.vue'
import
IconMarket
from
'@/components/icon/IconMarket.vue'
import
IconLive
from
'@/components/icon/IconLive.vue'
import
IconLive
from
'@/components/icon/IconLive.vue'
import
IconLiveProductCategory
from
'@/components/icon/IconLiveProductCategory.vue'
//
import IconLiveProductCategory from '@/components/icon/IconLiveProductCategory.vue'
import
IconLiveProductAttr
from
'@/components/icon/IconLiveProductAttr.vue'
//
import IconLiveProductAttr from '@/components/icon/IconLiveProductAttr.vue'
import
IconLiveProductManagement
from
'@/components/icon/IconLiveProductManagement.vue'
import
IconLiveProductManagement
from
'@/components/icon/IconLiveProductManagement.vue'
import
IconLiveTalk
from
'@/components/icon/IconLiveTalk.vue'
import
IconLiveTalk
from
'@/components/icon/IconLiveTalk.vue'
import
IconLiveTest
from
'@/components/icon/IconLiveTest.vue'
import
IconLiveTest
from
'@/components/icon/IconLiveTest.vue'
...
@@ -190,197 +190,197 @@ const studentMenus: IMenuItem[] = [
...
@@ -190,197 +190,197 @@ const studentMenus: IMenuItem[] = [
]
]
const
adminMenus
:
IMenuItem
[]
=
[
const
adminMenus
:
IMenuItem
[]
=
[
// {
// id: 1,
// name: '基础配置',
// path: '/connect',
// icon: markRaw(IconMetadata),
// children: [
// {
// id: 2,
// name: '连接管理',
// path: '/connect',
// icon: markRaw(IconConnect),
// // tag: 'v1-experiment-connection',
// },
// {
// id: 3,
// name: '用户属性管理',
// path: '/metadata/user',
// icon: markRaw(IconUser2),
// // tag: 'v1-experiment-meta-member',
// },
// {
// id: 4,
// name: '事件属性管理',
// path: '/metadata/event',
// icon: markRaw(IconEvent),
// // tag: 'v1-experiment-meta-event',
// },
// ],
// },
// {
// id: 5,
// name: '营销策划',
// path: '/market/review',
// studentPath: '/market/my',
// icon: markRaw(IconMarket),
// },
// {
// id: 6,
// name: '用户画像',
// path: '/user',
// icon: markRaw(IconUser),
// // tag: 'v1-experiment-member',
// },
// {
// id: 7,
// name: '用户识别',
// path: '/label',
// icon: markRaw(IconGroup2),
// children: [
// {
// id: 8,
// name: '标签管理',
// path: '/label',
// icon: markRaw(IconLabel),
// // tag: 'experiment_tags',
// },
// {
// id: 9,
// name: '群组管理',
// path: '/group',
// icon: markRaw(IconGroup),
// // tag: 'experiment_groups',
// },
// {
// id: 71,
// name: '运营策略管理',
// path: '/strategy',
// icon: markRaw(IconLiveTalk),
// // tag: 'experiment_groups',
// },
// ],
// },
// {
// id: 10,
// name: '营销内容设计',
// path: '/material',
// icon: markRaw(IconMaterial),
// // tag: 'v1-experiment-marketing-material',
// children: [
// {
// id: 11,
// name: '文本资料管理',
// path: '/material?type=1',
// icon: markRaw(IconText),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 12,
// name: '图片资料管理',
// path: '/material?type=2',
// icon: markRaw(IconImage),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 13,
// name: '卡券资料管理',
// path: '/material?type=8',
// icon: markRaw(IconCard),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 17,
// name: '语音资料管理',
// path: '/material?type=3',
// icon: markRaw(IconAudio),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 14,
// name: '数字人管理',
// path: '/material/digital-human',
// icon: markRaw(IconVideo),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 14,
// name: '视频资料管理',
// path: '/material?type=4',
// icon: markRaw(IconVideo),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 15,
// name: 'H5资料管理',
// path: '/material?type=5',
// icon: markRaw(IconH5),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 16,
// name: '二维码资料管理',
// path: '/material?type=6',
// icon: markRaw(IconQrcode),
// // tag: 'v1-experiment-marketing-material-list',
// },
// {
// id: 18,
// name: '小程序资料管理',
// path: '/material?type=7',
// icon: markRaw(IconMiniProgram),
// // tag: 'v1-experiment-marketing-material-list',
// },
// ],
// },
// {
// id: 19,
// name: '自动化营销',
// path: '/trip',
// studentPath: '/trip/my',
// icon: markRaw(IconTrip),
// // tag: 'experiment_itinerary',
// // children: [{ name: '旅程模板管理', path: '/trip/template', tag: 'experiment_itinerary_list' }]
// },
{
{
id
:
20
,
id
:
1
,
name
:
'
直播
'
,
name
:
'
基础配置
'
,
path
:
'/
live
'
,
path
:
'/
connect
'
,
icon
:
markRaw
(
Icon
Live
),
icon
:
markRaw
(
Icon
Metadata
),
children
:
[
children
:
[
{
{
id
:
21
,
id
:
2
,
name
:
'商品品类管理'
,
name
:
'连接管理'
,
path
:
'/live/product/category'
,
path
:
'/connect'
,
icon
:
markRaw
(
IconLiveProductCategory
),
icon
:
markRaw
(
IconConnect
),
role
:
[
5
,
6
],
// tag: 'v1-experiment-connection',
},
{
id
:
3
,
name
:
'用户属性管理'
,
path
:
'/metadata/user'
,
icon
:
markRaw
(
IconUser2
),
// tag: 'v1-experiment-meta-member',
},
},
{
id
:
22
,
name
:
'商品属性管理'
,
path
:
'/live/product/attr'
,
icon
:
markRaw
(
IconLiveProductAttr
),
role
:
[
5
,
6
]
},
{
{
id
:
23
,
id
:
4
,
name
:
'
商品
管理'
,
name
:
'
事件属性
管理'
,
path
:
'/
live/product/managem
ent'
,
path
:
'/
metadata/ev
ent'
,
icon
:
markRaw
(
Icon
LiveProductManagem
ent
),
icon
:
markRaw
(
Icon
Ev
ent
),
role
:
[
5
,
6
]
,
// tag: 'v1-experiment-meta-event'
,
},
},
{
id
:
24
,
name
:
'直播话术管理'
,
path
:
'/live/talk'
,
icon
:
markRaw
(
IconLiveTalk
)
},
{
id
:
25
,
name
:
'直播'
,
path
:
'/live/test'
,
icon
:
markRaw
(
IconLiveTest
)
},
{
id
:
201
,
name
:
'订单管理'
,
path
:
'/live/order'
,
icon
:
markRaw
(
IconCard
)
},
],
],
},
},
{
id
:
5
,
name
:
'营销策划'
,
path
:
'/market/review'
,
studentPath
:
'/market/my'
,
icon
:
markRaw
(
IconMarket
),
},
{
id
:
6
,
name
:
'用户画像'
,
path
:
'/user'
,
icon
:
markRaw
(
IconUser
),
// tag: 'v1-experiment-member',
},
{
id
:
7
,
name
:
'用户识别'
,
path
:
'/label'
,
icon
:
markRaw
(
IconGroup2
),
children
:
[
{
id
:
8
,
name
:
'标签管理'
,
path
:
'/label'
,
icon
:
markRaw
(
IconLabel
),
// tag: 'experiment_tags',
},
{
id
:
9
,
name
:
'群组管理'
,
path
:
'/group'
,
icon
:
markRaw
(
IconGroup
),
// tag: 'experiment_groups',
},
{
id
:
71
,
name
:
'运营策略管理'
,
path
:
'/strategy'
,
icon
:
markRaw
(
IconLiveTalk
),
// tag: 'experiment_groups',
},
],
},
{
id
:
10
,
name
:
'营销内容设计'
,
path
:
'/material'
,
icon
:
markRaw
(
IconMaterial
),
// tag: 'v1-experiment-marketing-material',
children
:
[
{
id
:
11
,
name
:
'文本资料管理'
,
path
:
'/material?type=1'
,
icon
:
markRaw
(
IconText
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
12
,
name
:
'图片资料管理'
,
path
:
'/material?type=2'
,
icon
:
markRaw
(
IconImage
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
13
,
name
:
'卡券资料管理'
,
path
:
'/material?type=8'
,
icon
:
markRaw
(
IconCard
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
17
,
name
:
'语音资料管理'
,
path
:
'/material?type=3'
,
icon
:
markRaw
(
IconAudio
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
14
,
name
:
'数字人管理'
,
path
:
'/material/digital-human'
,
icon
:
markRaw
(
IconVideo
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
14
,
name
:
'视频资料管理'
,
path
:
'/material?type=4'
,
icon
:
markRaw
(
IconVideo
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
15
,
name
:
'H5资料管理'
,
path
:
'/material?type=5'
,
icon
:
markRaw
(
IconH5
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
16
,
name
:
'二维码资料管理'
,
path
:
'/material?type=6'
,
icon
:
markRaw
(
IconQrcode
),
// tag: 'v1-experiment-marketing-material-list',
},
{
id
:
18
,
name
:
'小程序资料管理'
,
path
:
'/material?type=7'
,
icon
:
markRaw
(
IconMiniProgram
),
// tag: 'v1-experiment-marketing-material-list',
},
],
},
{
id
:
19
,
name
:
'自动化营销'
,
path
:
'/trip'
,
studentPath
:
'/trip/my'
,
icon
:
markRaw
(
IconTrip
),
// tag: 'experiment_itinerary',
// children: [{ name: '旅程模板管理', path: '/trip/template', tag: 'experiment_itinerary_list' }]
},
// {
// {
// id: 2
6
,
// id: 2
0
,
// name: '
数据分析
',
// name: '
直播
',
// path: '/
analyz
e',
// path: '/
liv
e',
// icon: markRaw(Icon
Analyz
e),
// icon: markRaw(Icon
Liv
e),
// children: [
// children: [
// { id: 27, name: '用户分析', path: '/analyze/user' },
// {
// { id: 28, name: '标签群组分析', path: '/analyze/label' },
// id: 21,
// { id: 29, name: '事件分析', path: '/analyze/event' },
// name: '商品品类管理',
// { id: 30, name: '营销分析', path: '/analyze/marketing' },
// path: '/live/product/category',
// icon: markRaw(IconLiveProductCategory),
// role: [5, 6],
// },
// { id: 22, name: '商品属性管理', path: '/live/product/attr', icon: markRaw(IconLiveProductAttr), role: [5, 6] },
// {
// id: 23,
// name: '商品管理',
// path: '/live/product/management',
// icon: markRaw(IconLiveProductManagement),
// role: [5, 6],
// },
// { id: 24, name: '直播话术管理', path: '/live/talk', icon: markRaw(IconLiveTalk) },
// { id: 25, name: '直播', path: '/live/test', icon: markRaw(IconLiveTest) },
// { id: 201, name: '订单管理', path: '/live/order', icon: markRaw(IconCard) },
// ],
// ],
// },
// },
{
id
:
26
,
name
:
'数据分析'
,
path
:
'/analyze'
,
icon
:
markRaw
(
IconAnalyze
),
children
:
[
{
id
:
27
,
name
:
'用户分析'
,
path
:
'/analyze/user'
},
{
id
:
28
,
name
:
'标签群组分析'
,
path
:
'/analyze/label'
},
{
id
:
29
,
name
:
'事件分析'
,
path
:
'/analyze/event'
},
{
id
:
30
,
name
:
'营销分析'
,
path
:
'/analyze/marketing'
},
],
},
]
]
export
const
useMenuStore
=
defineStore
({
export
const
useMenuStore
=
defineStore
({
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论