Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-dml
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-dml
Commits
46ad1f25
提交
46ad1f25
authored
3月 28, 2024
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
0b044758
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
34 行增加
和
13 行删除
+34
-13
UpdateMaterialDialog.vue
src/components/base/UpdateMaterialDialog.vue
+1
-1
IconGroup2.vue
src/components/icon/IconGroup2.vue
+20
-0
Aside.vue
src/components/layout/Aside.vue
+1
-0
index.ts
src/router/index.ts
+1
-1
menu.ts
src/stores/menu.ts
+11
-11
没有找到文件。
src/components/base/UpdateMaterialDialog.vue
浏览文件 @
46ad1f25
...
@@ -74,7 +74,7 @@ const typeName = computed(() => {
...
@@ -74,7 +74,7 @@ const typeName = computed(() => {
'7'
:
'小程序'
,
'7'
:
'小程序'
,
'8'
:
'卡券'
'8'
:
'卡券'
}
}
return
json
[
props
.
type
]
return
json
[
props
.
type
]
||
''
})
})
</
script
>
</
script
>
...
...
src/components/icon/IconGroup2.vue
0 → 100644
浏览文件 @
46ad1f25
<
template
>
<svg
version=
"1.1"
id=
"图层_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
viewBox=
"0 0 200 200"
xml:space=
"preserve"
>
<path
class=
"st0"
d=
"M125.4,118.8c13.1,0,21.9,10.1,21.9,24.1l0,19.7H52.7l0-19.7c0-14,8.8-24.1,21.9-24.1H125.4z M15.4,125h33.4
c-4.4,5.6-7.1,12.9-7.7,21.1l-0.1,3.1l0,7H0l0-14c0-9.3,5.4-16.2,13.6-17.1L15.4,125h33.4H15.4z M151.3,125h33.4
c8.6,0,14.5,6.3,15.3,15.2l0.1,2l0,14H159l0-7C159.1,139.8,156.2,131.3,151.3,125l33.4,0L151.3,125z M40.9,68.7
c12.9,0,23.4,11.2,23.4,25c0,13.8-10.5,25-23.4,25c-12.9,0-23.4-11.2-23.4-25C17.5,79.9,28,68.7,40.9,68.7z M159.1,68.7
c12.9,0,23.4,11.2,23.4,25c0,13.8-10.5,25-23.4,25c-12.9,0-23.4-11.2-23.4-25C135.7,79.9,146.1,68.7,159.1,68.7z M100,37.5
c17.8,0,32.2,15.4,32.2,34.4s-14.4,34.4-32.2,34.4c-17.8,0-32.2-15.4-32.2-34.4C67.9,52.9,82.3,37.5,100,37.5L100,37.5z"
/>
</svg>
</
template
>
src/components/layout/Aside.vue
浏览文件 @
46ad1f25
...
@@ -97,6 +97,7 @@ function findMenu(path: string, menus: IMenuItem[]) {
...
@@ -97,6 +97,7 @@ function findMenu(path: string, menus: IMenuItem[]) {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
svg
{
svg
{
width
:
24px
;
fill
:
var
(
--
main-color
);
fill
:
var
(
--
main-color
);
}
}
}
}
...
...
src/router/index.ts
浏览文件 @
46ad1f25
...
@@ -25,7 +25,7 @@ router.beforeEach(async (to, from, next) => {
...
@@ -25,7 +25,7 @@ router.beforeEach(async (to, from, next) => {
path
:
to
.
path
,
path
:
to
.
path
,
query
:
{
query
:
{
...
to
.
query
,
...
to
.
query
,
experiment_id
:
from
.
query
.
experiment_id
||
'71
65149417073278976
'
,
experiment_id
:
from
.
query
.
experiment_id
||
'71
78628857853902848
'
,
student_id
:
from
.
query
.
student_id
,
student_id
:
from
.
query
.
student_id
,
force_tgc
:
from
.
query
.
force_tgc
force_tgc
:
from
.
query
.
force_tgc
}
}
...
...
src/stores/menu.ts
浏览文件 @
46ad1f25
...
@@ -5,7 +5,7 @@ import { useUserStore } from '@/stores/user'
...
@@ -5,7 +5,7 @@ import { useUserStore } from '@/stores/user'
import
IconMetadata
from
'@/components/icon/IconMetadata.vue'
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
Icon
Users
from
'@/components/icon/IconUsers
.vue'
import
Icon
Group2
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'
...
@@ -49,7 +49,7 @@ const studentMenus: IMenuItem[] = [
...
@@ -49,7 +49,7 @@ const studentMenus: IMenuItem[] = [
{
{
name
:
'用户识别'
,
name
:
'用户识别'
,
path
:
'/label'
,
path
:
'/label'
,
icon
:
markRaw
(
Icon
Users
),
icon
:
markRaw
(
Icon
Group2
),
children
:
[
children
:
[
{
{
name
:
'标签管理'
,
name
:
'标签管理'
,
...
@@ -127,9 +127,15 @@ const studentMenus: IMenuItem[] = [
...
@@ -127,9 +127,15 @@ const studentMenus: IMenuItem[] = [
const
adminMenus
:
IMenuItem
[]
=
[
const
adminMenus
:
IMenuItem
[]
=
[
{
{
name
:
'基础配置'
,
name
:
'基础配置'
,
path
:
'/
metadata
'
,
path
:
'/
connect
'
,
icon
:
markRaw
(
IconMetadata
),
icon
:
markRaw
(
IconMetadata
),
children
:
[
children
:
[
{
name
:
'连接管理'
,
path
:
'/connect'
,
icon
:
markRaw
(
IconConnect
),
tag
:
'v1-experiment-connection'
},
{
{
name
:
'用户属性管理'
,
name
:
'用户属性管理'
,
path
:
'/metadata/user'
,
path
:
'/metadata/user'
,
...
@@ -141,7 +147,7 @@ const adminMenus: IMenuItem[] = [
...
@@ -141,7 +147,7 @@ const adminMenus: IMenuItem[] = [
path
:
'/metadata/event'
,
path
:
'/metadata/event'
,
icon
:
markRaw
(
IconEvent
),
icon
:
markRaw
(
IconEvent
),
tag
:
'v1-experiment-meta-event'
tag
:
'v1-experiment-meta-event'
}
,
}
// {
// {
// name: '元数据管理',
// name: '元数据管理',
// path: '/metadata',
// path: '/metadata',
...
@@ -162,12 +168,6 @@ const adminMenus: IMenuItem[] = [
...
@@ -162,12 +168,6 @@ const adminMenus: IMenuItem[] = [
// }
// }
// ]
// ]
// },
// },
{
name
:
'连接管理'
,
path
:
'/connect'
,
icon
:
markRaw
(
IconConnect
),
tag
:
'v1-experiment-connection'
}
]
]
},
},
{
{
...
@@ -179,7 +179,7 @@ const adminMenus: IMenuItem[] = [
...
@@ -179,7 +179,7 @@ const adminMenus: IMenuItem[] = [
{
{
name
:
'用户识别'
,
name
:
'用户识别'
,
path
:
'/label'
,
path
:
'/label'
,
icon
:
markRaw
(
Icon
Users
),
icon
:
markRaw
(
Icon
Group2
),
children
:
[
children
:
[
{
{
name
:
'标签管理'
,
name
:
'标签管理'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论