省侧基建智慧现场工地
+diff --git a/api/commonRequest.js b/api/commonRequest.js index b328782..0826769 100644 --- a/api/commonRequest.js +++ b/api/commonRequest.js @@ -6,7 +6,7 @@ const URL_IP="http://27.50.49.56:8000/zhgd-web" // const URL_IP="http://127.0.0.1:63343/ah_jjzhgd_webscreen" // const commonUrl = "http://127.0.0.1:18080/zhgd/"; // //前端路径 -let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service="; +// let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service="; /* 登录相关 */ const login_url = commonUrl + "auth/login"; // 登录url const login_out = commonUrl + "auth/logout"; // 登出url diff --git a/js/login/login.js b/js/login/login.js index 5011789..f16c6c7 100644 --- a/js/login/login.js +++ b/js/login/login.js @@ -1,9 +1,9 @@ let form, layer; layui.use(function () { - let logUrl="http://27.50.49.56:8000/zhgd-web/scIndex.html"; - let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service="; - window.location.href =isc_login+logUrl; - return false; + // let logUrl="http://27.50.49.56:8000/zhgd-web/scIndex.html"; + // let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service="; + // window.location.href =isc_login+logUrl; + // return false; form = layui.form; layer = layui.layer; form.on('submit(demo-login)', function (data) { diff --git a/js/login/login2.js b/js/login/login2.js index cfac33a..7a31760 100644 --- a/js/login/login2.js +++ b/js/login/login2.js @@ -1,9 +1,9 @@ let form, layer; layui.use(function () { - let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service="; - let logUrl="http://27.50.49.56:8000/zhgd-web/sgIndex.html"; - window.location.href =isc_login+logUrl; - return false; + // let isc_login="http://iscssotest.ah.sgcc.com.cn/isc_sso/login?service="; + // let logUrl="http://27.50.49.56:8000/zhgd-web/sgIndex.html"; + // window.location.href =isc_login+logUrl; + // return false; form = layui.form; layer = layui.layer; form.on('submit(demo-login)', function (data) { diff --git a/js/publics/public.js b/js/publics/public.js index 748ed18..ee6ac36 100644 --- a/js/publics/public.js +++ b/js/publics/public.js @@ -76,11 +76,11 @@ function loginout(type) { sessionStorage.removeItem("zhgd_us"); sessionStorage.removeItem("zhgd_type"); let iscId=localStorage.getItem("iscKey"); - if (zhgd_type === "2") { - window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sg_login.html'; - } else if (zhgd_type === "1") { - window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sc_login.html'; - } + // if (zhgd_type === "2") { + // window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sg_login.html'; + // } else if (zhgd_type === "1") { + // window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sc_login.html'; + // } }); } else if (result.code === 500) { layer.msg("登出失败", { icon: 2 }); @@ -106,15 +106,17 @@ function errorFn(xhr, status, error) { /* 返回登录页 */ function backLoginPage() { let iscId=localStorage.getItem("iscKey"); - if (zhgd_type === "2") { - window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sg_login.html'; - } else if (zhgd_type === "1") { - window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sc_login.html'; - }else { - window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sc_login.html'; - } + // if (zhgd_type === "2") { + // window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sg_login.html'; + // + // } else if (zhgd_type === "1") { + // window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sc_login.html'; + // + // }else { + // window.location.href = 'http://iscssotest.ah.sgcc.com.cn/isc_sso/logout?iscUserId='+iscId+'&service=http://27.50.49.56:8000/zhgd-web/sc_login.html'; + // } } //判断字符是否为空的方法 function isEmpty(obj) { diff --git a/sc_login.html b/sc_login.html index 4b6ea63..efc2397 100644 --- a/sc_login.html +++ b/sc_login.html @@ -15,37 +15,37 @@
省侧基建智慧现场工地
+省侧基建智慧现场工地
-基建智慧现场工地
+基建智慧现场工地
-