From 49c3a8fb5090f9141a065598507effa5e88daa41 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 7 Feb 2025 10:06:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=8F=B8=E4=B8=8E=E5=AE=8F=E6=BA=90-?= =?UTF-8?q?=E9=87=8D=E5=AE=9A=E5=90=91=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/header/index.vue | 4 ++-- src/layout/header.vue | 3 ++- src/views/user/goodsManagement/index.vue | 9 ++++++--- 3 files changed, 10 insertions(+), 6 deletions(-) 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)