From 2698387e653c6a25059c3ae9976f18b814eba892 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 12 九月 2025 15:16:46 +0800
Subject: [PATCH] 医疗权限
---
src/views/login.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/login.vue b/src/views/login.vue
index f3be51b..aac1184 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -157,12 +157,12 @@
},
getAuthCode() {
this.$dingtalk.runtime.permission.requestAuthCode({
- corpId: "dingac30cec5f3570bbea39a90f97fcb1e09",
+ corpId: "dingd31f00f4fbc0ff5bf5bf40eda33b7ba0",
onSuccess: result => {
// 鍦ㄨ繖閲屽鐞嗘巿鏉冩垚鍔熷悗鐨勯�昏緫锛宺esult涓寘鍚巿鏉冪爜绛変俊鎭�
- this.authCode = result.codde;
+ // this.authCode = result.codde;
this.$message.success("鎴愬姛鑾峰彇鎺堟潈鐮侊細" + result.code);
- this.avoidLogin();
+ this.avoidLogin(result.code);
},
onFail: err => {
// 鍦ㄨ繖閲屽鐞嗘巿鏉冨け璐ュ悗鐨勯�昏緫
@@ -173,13 +173,13 @@
}
});
},
- avoidLogin() {
+ avoidLogin(authCode) {
this.loading = true;
- this.loginForm.authCode = this.authCode;
+ // this.$message.error(authCode, "1鍙蜂綅");
+ this.loginForm.authCode = authCode;
this.$store
.dispatch("Login", this.loginForm)
.then(res => {
- this.$message.error(this.$store.state);
if (this.$store.state.user.code == 200) {
this.$router.push({ path: this.redirect || "/" }).catch(() => {});
} else {
--
Gitblit v1.9.3