From c1139d1a4d4de8762ee58cac7c218bcb4d091f7e Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 08 一月 2025 09:55:36 +0800
Subject: [PATCH] 测试完成
---
src/views/login.vue | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/views/login.vue b/src/views/login.vue
index 272c39b..23bab52 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -36,7 +36,8 @@
/>
</el-input>
</el-form-item>
- <el-form-item prop="guid">
+ <!-- 涓�===================姘� -->
+ <!-- <el-form-item prop="guid">
<el-select style="width: 100%;" v-model="loginForm.guid" placeholder="璇烽�夋嫨闄㈠尯">
<el-option
v-for="item in options"
@@ -47,7 +48,7 @@
</el-option>
<i slot="prefix" class="el-icon-mobile"></i>
</el-select>
- </el-form-item>
+ </el-form-item> -->
<!-- <el-form-item prop="code" v-if="captchaEnabled">
<el-input
v-model="loginForm.code"
@@ -115,10 +116,9 @@
guid:'',
},
options: [
- { value: "1", label: "涓尰澶т簩闄�" },
- { value: "2", label: "涓尰澶т笁闄�" },
- { value: "3", label: "涓尰澶у洓闄�" },
- { value: "4", label: "涓尰澶т簲闄�" },],
+ { value: "1", label: "鏅畞鐣叉棌鑷不鍘夸汉姘戝尰闄�" },
+ { value: "2", label: "涓芥按甯備腑鍖婚櫌" },
+ ],
loginRules: {
username: [
{ required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" },
@@ -126,7 +126,7 @@
password: [
{ required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勫瘑鐮�" },
],
- guid: [{ required: true, trigger: "blur", message: "璇烽�夋嫨闄㈠尯" }],
+ // guid: [{ required: true, trigger: "blur", message: "璇烽�夋嫨闄㈠尯" }],
},
loading: false,
// 楠岃瘉鐮佸紑鍏�
@@ -195,7 +195,8 @@
this.$store
.dispatch("Login", this.loginForm)
.then(() => {
- this.$router.push({ path: this.redirect || "/" }).catch(() => {});
+ // this.$router.push({ path: this.redirect || "/" }).catch(() => {});
+ this.$router.push({ path:"/patient/patient" }).catch(() => {});
})
.catch(() => {
this.loading = false;
--
Gitblit v1.9.3