修改全文对比得细节问题

This commit is contained in:
范强强
2024-02-29 15:36:17 +08:00
parent 6adbe33288
commit 1cf84900a5
2 changed files with 49 additions and 0 deletions
+14
View File
@@ -144,6 +144,20 @@ const user = {
path: '/documentTool/documentComparison',
redirect: null,
route: '1'
},
{
component: 'onlyoffice/index',
meta: {
componentName: 'onlyoffice',
icon: 'icon-24gf-folderOpen',
internalOrExternal: false,
keepAlive: false,
title: 'onlyoffice'
},
name: 'onlyoffice',
path: '/onlyoffice',
redirect: null,
route: '1'
}
]
commit('SET_PERMISSIONLIST', menuData)
+35
View File
@@ -0,0 +1,35 @@
<template>
<a-card :bordered="false">
<div class="onlyoffice-box">
<a-button icon="plus" type="primary" @click="fileClick">
打开onlyoffice
</a-button>
</div>
</a-card>
</template>
<script>
import { postAction, getAction } from '../../api/manage'
export default {
name: 'index',
data () {
return {
}
},
methods: {
fileClick () {
getAction('/onlyOffice/saveEditFile', { model: 'model_qb' }).then((res) => {
})
}
}
}
</script>
<style scoped>
.onlyoffice-box{
width: 100%;
}
</style>