From 6de02b3641b3f0a876513d8f367ed44337423920 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 23 一月 2025 10:58:12 +0800 Subject: [PATCH] 测试完成 --- src/views/login.vue | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 272c39b..0072023 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -6,7 +6,7 @@ :rules="loginRules" class="login-form" > - <h3 class="title">娴欎腑鍖诲ぇ浜岄櫌鏅烘収闅忚骞冲彴</h3> + <h3 class="title">鏅畞浜烘皯鍖婚櫌鏅烘収闅忚骞冲彴</h3> <el-form-item prop="username"> <el-input v-model="loginForm.username" @@ -36,6 +36,7 @@ /> </el-input> </el-form-item> + <!-- 涓�===================姘� --> <el-form-item prop="guid"> <el-select style="width: 100%;" v-model="loginForm.guid" placeholder="璇烽�夋嫨闄㈠尯"> <el-option @@ -112,13 +113,12 @@ rememberMe: false, code: "", uuid: "", - guid:'', + guid:'1', }, 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: "璇疯緭鍏ユ偍鐨勮处鍙�" }, @@ -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