xiejun
2023-08-30 82d09815c5efb03d448d6a5b74a5cbfe85063ebc
Source/UBCS-WEB/src/page/index/top/index.vue
@@ -222,10 +222,10 @@
      switchDept() {
        const userId = this.userInfo.user_id;
        const deptColumn = this.findObject(this.userOption.column, "deptId");
        deptColumn.dicUrl = `/api/blade-system/dept/select?userId=${userId}`;
        deptColumn.dicUrl = `/api/ubcs-system/dept/select?userId=${userId}`;
        deptColumn.display = true;
        const roleColumn = this.findObject(this.userOption.column, "roleId");
        roleColumn.dicUrl = `/api/blade-system/role/select?userId=${userId}`;
        roleColumn.dicUrl = `/api/ubcs-system/role/select?userId=${userId}`;
        roleColumn.display = true;
        this.userBox = true;
      },
@@ -246,6 +246,7 @@
            resetRouter();
            this.$router.push({path: "/login"});
          });
          localStorage.removeItem("pageFlag");
        });
      }
    }