|
@@ -950,22 +950,6 @@ export default {
|
|
|
this.account = _data.username;
|
|
|
await this.getOrgData();
|
|
|
|
|
|
- // if (
|
|
|
- // (this.allowOrgList.find((i) => i.id == this.org2) &&
|
|
|
- // parent.location.href.includes("lyxx")) ||
|
|
|
- // parent.location.href.includes("liyuan")
|
|
|
- // ) {
|
|
|
- // let _list = this.allowOrgList.find((i) => i.id == this.org2).list;
|
|
|
- // let _nowOrgId = this.OrgOptions.find((i) => i.Uorg == this.org).id;
|
|
|
- // if (!_list.includes(_nowOrgId)) {
|
|
|
- // this.wechatLogin();
|
|
|
- // await loginOut();
|
|
|
- // await this.logout();
|
|
|
- // return this.$message.error("该组织/学校不允许登录");
|
|
|
- // }
|
|
|
- // window.sessionStorage.setItem("org2", this.org2);
|
|
|
- // }
|
|
|
-
|
|
|
if (this.allowOrgList.findIndex((i) => i.area) != -1) {
|
|
|
let _index = this.allowOrgList.findIndex((i) => i.area);
|
|
|
let _list = this.allowOrgList[_index].list;
|