diff --git a/src/common/preview/index.js b/src/common/preview/index.js index f0982ca45..ba2aaf535 100644 --- a/src/common/preview/index.js +++ b/src/common/preview/index.js @@ -13,7 +13,7 @@ export default attId => { if(editFileInfo.fileSuffix.toLowerCase() === 'pdg'){ window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl) }else if(editFileInfo.fileSuffix.toLowerCase() === 'pdf'){ - window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)) + window.open('./static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id)) }else { const nowTime = new Date().getTime() // window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName) diff --git a/src/components/CustomFormComponents/InputForAllStandards2.vue b/src/components/CustomFormComponents/InputForAllStandards2.vue index 4cf465f31..d21d8e051 100644 --- a/src/components/CustomFormComponents/InputForAllStandards2.vue +++ b/src/components/CustomFormComponents/InputForAllStandards2.vue @@ -36,22 +36,22 @@
+ + + + + + + - - - - - - - {{ !child.value || child.value === 'null' ? '-' : child.value }} + + + {{ child.value }} + - {{ item }} - +