feat: 添加培训考试页面路由
This commit is contained in:
parent
2e04419846
commit
1c65ea0308
|
@ -2339,6 +2339,49 @@ const routes = [
|
|||
},
|
||||
]
|
||||
},
|
||||
//考试
|
||||
{
|
||||
"name": "edu",
|
||||
"path": "/edu",
|
||||
"meta": {
|
||||
"title": "培训考试",
|
||||
"icon": "el-icon-notebook",
|
||||
"type": "menu",
|
||||
"perms": ["edu"]
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"name": "question",
|
||||
"path": "/edu/question",
|
||||
"meta": {
|
||||
"title": "题库",
|
||||
"icon": "el-icon-notebook",
|
||||
"perms": ["question"]
|
||||
},
|
||||
"component": "edu/question"
|
||||
},
|
||||
{
|
||||
"name": "paper",
|
||||
"path": "/edu/paper",
|
||||
"meta": {
|
||||
"title": "试卷库",
|
||||
"icon": "el-icon-notebook",
|
||||
"perms": ["paper"]
|
||||
},
|
||||
"component": "edu/paper"
|
||||
},
|
||||
{
|
||||
"name": "exam",
|
||||
"path": "/edu/exam",
|
||||
"meta": {
|
||||
"title": "在线考试",
|
||||
"icon": "el-icon-notebook",
|
||||
"perms": ["exam"]
|
||||
},
|
||||
"component": "edu/exam"
|
||||
}
|
||||
]
|
||||
},
|
||||
//基础配置
|
||||
{
|
||||
"name": "enm_base",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<h2>question</h2>
|
||||
</div>
|
||||
</template>
|
|
@ -0,0 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<h2>question</h2>
|
||||
</div>
|
||||
</template>
|
|
@ -0,0 +1,5 @@
|
|||
<template>
|
||||
<div>
|
||||
<h2>question</h2>
|
||||
</div>
|
||||
</template>
|
Loading…
Reference in New Issue