修改全文对比得细节问题
This commit is contained in:
@@ -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('获取文件失败')
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user