公司与宏源-重定向地址

This commit is contained in:
bb_pan 2025-02-07 10:06:29 +08:00
parent 21fd77d883
commit 49c3a8fb50
3 changed files with 10 additions and 6 deletions

View File

@ -55,7 +55,7 @@ const handlerLogout = () => {
type: 'warning',
})
.then(() => {
// router.push('/login')
// router.push('/login') // -
store.cleanUpToken('')
store.clearUserInfo('')
localStorage.clear()
@ -65,7 +65,7 @@ const handlerLogout = () => {
message: '已退出登录',
duration: 1000,
})
// -
setTimeout(() => {
window.location.replace(
'http://sgwpdm.ah.sgcc.com.cn/iws/cas/login?appId=3874dcb953f184dc75450e33d6d6d4fa&service=http://sgwpdm.ah.sgcc.com.cn/iws/mall-view/',

View File

@ -83,7 +83,7 @@ const handlerLogout = () => {
type: 'warning',
})
.then(() => {
// router.push('/login')
// router.push('/login') // -
store.cleanUpToken('')
store.clearUserInfo('')
localStorage.clear()
@ -92,6 +92,7 @@ const handlerLogout = () => {
type: 'success',
message: '已退出登录',
})
// -
setTimeout(() => {
window.location.replace('http://sgwpdm.ah.sgcc.com.cn/iws/mall-view/')
}, 500)

View File

@ -1107,7 +1107,8 @@ const onMainFileChange = (fileList: any) => {
fileName: e.name,
fileUrl: isProd
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
: origin + '/ahbns/' + e.url,
: origin + '/ahbns/' + e.url, // -
// : e.url, // -
}
})
addAndEditFormRef.value.clearValidate('mainFileList')
@ -1122,7 +1123,8 @@ const onDetailsFileChange = (fileList: any) => {
fileName: e.name,
fileUrl: isProd
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
: origin + '/ahbns/' + e.url,
: origin + '/ahbns/' + e.url, // -
// : e.url, // -
}
})
addAndEditFormRef.value.clearValidate('detailsFileList')
@ -1165,7 +1167,8 @@ const onFileChangeEquip = (fileList: any, row: any, index: number, type: number)
fileName: e.name,
fileUrl: isProd
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
: origin + '/ahbns/' + e.url,
: origin + '/ahbns/' + e.url, // -
// : e.url, // -
}
})
console.log('11111', fileListTemp[0].fileUrl)