修改全文对比得细节问题
This commit is contained in:
@@ -144,6 +144,20 @@ const user = {
|
|||||||
path: '/documentTool/documentComparison',
|
path: '/documentTool/documentComparison',
|
||||||
redirect: null,
|
redirect: null,
|
||||||
route: '1'
|
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)
|
commit('SET_PERMISSIONLIST', menuData)
|
||||||
|
|||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user