From 2f0fa7f407d27b3f5e950617d9856493594fe636 Mon Sep 17 00:00:00 2001
From: cwchen <1048842385@qq.com>
Date: Mon, 10 Nov 2025 09:54:25 +0800
Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E9=9B=86=E6=88=90=E6=96=87?=
=?UTF-8?q?=E6=A1=A3=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/router/index.js | 14 ++++++++++++++
src/views/analysis/index.vue | 11 ++++++-----
src/views/common/DocumentSearch.vue | 11 +++++++++++
3 files changed, 31 insertions(+), 5 deletions(-)
create mode 100644 src/views/common/DocumentSearch.vue
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 @@
新建项目
预览文档
+ 文档搜索功能
-
@@ -99,6 +95,11 @@ export default {
name: 'TestOnlyOffice',
})
},
+ handleDocumentSearch() {
+ this.$router.push({
+ name: 'DocumentSearch',
+ })
+ },
/** 新增按钮操作 */
handleAdd() {
diff --git a/src/views/common/DocumentSearch.vue b/src/views/common/DocumentSearch.vue
new file mode 100644
index 0000000..17f180d
--- /dev/null
+++ b/src/views/common/DocumentSearch.vue
@@ -0,0 +1,11 @@
+
+
+
文档搜索
+
+
+
+
\ No newline at end of file