From 5e1c48dcd787b83fa9fa4a6e76d558a7e7d68aba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 21 Mar 2024 10:30:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=A8=E7=AB=99=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=94=BB=E5=87=BB=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/public/index.html | 18 +++++++++++++++++- jero-web/src/views/onlyoffice/index.vue | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) 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 +