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

新增实训资源

上级 2a7782df
......@@ -2,3 +2,4 @@ VITE_LOGIN_URL=https://login.ezijing.com/auth/login/index
VITE_BASE_URL=https://learn-api.ezijing.com
VITE_SECRET_ID=ezijing_f807b4fa39afd0f535260ebca7932676
VITE_SECRET_KEY=1c0bf69718c780bed64d522a76942dd2
VITE_X_TRAINING_URL=https://x-training.ezijing.com
......@@ -2,3 +2,4 @@ VITE_LOGIN_URL=https://login.ezijing.com/auth/login/index
VITE_BASE_URL=https://learn-api.ezijing.com
VITE_SECRET_ID=ezijing_f807b4fa39afd0f535260ebca7932676
VITE_SECRET_KEY=1c0bf69718c780bed64d522a76942dd2
VITE_X_TRAINING_URL=https://x-training2.ezijing.com
......@@ -2,3 +2,4 @@ VITE_LOGIN_URL=https://login2.ezijing.com/auth/login/index
VITE_BASE_URL=https://learn-api2.ezijing.com
VITE_SECRET_ID=ezijing_f807b4fa39afd0f535260ebca7932676
VITE_SECRET_KEY=1c0bf69718c780bed64d522a76942dd2
VITE_X_TRAINING_URL=https://x-training2.ezijing.com
......@@ -11,7 +11,10 @@
:key="subitem.path"
v-permission="subitem.tag"
>
{{ subitem.name }}
<template v-if="subitem.href">
<a :href="subitem.href" target="_blank">{{ subitem.name }}</a>
</template>
<template v-else>{{ subitem.name }}</template>
</el-menu-item>
</el-submenu>
<el-menu-item :index="item.path" :key="item.path" v-permission="item.tag" v-else>
......@@ -27,23 +30,24 @@
export default {
name: 'AppAside',
data() {
const xtrainingUrl = import.meta.env.VITE_X_TRAINING_URL
return {
menuList: [
{
name: '仪表台',
path: '/dashboard',
icon: 'el-icon-data-board',
icon: 'el-icon-house',
tag: 'menu_console',
children: [{ name: '数据总览', path: '/dashboard', tag: 'menu_console_index' }]
},
{
name: '教务管理',
path: '/school/class',
icon: 'el-icon-help',
icon: 'el-icon-data-board',
children: [
{ name: '班级管理', path: '/school/class', tag: 'menu_class' },
{ name: '课程管理', path: '/school/course', tag: 'menu_course' },
{ name: '考试管理', path: '/school/exam', tag: 'menu_examination' },
{ name: '考试管理', path: '/school/exam', tag: 'menu_examination_list' },
{ name: '考卷批阅', path: '/school/review/exam', tag: 'menu_examination_paper_review' },
{ name: '习题批阅', path: '/school/review/test', tag: 'menu_examination_exercise_review' },
{ name: '证书管理', path: '/school/cert', tag: 'menu_certificate' }
......@@ -69,6 +73,13 @@ export default {
{ name: '我的审核', path: '/audit/my', tag: 'menu_lobby' }
]
},
{
name: '实训资源',
icon: 'el-icon-folder-opened',
tag: 'menu_training',
path: xtrainingUrl,
children: [{ name: '实训课程库', path: xtrainingUrl, href: xtrainingUrl, tag: 'menu_tranining_test' }]
},
{
name: '系统管理',
path: '/system/safe',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论