| | |
| | | <template> |
| | | <div class="wrap"> |
| | | <div class="introduce"> |
| | | <h2>预选清单查询系统</h2> |
| | | <h2>{{systemTitle}}</h2> |
| | | </div> |
| | | <div class="login"> |
| | | <h1>系统登录 / LOGIN IN</h1> |
| | |
| | | <template v-else> |
| | | <el-input v-model="phone" placeholder="请输入手机号" prefix-icon="el-icon-phone" maxlength="11" v-trim/> |
| | | <div class="captcha-input"> |
| | | <el-input v-model="code" placeholder="请输入验证码" prefix-icon="eva-icon-shield" maxlength="4" @keypress.enter.native="login" v-trim/> |
| | | <el-input v-model="code" placeholder="请输入验证码" prefix-icon="eva-icon-shield" @keypress.enter.native="login" v-trim/> |
| | | <el-button type="primary" style="width: 120px; margin-left: 20px;" @click="send" v-if="num === 0">发送验证码</el-button> |
| | | <el-button type="primary" style="width: 120px; margin-left: 20px;" v-else>{{num}}</el-button> |
| | | </div> |
| | |
| | | name: 'Login', |
| | | data () { |
| | | return { |
| | | systemTitle: process.env.VUE_APP_SYSTEM_TITLE, |
| | | loading: false, |
| | | username: '', |
| | | password: '', |
| | |
| | | }, |
| | | created () { |
| | | this.refreshCaptcha() |
| | | document.title=this.systemTitle |
| | | } |
| | | } |
| | | </script> |