公司与宏源-重定向地址
This commit is contained in:
parent
21fd77d883
commit
49c3a8fb50
|
|
@ -55,7 +55,7 @@ const handlerLogout = () => {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
// router.push('/login')
|
// router.push('/login') // 公司-重定向登录
|
||||||
store.cleanUpToken('')
|
store.cleanUpToken('')
|
||||||
store.clearUserInfo('')
|
store.clearUserInfo('')
|
||||||
localStorage.clear()
|
localStorage.clear()
|
||||||
|
|
@ -65,7 +65,7 @@ const handlerLogout = () => {
|
||||||
message: '已退出登录',
|
message: '已退出登录',
|
||||||
duration: 1000,
|
duration: 1000,
|
||||||
})
|
})
|
||||||
|
// 宏源-重定向登录
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.replace(
|
window.location.replace(
|
||||||
'http://sgwpdm.ah.sgcc.com.cn/iws/cas/login?appId=3874dcb953f184dc75450e33d6d6d4fa&service=http://sgwpdm.ah.sgcc.com.cn/iws/mall-view/',
|
'http://sgwpdm.ah.sgcc.com.cn/iws/cas/login?appId=3874dcb953f184dc75450e33d6d6d4fa&service=http://sgwpdm.ah.sgcc.com.cn/iws/mall-view/',
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ const handlerLogout = () => {
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
// router.push('/login')
|
// router.push('/login') // 公司-登录
|
||||||
store.cleanUpToken('')
|
store.cleanUpToken('')
|
||||||
store.clearUserInfo('')
|
store.clearUserInfo('')
|
||||||
localStorage.clear()
|
localStorage.clear()
|
||||||
|
|
@ -92,6 +92,7 @@ const handlerLogout = () => {
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '已退出登录',
|
message: '已退出登录',
|
||||||
})
|
})
|
||||||
|
// 宏源-登录
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.replace('http://sgwpdm.ah.sgcc.com.cn/iws/mall-view/')
|
window.location.replace('http://sgwpdm.ah.sgcc.com.cn/iws/mall-view/')
|
||||||
}, 500)
|
}, 500)
|
||||||
|
|
|
||||||
|
|
@ -1107,7 +1107,8 @@ const onMainFileChange = (fileList: any) => {
|
||||||
fileName: e.name,
|
fileName: e.name,
|
||||||
fileUrl: isProd
|
fileUrl: isProd
|
||||||
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
|
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
|
||||||
: origin + '/ahbns/' + e.url,
|
: origin + '/ahbns/' + e.url, // 宏源-测试环境
|
||||||
|
// : e.url, // 公司-测试环境
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
addAndEditFormRef.value.clearValidate('mainFileList')
|
addAndEditFormRef.value.clearValidate('mainFileList')
|
||||||
|
|
@ -1122,7 +1123,8 @@ const onDetailsFileChange = (fileList: any) => {
|
||||||
fileName: e.name,
|
fileName: e.name,
|
||||||
fileUrl: isProd
|
fileUrl: isProd
|
||||||
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
|
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
|
||||||
: origin + '/ahbns/' + e.url,
|
: origin + '/ahbns/' + e.url, // 宏源-测试环境
|
||||||
|
// : e.url, // 公司-测试环境
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
addAndEditFormRef.value.clearValidate('detailsFileList')
|
addAndEditFormRef.value.clearValidate('detailsFileList')
|
||||||
|
|
@ -1165,7 +1167,8 @@ const onFileChangeEquip = (fileList: any, row: any, index: number, type: number)
|
||||||
fileName: e.name,
|
fileName: e.name,
|
||||||
fileUrl: isProd
|
fileUrl: isProd
|
||||||
? 'http://sgwpdm.ah.sgcc.com.cn/iws/ahbns/' + e.url
|
? '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)
|
console.log('11111', fileListTemp[0].fileUrl)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue