[update] 企标制修订在线编辑

This commit is contained in:
lideqin
2024-01-24 19:33:51 +08:00
parent c4734a68a1
commit 52b27eec6b
12 changed files with 61 additions and 88 deletions
@@ -210,15 +210,7 @@ export default {
},
// 在线编辑的查看
onlineEditView () {
queryFileInfoByEditId({ id: this.onEditFile }).then(res => {
if (res.success) {
const file = res.result
const filePaths = file.filePath.split('/')
const fileName = filePaths[filePaths.length - 1]
const url = `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(this.documentUrl + file.filePath + '&fullfilename=' + fileName))}`
window.open(url, '_blank')
}
})
this.$emit('onlineEditView', this.onEditFile)
}
}
}