新用户审核 校验角色

ywj_dev
wangwei 2 years ago
parent 200e003cd5
commit 9fda17a24e

@ -247,8 +247,7 @@
<!--</el-col>-->
<el-col :span="11" type="flex">
<el-form :model="checkQuery" >
<el-form-item label="分配角色:" property="check">
<el-form-item label="分配角色:" prop="check">
<el-radio-group v-model="check" @change="handleCheckedChange" >
<el-radio v-for="item in roles" :key="item.roleId" :label="item.roleId">{{
item.roleName
@ -256,7 +255,6 @@
</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
</el-col>
</el-row>
</el-form>
@ -317,6 +315,9 @@ export default {
nickName: [
{required: true, message: "请输入用户名称", trigger: "blur"},
],
check:[
{required: true, message: "请选择角色", trigger: "blur"}
],
},
list: [],
roles: [],

Loading…
Cancel
Save