修改地址:有使用config.httpurl的地方,后面跟的地址都加上“/”
parent
86f145fb53
commit
0cda0c860b
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
})
|
||||
|
|
|
@ -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
|
||||
})
|
||||
|
|
|
@ -184,7 +184,7 @@ export default {
|
|||
}
|
||||
},
|
||||
downloadTemplate() {
|
||||
window.open(config.httpurl + 'hiddenDangerCheckStandardCommon/excelModel')
|
||||
window.open(config.httpurl + '/hiddenDangerCheckStandardCommon/excelModel')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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){
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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){
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue