From 82d09815c5efb03d448d6a5b74a5cbfe85063ebc Mon Sep 17 00:00:00 2001
From: xiejun <xj@2023>
Date: 星期三, 30 八月 2023 18:46:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/page/index/top/index.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Source/UBCS-WEB/src/page/index/top/index.vue b/Source/UBCS-WEB/src/page/index/top/index.vue
index 6b99b79..3d2c4cb 100644
--- a/Source/UBCS-WEB/src/page/index/top/index.vue
+++ b/Source/UBCS-WEB/src/page/index/top/index.vue
@@ -151,7 +151,7 @@
                 label: 'deptName',
                 value: 'id'
               },
-              dicUrl: '/api/blade-system/dept/select',
+              dicUrl: '/api/ubcs-system/dept/select',
               span: 24,
               display: false,
               rules: [{
@@ -168,7 +168,7 @@
                 label: 'roleName',
                 value: 'id'
               },
-              dicUrl: '/api/blade-system/role/select',
+              dicUrl: '/api/ubcs-system/role/select',
               span: 24,
               display: false,
               rules: [{
@@ -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");
         });
       }
     }

--
Gitblit v1.9.3