| | |
| | | <Particles id="tsparticles" :particlesInit="particlesInit" :particlesLoaded="particlesLoaded" :options="options" />
|
| | |
|
| | | <el-form ref="loginRef" :model="loginForm" :rules="loginRules" class="login-form">
|
| | | <h3 class="title">中原金融后台管理系统</h3>
|
| | | <h3 class="title">察县扫码入企监督平台</h3>
|
| | | <el-form-item prop="username">
|
| | | <el-input v-model="loginForm.username" type="text" size="large" auto-complete="off" placeholder="账号">
|
| | | <template #prefix><svg-icon icon-class="user" class="el-input__icon input-icon" /></template>
|
| | |
| | | userStore
|
| | | .login(loginForm.value)
|
| | | .then(() => {
|
| | | router.push({ path: redirect.value || "/" });
|
| | | router.push({ path: redirect.value || "/home" });
|
| | | })
|
| | | .catch(() => {
|
| | | loading.value = false;
|