[update] 企标制修订在线编辑
This commit is contained in:
+1
-9
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user