修改地址:有使用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) => {
// 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()

View File

@ -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
})

View File

@ -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
})

View File

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

View File

@ -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
})

View File

@ -954,7 +954,7 @@ export default {
} else {
// videoIdvideoId
// 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

View File

@ -1001,7 +1001,7 @@ export default {
} else {
// videoIdvideoId
// 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

View File

@ -964,7 +964,7 @@ export default {
} else {
// videoIdvideoId
// 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

View File

@ -1013,7 +1013,7 @@ export default {
} else {
// videoIdvideoId
// 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

View File

@ -1298,7 +1298,7 @@ export default {
} else {
// videoIdvideoId
// 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

View File

@ -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){

View File

@ -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,

View File

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

View File

@ -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){

View File

@ -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,