From 0cda0c860bb4a7767dd07ab5e463421f89f1a61a Mon Sep 17 00:00:00 2001 From: WL Date: Tue, 25 Jun 2024 17:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9D=80=EF=BC=9A?= =?UTF-8?q?=E6=9C=89=E4=BD=BF=E7=94=A8config.httpurl=E7=9A=84=E5=9C=B0?= =?UTF-8?q?=E6=96=B9=EF=BC=8C=E5=90=8E=E9=9D=A2=E8=B7=9F=E7=9A=84=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E9=83=BD=E5=8A=A0=E4=B8=8A=E2=80=9C/=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 6 +++--- .../components/ClassStrengthenDetailsList.vue | 2 +- .../components/StudentStrengthenDetailsList.vue | 2 +- .../common/components/updateFile.vue | 2 +- src/views/risk/repository/components/repoRisk.vue | 2 +- .../studyResource/curriculum/components/completeVideo.vue | 2 +- .../studyResource/videocourseware/components/complete.vue | 2 +- src/views/studyResource/videocourseware/components/edit.vue | 2 +- src/views/studyResource/videocourseware/components/info.vue | 2 +- src/views/studyResource/videocourseware/components/list.vue | 2 +- static/qrcode/views/bsbw/part-list.html | 4 ++-- static/qrcode/views/bsbw/record_list.html | 2 +- static/qrcode/views/fxfb/index.html | 2 +- static/qrcode/views/fxfb/part-list.html | 4 ++-- static/qrcode/views/fxfb/record_list.html | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 0518dac..ccd7ab4 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -312,7 +312,7 @@ export default { // } // } // } - this.imgUrl = config.httpurl + data.userPhoto + this.imgUrl = config.httpurl + '/' + data.userPhoto }) .catch((e) => { // MessageBox.alert('登录失效,请重新登录', { @@ -332,7 +332,7 @@ export default { }).then(() => { this.listLoading = false // '/mfolder/download?RISKWARNING_ID=' + RISKWARNING_ID, - window.location.href = config.httpurl + 'uploadFiles/file/秦安平台企业端使用说明书.doc' + window.location.href = config.httpurl + '/uploadFiles/file/秦安平台企业端使用说明书.doc' }).catch(() => { this.listLoading = false }) @@ -472,7 +472,7 @@ export default { formData ).then((data) => { this.dialogForm = false - this.imgUrl = config.httpurl + data.userPhoto + this.imgUrl = config.httpurl + '/' + data.userPhoto loading.close() }).catch((e) => { loading.close() diff --git a/src/views/effect_appraisal/all_corp_effect/components/ClassStrengthenDetailsList.vue b/src/views/effect_appraisal/all_corp_effect/components/ClassStrengthenDetailsList.vue index 07ca545..298cbd5 100644 --- a/src/views/effect_appraisal/all_corp_effect/components/ClassStrengthenDetailsList.vue +++ b/src/views/effect_appraisal/all_corp_effect/components/ClassStrengthenDetailsList.vue @@ -533,7 +533,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.httpurl + 'class/hs?CLASS_ID=' + this.evaluationDialogCLASS_ID) + window.open(config.httpurl + '/class/hs?CLASS_ID=' + this.evaluationDialogCLASS_ID) }).catch(() => { this.listLoading = false }) diff --git a/src/views/effect_appraisal/all_corp_effect/components/StudentStrengthenDetailsList.vue b/src/views/effect_appraisal/all_corp_effect/components/StudentStrengthenDetailsList.vue index 375bbe3..41d50d5 100644 --- a/src/views/effect_appraisal/all_corp_effect/components/StudentStrengthenDetailsList.vue +++ b/src/views/effect_appraisal/all_corp_effect/components/StudentStrengthenDetailsList.vue @@ -533,7 +533,7 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - window.open(config.httpurl + 'student/hs?STUDENT_ID=' + this.evaluationDialogStudent) + window.open(config.httpurl + '/student/hs?STUDENT_ID=' + this.evaluationDialogStudent) }).catch(() => { this.listLoading = false }) diff --git a/src/views/hiddenDangerCheckStandardLibrary/common/components/updateFile.vue b/src/views/hiddenDangerCheckStandardLibrary/common/components/updateFile.vue index 1515bfa..b96feb0 100644 --- a/src/views/hiddenDangerCheckStandardLibrary/common/components/updateFile.vue +++ b/src/views/hiddenDangerCheckStandardLibrary/common/components/updateFile.vue @@ -184,7 +184,7 @@ export default { } }, downloadTemplate() { - window.open(config.httpurl + 'hiddenDangerCheckStandardCommon/excelModel') + window.open(config.httpurl + '/hiddenDangerCheckStandardCommon/excelModel') } } } diff --git a/src/views/risk/repository/components/repoRisk.vue b/src/views/risk/repository/components/repoRisk.vue index 63cebbb..bfa2b36 100644 --- a/src/views/risk/repository/components/repoRisk.vue +++ b/src/views/risk/repository/components/repoRisk.vue @@ -655,7 +655,7 @@ export default { type: 'warning' }).then(() => { this.listLoading = false - window.open(config.httpurl + 'iderepository/excelModel') + window.open(config.httpurl + '/iderepository/excelModel') }).catch(() => { this.listLoading = false }) diff --git a/src/views/studyResource/curriculum/components/completeVideo.vue b/src/views/studyResource/curriculum/components/completeVideo.vue index 9c1b393..01fb81a 100644 --- a/src/views/studyResource/curriculum/components/completeVideo.vue +++ b/src/views/studyResource/curriculum/components/completeVideo.vue @@ -954,7 +954,7 @@ export default { } else { // 如果videoId有值,根据videoId刷新上传凭证 // https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY - const refreshUrl = config.httpurl + 'audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId + const refreshUrl = config.httpurl + '/audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId axios.get(refreshUrl).then(({ data }) => { const uploadAuth = data.data.uploadAuth const uploadAddress = data.data.uploadAddress diff --git a/src/views/studyResource/videocourseware/components/complete.vue b/src/views/studyResource/videocourseware/components/complete.vue index 0912ec7..852973e 100644 --- a/src/views/studyResource/videocourseware/components/complete.vue +++ b/src/views/studyResource/videocourseware/components/complete.vue @@ -1001,7 +1001,7 @@ export default { } else { // 如果videoId有值,根据videoId刷新上传凭证 // https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY - const refreshUrl = config.httpurl + 'audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId + const refreshUrl = config.httpurl + '/audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId axios.get(refreshUrl).then(({ data }) => { const uploadAuth = data.data.uploadAuth const uploadAddress = data.data.uploadAddress diff --git a/src/views/studyResource/videocourseware/components/edit.vue b/src/views/studyResource/videocourseware/components/edit.vue index acbe303..8e74c2f 100644 --- a/src/views/studyResource/videocourseware/components/edit.vue +++ b/src/views/studyResource/videocourseware/components/edit.vue @@ -964,7 +964,7 @@ export default { } else { // 如果videoId有值,根据videoId刷新上传凭证 // https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY - const refreshUrl = config.httpurl + 'audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId + const refreshUrl = config.httpurl + '/audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId axios.get(refreshUrl).then(({ data }) => { const uploadAuth = data.data.uploadAuth const uploadAddress = data.data.uploadAddress diff --git a/src/views/studyResource/videocourseware/components/info.vue b/src/views/studyResource/videocourseware/components/info.vue index d6f85d1..6cf9cb5 100644 --- a/src/views/studyResource/videocourseware/components/info.vue +++ b/src/views/studyResource/videocourseware/components/info.vue @@ -1013,7 +1013,7 @@ export default { } else { // 如果videoId有值,根据videoId刷新上传凭证 // https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY - const refreshUrl = config.httpurl + 'audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId + const refreshUrl = config.httpurl + '/audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId axios.get(refreshUrl).then(({ data }) => { const uploadAuth = data.data.uploadAuth const uploadAddress = data.data.uploadAddress diff --git a/src/views/studyResource/videocourseware/components/list.vue b/src/views/studyResource/videocourseware/components/list.vue index 3c21191..7aea5a3 100644 --- a/src/views/studyResource/videocourseware/components/list.vue +++ b/src/views/studyResource/videocourseware/components/list.vue @@ -1298,7 +1298,7 @@ export default { } else { // 如果videoId有值,根据videoId刷新上传凭证 // https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY - const refreshUrl = config.httpurl + 'audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId + const refreshUrl = config.httpurl + '/audioOrVideo/refreshUploadVideo?Title=haha1&FileName=xxx.mp4&VideoId=' + uploadInfo.videoId axios.get(refreshUrl).then(({ data }) => { const uploadAuth = data.data.uploadAuth const uploadAddress = data.data.uploadAddress diff --git a/static/qrcode/views/bsbw/part-list.html b/static/qrcode/views/bsbw/part-list.html index af84cfe..09d71e3 100644 --- a/static/qrcode/views/bsbw/part-list.html +++ b/static/qrcode/views/bsbw/part-list.html @@ -119,7 +119,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl+'app/checkrecord/goMapWeui', + url: config.httpurl+'/app/checkrecord/goMapWeui', data: { CHECKRECORD_ID:this.CHECKRECORD_ID, tm:new Date().getTime() @@ -192,7 +192,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl+'app/checkrecord/goEditWeui', + url: config.httpurl+'/app/checkrecord/goEditWeui', data: {CHECKRECORD_ID:this.CHECKRECORD_ID,IDENTIFICATION_ID:this.IDENTIFICATION_ID,tm:new Date().getTime()}, dataType:"json", success: function(data){ diff --git a/static/qrcode/views/bsbw/record_list.html b/static/qrcode/views/bsbw/record_list.html index d3f7c70..372ec4e 100644 --- a/static/qrcode/views/bsbw/record_list.html +++ b/static/qrcode/views/bsbw/record_list.html @@ -168,7 +168,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl +'app/checkrecord/recordByIde', + url: config.httpurl +'/app/checkrecord/recordByIde', dataType: 'json', data: { IDENTIFICATIONPARTS_ID:_this.IDENTIFICATIONPARTS_ID, diff --git a/static/qrcode/views/fxfb/index.html b/static/qrcode/views/fxfb/index.html index 40e1581..17d8f46 100644 --- a/static/qrcode/views/fxfb/index.html +++ b/static/qrcode/views/fxfb/index.html @@ -129,7 +129,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl + 'app/riskpoint/list?showCount=' + _this.rows + '¤tPage=' + + url: config.httpurl + '/app/riskpoint/list?showCount=' + _this.rows + '¤tPage=' + _this.page, dataType: 'json', data: { diff --git a/static/qrcode/views/fxfb/part-list.html b/static/qrcode/views/fxfb/part-list.html index aceb8ee..8cc1194 100644 --- a/static/qrcode/views/fxfb/part-list.html +++ b/static/qrcode/views/fxfb/part-list.html @@ -119,7 +119,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl+'app/checkrecord/goMapWeui', + url: config.httpurl+'/app/checkrecord/goMapWeui', data: { CHECKRECORD_ID:this.CHECKRECORD_ID, tm:new Date().getTime() @@ -192,7 +192,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl+'app/checkrecord/goEditWeui', + url: config.httpurl+'/app/checkrecord/goEditWeui', data: {CHECKRECORD_ID:this.CHECKRECORD_ID,IDENTIFICATION_ID:this.IDENTIFICATION_ID,tm:new Date().getTime()}, dataType:"json", success: function(data){ diff --git a/static/qrcode/views/fxfb/record_list.html b/static/qrcode/views/fxfb/record_list.html index eb593ff..6611ba3 100644 --- a/static/qrcode/views/fxfb/record_list.html +++ b/static/qrcode/views/fxfb/record_list.html @@ -103,7 +103,7 @@ withCredentials: true }, type: "POST", - url: config.httpurl +'app/checkrecord/recordByIde', + url: config.httpurl +'/app/checkrecord/recordByIde', dataType: 'json', data: { IDENTIFICATIONPARTS_ID:_this.IDENTIFICATIONPARTS_ID,