word 文档搜索

This commit is contained in:
cwchen 2025-11-11 10:56:53 +08:00
parent 064cefa5e6
commit 2f16e92da8
3 changed files with 35 additions and 0 deletions

View File

@ -569,6 +569,20 @@ export const dynamicRoutes = [
} }
] ]
}, },
{
path: '/documentSearchWord',
component: Layout,
hidden: true,
permissions: ['enterpriseLibrary:analysis:detail'],
children: [
{
path: 'index',
component: () => import('@/views/common/DocumentSearchWord'),
name: 'DocumentSearchWord',
meta: { title: 'Word文档搜索', activeMenu: '/analysis', noCache: true }
}
]
},
] ]
// 防止连续点击多次路由报错 // 防止连续点击多次路由报错

View File

@ -12,6 +12,7 @@
class="el-icon-plus"></i> 新建项目</el-button> class="el-icon-plus"></i> 新建项目</el-button>
<el-button @click="handleOnlyOffice">预览文档</el-button> <el-button @click="handleOnlyOffice">预览文档</el-button>
<el-button @click="handleDocumentSearch">文档搜索功能</el-button> <el-button @click="handleDocumentSearch">文档搜索功能</el-button>
<el-button @click="handleDocumentSearchWord">Word文档搜索功能</el-button>
</template> </template>
<template slot="handle" slot-scope="{ data }"> <template slot="handle" slot-scope="{ data }">
<el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn" <el-button type="text" v-hasPermi="['enterpriseLibrary:analysis:detail']" class="action-btn"
@ -100,6 +101,11 @@ export default {
name: 'DocumentSearch', name: 'DocumentSearch',
}) })
}, },
handleDocumentSearchWord() {
this.$router.push({
name: 'DocumentSearchWord',
})
},
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {

View File

@ -0,0 +1,15 @@
<template>
<div class="document-search-word">
<div class="document-search-word-header">
<div class="document-search-word-header-title">
<span>word文档搜索</span>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'DocumentSearchWord',
}
</script>
<style scoped></style>