| | |
| | | <template> |
| | | <div class="login"> |
| | | <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> |
| | | <h3 class="title">RuoYi-Vue-Plus后台管理系统</h3> |
| | | <h3 class="title">RuoYi-Vue-Plus多租户管理系统</h3> |
| | | <el-form-item prop="tenantId"> |
| | | <el-select v-model="loginForm.tenantId" filterable placeholder="请选择/输入公司名称" style="width: 100%"> |
| | | <el-option |
| | |
| | | </el-form> |
| | | <!-- 底部 --> |
| | | <div class="el-login-footer"> |
| | | <span>Copyright © 2018-2022 ruoyi.vip All Rights Reserved.</span> |
| | | <span>Copyright © 2018-2023 ruoyi.vip All Rights Reserved.</span> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | getTenantList() { |
| | | tenantList().then(res => { |
| | | this.tenantList = res.data; |
| | | if (this.tenantList != null && this.tenantList.length !== 0) { |
| | | this.loginForm.tenantId = this.tenantList[0].tenantId; |
| | | } |
| | | }); |
| | | }, |
| | | getCookie() { |