[update] 修改bug81479
This commit is contained in:
@@ -156,7 +156,8 @@ module.exports = {
|
||||
releaseDate: '发布日期',
|
||||
implementationDate: '实施日期',
|
||||
esPlan: '企标计划',
|
||||
deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期早'
|
||||
deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期早',
|
||||
noStandardTextLook: '暂无标准文本可查看'
|
||||
},
|
||||
// 企标更改流程
|
||||
enStandardChange: {
|
||||
|
||||
@@ -708,6 +708,10 @@ export default {
|
||||
},
|
||||
// 在线编辑的查看
|
||||
onlineEditView (fileId) {
|
||||
if (!fileId) {
|
||||
this.$message.warning(this.$t('workCenter.enStandardRevision.noStandardTextLook'))
|
||||
return
|
||||
}
|
||||
queryFileInfoByEditId({ id: fileId }).then(res => {
|
||||
if (res.success) {
|
||||
const file = res.result
|
||||
@@ -716,6 +720,8 @@ export default {
|
||||
const url = `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(this.documentUrl + file.editFilePath + '&fullfilename=' + fileName))}`
|
||||
console.log(this.documentUrl + file.editFilePath + '&fullfilename=' + fileName)
|
||||
window.open(url, '_blank')
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user