Browse Source

跳转二期提交

v4
蟑螂恶霸 3 months ago
parent
commit
36c3ebda8d
  1. 10
      src/views/enforceHome.vue

10
src/views/enforceHome.vue

@ -287,17 +287,17 @@ onMounted(() => {
fullUrl.indexOf("code=") + 5, fullUrl.indexOf("code=") + 5,
fullUrl.indexOf("&state="), fullUrl.indexOf("&state="),
); );
console.log(useCommon.firstLoad); console.log("=======================================================",useCommon.firstLoad);
isLoading.value = useCommon.firstLoad; isLoading.value = useCommon.firstLoad;
// getSzyptLoginAuth(route?.query?.code,success =>{ // getSzyptLoginAuth(route?.query?.code,success =>{
getSzyptLoginAuth( getSzyptLoginAuth(
code, code,
(success) => { (success) => {
// todo 测试时指定账号去2.0版本 start. // todo 测试时指定账号去2.0版本 start.
if(success.data.userId==17608417058 || success.data.userId==7897){ // if(success.data.userId==17608417058 || success.data.userId==7897){
window.location.href="http://jdm.szssfj.cn/efcode20-enf-app/enforcement/loginByV1System?loginUserId=d76453e3-6945-4b02-9943-efbd0e8aee9e"; // // if(success.data.userId==17608417058){
} // window.location.href="http://jdm.szssfj.cn/efcode20-enf-app/enforcement/loginByV1System?loginUserId=d76453e3-6945-4b02-9943-efbd0e8aee9e";
// }
// todo 测试时指定账号去2.0版本 end. // todo 测试时指定账号去2.0版本 end.

Loading…
Cancel
Save