物业之前,新工作台

This commit is contained in:
Zy
2026-04-16 21:03:35 +08:00
parent cf9a1f1585
commit 4184f1c55d
91 changed files with 1781 additions and 588 deletions

View File

@@ -27,9 +27,7 @@
</el-form-item>
<div class="remberBox">
<el-checkbox v-model="loginForm.rememberMe" style="color: #fff">{{ proxy.$t('login.rememberPassword') }}</el-checkbox>
<div>
<el-button class="color-white" type="text">忘记密码</el-button>
</div>
<el-button class="hoverbutn" text>忘记密码</el-button>
</div>
<el-form-item style="width: 100%">
@@ -100,7 +98,6 @@ const handleLogin = () => {
loginRef.value?.validate(async (valid: boolean, fields: any) => {
if (valid) {
loading.value = true;
console.log(loginForm.value);
// 勾选了需要记住密码设置在 localStorage 中设置记住用户名和密码
if (loginForm.value.rememberMe) {
localStorage.setItem('tenantId', String(loginForm.value.tenantId));
@@ -117,7 +114,6 @@ const handleLogin = () => {
// 调用action的登录方法
const [err] = await to(userStore.login(loginForm.value));
if (!err) {
console.log('登录成功');
const redirectUrl = redirect.value || '/';
await router.push(redirectUrl);
loading.value = false;
@@ -194,8 +190,11 @@ onMounted(() => {
</script>
<style lang="scss" scoped>
:deep(.el-button) {
:deep(.el-button.hoverbutn) {
color: #fff;
&:hover {
background: none !important;
}
}
.login {
display: flex;