diff --git a/src/router/index.js b/src/router/index.js index 6343ff8..dd93735 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -555,6 +555,20 @@ export const dynamicRoutes = [ } ] }, + { + path: '/documentSearch', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:analysis:detail'], + children: [ + { + path: 'index', + component: () => import('@/views/common/DocumentSearch'), + name: 'DocumentSearch', + meta: { title: '文档搜索', activeMenu: '/analysis', noCache: true } + } + ] + }, ] // 防止连续点击多次路由报错 diff --git a/src/views/analysis/index.vue b/src/views/analysis/index.vue index 36b29bb..6d18dd6 100644 --- a/src/views/analysis/index.vue +++ b/src/views/analysis/index.vue @@ -11,6 +11,7 @@ 新建项目 预览文档 + 文档搜索功能