diff --git a/src/components/header/index.vue b/src/components/header/index.vue index 18d94b0..4882a0d 100644 --- a/src/components/header/index.vue +++ b/src/components/header/index.vue @@ -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/', diff --git a/src/layout/header.vue b/src/layout/header.vue index c401750..48e358f 100644 --- a/src/layout/header.vue +++ b/src/layout/header.vue @@ -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) diff --git a/src/views/user/goodsManagement/index.vue b/src/views/user/goodsManagement/index.vue index 9e7edf6..5c4c915 100644 --- a/src/views/user/goodsManagement/index.vue +++ b/src/views/user/goodsManagement/index.vue @@ -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)