Excel 文档查看
This commit is contained in:
parent
6cef01b811
commit
f608409698
|
|
@ -583,6 +583,20 @@ export const dynamicRoutes = [
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/documentExcel',
|
||||||
|
component: Layout,
|
||||||
|
hidden: true,
|
||||||
|
permissions: ['enterpriseLibrary:analysis:detail'],
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'index',
|
||||||
|
component: () => import('@/views/common/DocumentExcel'),
|
||||||
|
name: 'DocumentExcel',
|
||||||
|
meta: { title: 'Excel文档查看', activeMenu: '/analysis', noCache: true }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
// 防止连续点击多次路由报错
|
// 防止连续点击多次路由报错
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
<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>
|
<el-button @click="handleDocumentSearchWord">Word文档搜索功能</el-button>
|
||||||
|
<el-button @click="handleDocumentExcel">Excel文档查看</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"
|
||||||
|
|
@ -106,6 +107,11 @@ export default {
|
||||||
name: 'DocumentSearchWord',
|
name: 'DocumentSearchWord',
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
handleDocumentExcel() {
|
||||||
|
this.$router.push({
|
||||||
|
name: 'DocumentExcel',
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
/** 新增按钮操作 */
|
/** 新增按钮操作 */
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<template>
|
||||||
|
<div>Excel文档查看</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue