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

chore: update

上级 0b044758
...@@ -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>
......
<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>
...@@ -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);
} }
} }
......
...@@ -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 || '7165149417073278976', experiment_id: from.query.experiment_id || '7178628857853902848',
student_id: from.query.student_id, student_id: from.query.student_id,
force_tgc: from.query.force_tgc force_tgc: from.query.force_tgc
} }
......
...@@ -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 IconUsers from '@/components/icon/IconUsers.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'
...@@ -49,7 +49,7 @@ const studentMenus: IMenuItem[] = [ ...@@ -49,7 +49,7 @@ const studentMenus: IMenuItem[] = [
{ {
name: '用户识别', name: '用户识别',
path: '/label', path: '/label',
icon: markRaw(IconUsers), icon: markRaw(IconGroup2),
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(IconUsers), icon: markRaw(IconGroup2),
children: [ children: [
{ {
name: '标签管理', name: '标签管理',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论