| | |
| | | <template> |
| | | <div class="enter"> |
| | | <div class="left"> |
| | | <img src="../../static/img/特高压.png"> |
| | | <img src="../../static/img/特高压.jpg"> |
| | | </div> |
| | | <div class="right"> |
| | | <div style="width: calc(100% - 100px * 2);"> |
| | |
| | | <el-input v-model="ruleForm.pwd" placeholder="请输入密码" clearable show-password @keyup.enter.native="submitForm('ruleForm')"></el-input> |
| | | </el-form-item> |
| | | <el-form-item style="margin-bottom: 8px;"> |
| | | <el-col :span="12"><el-checkbox v-model="ruleForm.remumberme">记住密码</el-checkbox></el-col> |
| | | <el-col :span="12" style="text-align: left;"><el-checkbox v-model="ruleForm.remumberme">记住密码</el-checkbox></el-col> |
| | | <el-col :span="12" style="text-align: right;"><el-checkbox |
| | | v-model="ruleForm.autoenter">自动登录</el-checkbox></el-col> |
| | | </el-form-item> |
| | |
| | | localStorage.setItem('user', JSON.stringify({ |
| | | account: this.ruleForm.account, |
| | | password: this.ruleForm.pwd, |
| | | name: res.data.name |
| | | name: res.data.name, |
| | | userId: res.data.userId |
| | | })) |
| | | sessionStorage.setItem('token', res.data.token) |
| | | sessionStorage.setItem('reToken', res.data.reToken) |