|
@@ -163,7 +163,15 @@
|
|
|
this.selectOrganized(organized);
|
|
|
this.$store.dispatch('app/changeOrganization', organized);
|
|
|
this.$store.dispatch('app/changeUser', user);
|
|
|
- this.getUserProjectList(user.projectId);
|
|
|
+ if (user.userId === 1) {
|
|
|
+ this.selectProject({
|
|
|
+ projectId: user.projectId,
|
|
|
+ identityId: 6
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.getUserProjectList(user.projectId);
|
|
|
+ }
|
|
|
+
|
|
|
} else {
|
|
|
this.loginLoading = false;
|
|
|
}
|
|
@@ -209,7 +217,6 @@
|
|
|
}
|
|
|
let projectList = clientData.concat(organizationData, obj)
|
|
|
.sort((a, b) => a.projectId - b.projectId);
|
|
|
- console.log(projectList);
|
|
|
if (projectList.length === 0) {
|
|
|
this.loginLoading = false;
|
|
|
this.$store.dispatch('app/changeMenuData', []);
|