修改全文对比得细节问题

This commit is contained in:
范强强
2024-03-01 10:04:20 +08:00
parent 08d7946088
commit c8c0770b0c
4 changed files with 82 additions and 14 deletions
+15 -1
View File
@@ -21,7 +21,21 @@ export default {
methods: {
fileClick () {
getAction('/onlyOffice/saveEditFile', { model: 'model_qb' }).then((res) => {
if (res.success) {
getAction('/onlyOffice/processEditFile', { id: res.result.id }).then((val) => {
if (val.id) {
const oldFileName = '比亚迪企业标准'
const nowTime = new Date().getTime()
window.open('http://127.0.0.1:8080' + '/editor?fileId=' + val.id + '&pid=' + val.pid +
'&taskIds=' + val.taskId + '&editType=' + val.editType + '&oldFileName=' + oldFileName +
'&fileType=' + 'docx' + '&attId=' + val.id + '&fileUrl=' + val.downLoadUrl +
'&key=' + val.id + nowTime + '&filePath=' + val.editFilePath + '&fileName=' + val.fileName +
'&userId=' + val.userId + '&userName=' + val.userName + '&isEdit=123')
}
})
} else {
this.$message.warning('获取文件失败')
}
})
}
}