onlyoffice在线编辑

This commit is contained in:
hanchaobo
2024-03-18 17:53:14 +08:00
parent b1810b835a
commit 9948c9ed04
12 changed files with 1371 additions and 82 deletions
@@ -81,7 +81,7 @@
<el-col :span="24">
<el-form-item label="调解书:" v-if="recordArrMediate.length > 0">
<div v-for="(item, index) in recordArrMediate" :key="index" style="color: blue">
<a href="#" @click="toFileMediate(item.annexPath)">{{ item.annexName }}</a>
<a href="#" @click="toFileMediate(item.onlyOfficeFileId)">{{ item.annexName }}</a>
</div>
</el-form-item>
</el-col>
@@ -289,8 +289,9 @@ export default {
toFile2(annexPath) {
window.open(window.location.origin + "/API" + annexPath, "_black");
},
toFileMediate(annexPath) {
window.open(window.location.origin + "/API" + annexPath, "_black");
toFileMediate(val) {
// window.open(window.location.origin + "/API" + annexPath, "_black");
this.$router.push({ path: '/onlyoffice', query: {id:val,flag:1} })
},
/** 生成调解书 */
mediationFn(data) {