From ae0dc4f46b075b5eace5596a66f6b81e357ae05e Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 03 十二月 2024 17:24:06 +0800
Subject: [PATCH] 码值codeallcode查重改成一句分批次查询(500)一次执行查询改为and拼接的依据sql查询。
---
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