修改地址:有使用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) => {
|
.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()
|
||||||
|
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
@ -184,7 +184,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
downloadTemplate() {
|
downloadTemplate() {
|
||||||
window.open(config.httpurl + 'hiddenDangerCheckStandardCommon/excelModel')
|
window.open(config.httpurl + '/hiddenDangerCheckStandardCommon/excelModel')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
@ -954,7 +954,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// 如果videoId有值,根据videoId刷新上传凭证
|
// 如果videoId有值,根据videoId刷新上传凭证
|
||||||
// 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
|
||||||
|
|
|
@ -1001,7 +1001,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// 如果videoId有值,根据videoId刷新上传凭证
|
// 如果videoId有值,根据videoId刷新上传凭证
|
||||||
// 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
|
||||||
|
|
|
@ -964,7 +964,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// 如果videoId有值,根据videoId刷新上传凭证
|
// 如果videoId有值,根据videoId刷新上传凭证
|
||||||
// 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
|
||||||
|
|
|
@ -1013,7 +1013,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// 如果videoId有值,根据videoId刷新上传凭证
|
// 如果videoId有值,根据videoId刷新上传凭证
|
||||||
// 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
|
||||||
|
|
|
@ -1298,7 +1298,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// 如果videoId有值,根据videoId刷新上传凭证
|
// 如果videoId有值,根据videoId刷新上传凭证
|
||||||
// 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
|
||||||
|
|
|
@ -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){
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
},
|
},
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: config.httpurl + 'app/riskpoint/list?showCount=' + _this.rows + '¤tPage=' +
|
url: config.httpurl + '/app/riskpoint/list?showCount=' + _this.rows + '¤tPage=' +
|
||||||
_this.page,
|
_this.page,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
data: {
|
data: {
|
||||||
|
|
|
@ -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){
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue