| | |
| | | <el-form-item label="管理员搜索"> |
| | | <el-input |
| | | v-model="keyWord" |
| | | placeholder="请输入管理员名称/账号" |
| | | placeholder="搜索管理员名称/账号" |
| | | clearable |
| | | size="small" |
| | | style="width: 240px" |
| | |
| | | ], |
| | | password: [ |
| | | { required: true, message: '密码不能为空', trigger: 'change' }, |
| | | { min: 5, max: 20, message: '密码在5~20个字之间'} |
| | | { min: 5, max: 20, message: '密码在5~20个字之间' } |
| | | ], |
| | | passwordSure: [ |
| | | { required: true, message: '确认密码不能为空', trigger: 'change' }, |
| | |
| | | } |
| | | } |
| | | }, (inf) => { |
| | | this.roleArr = inf.list || [] |
| | | this.roleArr = inf.list && inf.list.filter(item => item.isUse === 1) || [] |
| | | }) |
| | | }, |
| | | |