diff --git a/jero-web/public/index.html b/jero-web/public/index.html index fda7fba..4392b91 100644 --- a/jero-web/public/index.html +++ b/jero-web/public/index.html @@ -9,6 +9,23 @@ + + <% if (process.env.NODE_ENV === 'development' ) { %> + + <% } %> + <% if (process.env.NODE_ENV === 'production' ) { %> + + <% } %> -
diff --git a/jero-web/src/views/onlyoffice/index.vue b/jero-web/src/views/onlyoffice/index.vue index 482ae47..43dd31c 100644 --- a/jero-web/src/views/onlyoffice/index.vue +++ b/jero-web/src/views/onlyoffice/index.vue @@ -34,7 +34,7 @@ export default { const replaceStand = '' // http://39.98.140.126:8999 // http://127.0.0.1:8080 - window.open('http://127.0.0.1:8082' + '/editor?fileId=' + val.id + '&pid=' + val.pid + + window.open(window.CONFIG.onlyOfficeRoute + '/editor?fileId=' + val.id + '&pid=' + val.pid + '&taskIds=' + val.taskId + '&oldFileName=' + oldFileName + '&assessor=' + assessor + '&fileType=docx' + '&attId=' + val.id + '&fileUrl=' + val.downLoadUrl + '&key=' + val.id + nowTime + '&filePath=' + val.editFilePath + '&fileName=' + val.fileName +