修改地址:有使用config.httpurl的地方,后面跟的地址都加上“/”

dev
WL 2024-06-25 17:04:34 +08:00
parent 86f145fb53
commit 0cda0c860b
15 changed files with 19 additions and 19 deletions

View File

@ -312,7 +312,7 @@ export default {
// } // }
// } // }
// } // }
this.imgUrl = config.httpurl + data.userPhoto this.imgUrl = config.httpurl + '/' + data.userPhoto
}) })
.catch((e) => { .catch((e) => {
// MessageBox.alert(',', { // MessageBox.alert(',', {
@ -332,7 +332,7 @@ export default {
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
// '/mfolder/download?RISKWARNING_ID=' + RISKWARNING_ID, // '/mfolder/download?RISKWARNING_ID=' + RISKWARNING_ID,
window.location.href = config.httpurl + 'uploadFiles/file/秦安平台企业端使用说明书.doc' window.location.href = config.httpurl + '/uploadFiles/file/秦安平台企业端使用说明书.doc'
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })
@ -472,7 +472,7 @@ export default {
formData formData
).then((data) => { ).then((data) => {
this.dialogForm = false this.dialogForm = false
this.imgUrl = config.httpurl + data.userPhoto this.imgUrl = config.httpurl + '/' + data.userPhoto
loading.close() loading.close()
}).catch((e) => { }).catch((e) => {
loading.close() loading.close()

View File

@ -533,7 +533,7 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
window.open(config.httpurl + 'class/hs?CLASS_ID=' + this.evaluationDialogCLASS_ID) window.open(config.httpurl + '/class/hs?CLASS_ID=' + this.evaluationDialogCLASS_ID)
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -533,7 +533,7 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
window.open(config.httpurl + 'student/hs?STUDENT_ID=' + this.evaluationDialogStudent) window.open(config.httpurl + '/student/hs?STUDENT_ID=' + this.evaluationDialogStudent)
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -184,7 +184,7 @@ export default {
} }
}, },
downloadTemplate() { downloadTemplate() {
window.open(config.httpurl + 'hiddenDangerCheckStandardCommon/excelModel') window.open(config.httpurl + '/hiddenDangerCheckStandardCommon/excelModel')
} }
} }
} }

View File

@ -655,7 +655,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.listLoading = false this.listLoading = false
window.open(config.httpurl + 'iderepository/excelModel') window.open(config.httpurl + '/iderepository/excelModel')
}).catch(() => { }).catch(() => {
this.listLoading = false this.listLoading = false
}) })

View File

@ -954,7 +954,7 @@ export default {
} else { } else {
// videoIdvideoId // videoIdvideoId
// https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY // 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 }) => { axios.get(refreshUrl).then(({ data }) => {
const uploadAuth = data.data.uploadAuth const uploadAuth = data.data.uploadAuth
const uploadAddress = data.data.uploadAddress const uploadAddress = data.data.uploadAddress

View File

@ -1001,7 +1001,7 @@ export default {
} else { } else {
// videoIdvideoId // videoIdvideoId
// https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY // 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 }) => { axios.get(refreshUrl).then(({ data }) => {
const uploadAuth = data.data.uploadAuth const uploadAuth = data.data.uploadAuth
const uploadAddress = data.data.uploadAddress const uploadAddress = data.data.uploadAddress

View File

@ -964,7 +964,7 @@ export default {
} else { } else {
// videoIdvideoId // videoIdvideoId
// https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY // 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 }) => { axios.get(refreshUrl).then(({ data }) => {
const uploadAuth = data.data.uploadAuth const uploadAuth = data.data.uploadAuth
const uploadAddress = data.data.uploadAddress const uploadAddress = data.data.uploadAddress

View File

@ -1013,7 +1013,7 @@ export default {
} else { } else {
// videoIdvideoId // videoIdvideoId
// https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY // 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 }) => { axios.get(refreshUrl).then(({ data }) => {
const uploadAuth = data.data.uploadAuth const uploadAuth = data.data.uploadAuth
const uploadAddress = data.data.uploadAddress const uploadAddress = data.data.uploadAddress

View File

@ -1298,7 +1298,7 @@ export default {
} else { } else {
// videoIdvideoId // videoIdvideoId
// https://help.aliyun.com/document_detail/55408.html?spm=a2c4g.11186623.6.630.BoYYcY // 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 }) => { axios.get(refreshUrl).then(({ data }) => {
const uploadAuth = data.data.uploadAuth const uploadAuth = data.data.uploadAuth
const uploadAddress = data.data.uploadAddress const uploadAddress = data.data.uploadAddress

View File

@ -119,7 +119,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", type: "POST",
url: config.httpurl+'app/checkrecord/goMapWeui', url: config.httpurl+'/app/checkrecord/goMapWeui',
data: { data: {
CHECKRECORD_ID:this.CHECKRECORD_ID, CHECKRECORD_ID:this.CHECKRECORD_ID,
tm:new Date().getTime() tm:new Date().getTime()
@ -192,7 +192,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", 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()}, data: {CHECKRECORD_ID:this.CHECKRECORD_ID,IDENTIFICATION_ID:this.IDENTIFICATION_ID,tm:new Date().getTime()},
dataType:"json", dataType:"json",
success: function(data){ success: function(data){

View File

@ -168,7 +168,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", type: "POST",
url: config.httpurl +'app/checkrecord/recordByIde', url: config.httpurl +'/app/checkrecord/recordByIde',
dataType: 'json', dataType: 'json',
data: { data: {
IDENTIFICATIONPARTS_ID:_this.IDENTIFICATIONPARTS_ID, IDENTIFICATIONPARTS_ID:_this.IDENTIFICATIONPARTS_ID,

View File

@ -129,7 +129,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", type: "POST",
url: config.httpurl + 'app/riskpoint/list?showCount=' + _this.rows + '&currentPage=' + url: config.httpurl + '/app/riskpoint/list?showCount=' + _this.rows + '&currentPage=' +
_this.page, _this.page,
dataType: 'json', dataType: 'json',
data: { data: {

View File

@ -119,7 +119,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", type: "POST",
url: config.httpurl+'app/checkrecord/goMapWeui', url: config.httpurl+'/app/checkrecord/goMapWeui',
data: { data: {
CHECKRECORD_ID:this.CHECKRECORD_ID, CHECKRECORD_ID:this.CHECKRECORD_ID,
tm:new Date().getTime() tm:new Date().getTime()
@ -192,7 +192,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", 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()}, data: {CHECKRECORD_ID:this.CHECKRECORD_ID,IDENTIFICATION_ID:this.IDENTIFICATION_ID,tm:new Date().getTime()},
dataType:"json", dataType:"json",
success: function(data){ success: function(data){

View File

@ -103,7 +103,7 @@
withCredentials: true withCredentials: true
}, },
type: "POST", type: "POST",
url: config.httpurl +'app/checkrecord/recordByIde', url: config.httpurl +'/app/checkrecord/recordByIde',
dataType: 'json', dataType: 'json',
data: { data: {
IDENTIFICATIONPARTS_ID:_this.IDENTIFICATIONPARTS_ID, IDENTIFICATIONPARTS_ID:_this.IDENTIFICATIONPARTS_ID,