|
@@ -71,9 +71,36 @@ export const constantRoutes = [
|
|
|
hidden: true
|
|
|
},
|
|
|
{
|
|
|
+ path: '/knowledge',
|
|
|
+ component: Layout,
|
|
|
+ type:32,
|
|
|
+ meta: {
|
|
|
+ title: '知识库',
|
|
|
+ icon: 'zhisk',
|
|
|
+ roles: ['admin']
|
|
|
+ },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'knowledgeMenu/index',
|
|
|
+ component: () => import('@/views/knowledgeMenu/knowledgeList.vue'),
|
|
|
+ name: 'KBM\n',
|
|
|
+ meta: { title: '知识库管理', noCache: true,roles: ['admin'] }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'category/knowledgeSet',
|
|
|
+ component: () => import('@/views/knowledgeMenu/category/knowledgeSet'),
|
|
|
+ name: 'KBM\n_setting',
|
|
|
+ hidden:true,
|
|
|
+ meta: { title: '知识库配置', noCache: true ,roles: ['admin']}
|
|
|
+ },
|
|
|
+
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ /* {
|
|
|
path: '/',
|
|
|
component: Layout,
|
|
|
redirect: '/dashboard',
|
|
|
+ hidden: true,
|
|
|
children: [
|
|
|
{
|
|
|
path: 'dashboard',
|
|
@@ -83,7 +110,8 @@ export const constantRoutes = [
|
|
|
meta: { title: '用户首页', icon: 'dashboards', affix: true }
|
|
|
}
|
|
|
]
|
|
|
- },
|
|
|
+ }, */
|
|
|
+
|
|
|
{
|
|
|
path: '/profile',
|
|
|
component: Layout,
|
|
@@ -175,7 +203,7 @@ export const asyncRoutes = [
|
|
|
}
|
|
|
]
|
|
|
}, */
|
|
|
- {
|
|
|
+ /* {
|
|
|
path: '/customer',
|
|
|
component: Layout,
|
|
|
type:4,
|
|
@@ -193,7 +221,7 @@ export const asyncRoutes = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
-/* {
|
|
|
+ {
|
|
|
path: '/product',
|
|
|
component: Layout,
|
|
|
type:5,
|
|
@@ -230,7 +258,7 @@ export const asyncRoutes = [
|
|
|
]
|
|
|
}, */
|
|
|
|
|
|
- {
|
|
|
+ /* {
|
|
|
path: '/document',
|
|
|
component: Layout,
|
|
|
type:10,
|
|
@@ -245,13 +273,6 @@ export const asyncRoutes = [
|
|
|
name: 'documentSearch',
|
|
|
meta: { title: '文档管理', noCache: true }
|
|
|
},
|
|
|
- /* {
|
|
|
- path: 'new',
|
|
|
- redirect: '/document/create',
|
|
|
- target:"_blank",
|
|
|
- name:"createNewDocument",
|
|
|
- meta: { title: '创建文档', noCache: true,hidden:true }
|
|
|
- }, */
|
|
|
{
|
|
|
path: 'category/search',
|
|
|
component: () => import('@/views/document/category/search'),
|
|
@@ -277,40 +298,10 @@ export const asyncRoutes = [
|
|
|
name: 'template',
|
|
|
meta: { title: '模块列表', noCache: true ,roles: ['admin']}
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- /*{
|
|
|
- path: 'dataCenter/index',
|
|
|
- component: () => import('@/views/dataCenter/search'),
|
|
|
- name: 'dataCenter',
|
|
|
- meta: { title: '原始数据', noCache: true,roles: ['admin'] }
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- path: 'dataCenter/create',
|
|
|
- component: () => import('@/views/dataCenter/create'),
|
|
|
- name: 'dataCreate',
|
|
|
- hidden:true,
|
|
|
- meta: { title: '创建原始数据', noCache: true,roles: ['admin'] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'dataCenter/info',
|
|
|
- component: () => import('@/views/dataCenter/dataView'),
|
|
|
- name: 'dataView',
|
|
|
- hidden:true,
|
|
|
- meta: { title: '预览数据', noCache: true,roles: ['admin'] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'dataCenter/category/index',
|
|
|
- component: () => import('@/views/dataCenter/category/search'),
|
|
|
- name: 'dataCenterCategorySearch',
|
|
|
- meta: { title: '原始数据分类', noCache: true,roles: ['admin'] }
|
|
|
- }, */
|
|
|
]
|
|
|
- },
|
|
|
+ }, */
|
|
|
|
|
|
- {
|
|
|
+ /* {
|
|
|
path: '/knowledge',
|
|
|
component: Layout,
|
|
|
type:32,
|
|
@@ -333,16 +324,17 @@ export const asyncRoutes = [
|
|
|
hidden:true,
|
|
|
meta: { title: '知识库配置', noCache: true ,roles: ['admin']}
|
|
|
},
|
|
|
- /* {
|
|
|
+
|
|
|
+ ]
|
|
|
+ }, */
|
|
|
+ /* {
|
|
|
path: 'category/infoList',
|
|
|
component: () => import('@/views/knowledgeMenu/category/infoList'),
|
|
|
name: 'KBM_info',
|
|
|
hidden:true,
|
|
|
meta: { title: '解析块', noCache: true ,roles: ['admin']}
|
|
|
} */
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
+/* {
|
|
|
path: '/applet',
|
|
|
component: Layout,
|
|
|
type:1,
|
|
@@ -365,7 +357,7 @@ export const asyncRoutes = [
|
|
|
meta: { title: '投诉建议', noCache: true,roles: ['admin'] }
|
|
|
},
|
|
|
]
|
|
|
- },
|
|
|
+ }, */
|
|
|
{
|
|
|
path: '/system',
|
|
|
component: Layout,
|