From 8ef9e366be48dc5e8e52617ea8ed48b37a0e1f74 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 29 二月 2024 14:33:58 +0800
Subject: [PATCH] 在线部署功能上传,标准申请接口bug修改
---
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.10.0