|
|
@@ -22,43 +22,57 @@ const routes = [
|
|
|
component: () => import('../views/Bok'),
|
|
|
redirect: '/questionRepository',
|
|
|
children: [
|
|
|
- {
|
|
|
- path: 'example',
|
|
|
- name: 'Example',
|
|
|
- component: () => import('../components/bok/bokMain/Example'),
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'questionSearch',
|
|
|
- name: 'QuestionSearch',
|
|
|
- component: () => import('../components/bok/bokMain/QuestionSearch'),
|
|
|
- },
|
|
|
{
|
|
|
path: 'questionRepository',
|
|
|
name: "QuestionRepository",
|
|
|
- component: () => import("../components/bok/bokMain/QuestionRepository"),
|
|
|
+ component: () => import("../components/bok/bokMain/QuestionRepository/index"),
|
|
|
+ children:[
|
|
|
+ {
|
|
|
+ path: "search/:content",
|
|
|
+ name: "QR_Search",
|
|
|
+ component: ()=>import("../components/bok/bokMain/QuestionRepository/Search"),
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: "collection",
|
|
|
name: "Collection",
|
|
|
component: () => import("../components/bok/bokMain/Collection"),
|
|
|
},
|
|
|
- {
|
|
|
- path: "completion",
|
|
|
- name: "Completion",
|
|
|
- component: () => import("../components/bok/bokMain/Completion"),
|
|
|
- },
|
|
|
{
|
|
|
path: "setting",
|
|
|
name: "Setting",
|
|
|
component: () => import("../components/bok/bokMain/Setting"),
|
|
|
},
|
|
|
+ {
|
|
|
+ path: "knowledge",
|
|
|
+ name: "Knowledge",
|
|
|
+ component: ()=>import("@/components/bok/bokMain/Knowledge")
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "knowledgeGraph",
|
|
|
+ name: "KnowledgeGraph",
|
|
|
+ component: ()=>import("@/components/bok/bokMain/KnowledgeGraph")
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "questionList/:questionListId",
|
|
|
+ name: "QuestionList",
|
|
|
+ component: ()=>import("@/components/bok/bokMain/QuestionList/index"),
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "search/:content",
|
|
|
+ name: "QL_Search",
|
|
|
+ component:()=>import("@/components/bok/bokMain/QuestionList/Search"),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "knowledgePoint/:knowledgePointId",
|
|
|
+ name: "KnowledgePoint",
|
|
|
+ component: ()=>import("@/components/bok/bokMain/KnowledgePoint")
|
|
|
+ },
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- path: "/question/:questionId",
|
|
|
- name: 'Question',
|
|
|
- component: () => import('../views/Question')
|
|
|
- },
|
|
|
{
|
|
|
path: "/module/:moduleId",
|
|
|
name: 'Module',
|