From 574187f2e1eedb8c355090af37be3d9ccc08a585 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 08 一月 2024 08:52:54 +0800
Subject: [PATCH] 远程部署服务部分代码编写,主题库定义分类授权界面增加全选按钮功能

---
 Source/UBCS-WEB/src/page/login/sso.vue |   21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/Source/UBCS-WEB/src/page/login/sso.vue b/Source/UBCS-WEB/src/page/login/sso.vue
index 26e9510..73ea181 100644
--- a/Source/UBCS-WEB/src/page/login/sso.vue
+++ b/Source/UBCS-WEB/src/page/login/sso.vue
@@ -1,12 +1,12 @@
 <template>
-
+ 
 </template>
-
+ 
 <script>
 import {ssoLogin} from "@/api/system/user.js"
 import {mapGetters} from "vuex";
 import {setStore} from "@/util/store";
-
+ 
 export default {
   name: "sso",
   data() {
@@ -20,19 +20,22 @@
   created() {
     this.onLoad()
   },
-
+ 
   methods: {
     onLoad() {
-      this.PathString=this.$route.query.empCode;
+      //URL浼犻�掑弬鏁版椂 浼氬皢瀛楃涓蹭腑鐨� %2B 涔熷氨鏄�+鍙疯浆鎹负绌烘牸銆�
+      this.PathString = decodeURIComponent(this.$route.query.empCode.replace(/\s/g, '+'));
+      //console.log(this.$route);
+      //console.log(this.PathString);
       this.$store.dispatch("LoginBySso", { PathString: this.PathString }).then((res) => {
-        console.log('res', res)
+        //console.log('res', res)
         this.$router.push({ path: this.tagWel.value });
       })
     }
   }
 }
 </script>
-
+ 
 <style scoped>
-
-</style>
+ 
+</style>
\ No newline at end of file

--
Gitblit v1.9.3