fix:添加用户账号校验

dev
wangxy 12 months ago
parent e7f148745d
commit 9846d18420

@ -2,6 +2,11 @@
<div class="register"> <div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">黄炎培职业教育奖网上申报系统</h3> <h3 class="title">黄炎培职业教育奖网上申报系统</h3>
<el-form-item prop="roleKey">
<el-input v-model="registerForm.roleKey" type="text" auto-complete="off" placeholder="申报类型">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
</el-input>
</el-form-item>
<el-form-item prop="username"> <el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号:保持和申报学校的名称一致"> <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号:保持和申报学校的名称一致">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
@ -68,6 +73,7 @@
<script> <script>
import { getCodeImg, register } from "@/api/login"; import { getCodeImg, register } from "@/api/login";
import { getDicts } from "@/api/system/dict/data";
export default { export default {
name: "Register", name: "Register",

Loading…
Cancel
Save