|
@@ -322,12 +322,12 @@ export default {
|
|
this.$refs.passForm.resetFields();
|
|
this.$refs.passForm.resetFields();
|
|
},
|
|
},
|
|
logout() {
|
|
logout() {
|
|
- const orgId = this.user.rootOrgId;
|
|
|
|
|
|
+ const rootOrgCode = this.user.rootOrgCode;
|
|
const getRootOrgId = () => {
|
|
const getRootOrgId = () => {
|
|
if (location.hostname.includes("qmth.com.cn")) {
|
|
if (location.hostname.includes("qmth.com.cn")) {
|
|
return "";
|
|
return "";
|
|
} else {
|
|
} else {
|
|
- return "?orgId=" + orgId;
|
|
|
|
|
|
+ return "?code=" + rootOrgCode;
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|