| | |
| | | public String login(String username, String password, String code, String uuid) |
| | | { |
| | | // 验证码校验 |
| | | validateCaptcha(username, code, uuid); |
| | | //validateCaptcha(username, code, uuid); |
| | | // 登录前置校验 |
| | | loginPreCheck(username, password); |
| | | // 用户验证 |
| | |
| | | # 页面标题 |
| | | VUE_APP_TITLE = 江宸MES管理系统 |
| | | VUE_APP_TITLE = 江宸MES系统 |
| | | |
| | | # 开发环境配置 |
| | | ENV = 'development' |
| | | |
| | | # 江宸MES管理系统/开发环境 |
| | | # 江宸MES系统/开发环境 |
| | | VUE_APP_BASE_API = '/dev-api' |
| | | |
| | | # 路由懒加载 |
| | |
| | | // 默认菜单主题风格 |
| | | $base-menu-color:#bfcbd9; |
| | | $base-menu-color-active:#f4f4f5; |
| | | $base-menu-background:#304156; |
| | | $base-menu-background: #011e2d; |
| | | $base-logo-title-color: #ffffff; |
| | | |
| | | $base-menu-light-color:rgba(0,0,0,.70); |
| | |
| | | </div> |
| | | <div class="login-right"> |
| | | <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> |
| | | <h3 class="title">江宸德玛MES系统</h3> |
| | | <h2 class="title">江宸MES系统</h2> |
| | | <el-form-item prop="username"> |
| | | <el-input |
| | | v-model="loginForm.username" |
| | |
| | | <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" /> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item prop="code" v-if="captchaEnabled"> |
| | | <!-- <el-form-item prop="code" v-if="captchaEnabled"> |
| | | <el-input |
| | | v-model="loginForm.code" |
| | | auto-complete="off" |
| | |
| | | <div class="login-code"> |
| | | <img :src="codeUrl" @click="getCode" class="login-code-img"/> |
| | | </div> |
| | | </el-form-item> |
| | | </el-form-item>--> |
| | | <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox> |
| | | <el-form-item style="width:100%;"> |
| | | <el-button |