|
|
|
@ -205,7 +205,7 @@
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row :gutter="20" type="flex">
|
|
|
|
|
<el-col :span="11" type="flex">
|
|
|
|
|
<el-form-item label="角色">
|
|
|
|
|
<el-form-item label="角色" prop="roles">
|
|
|
|
|
<el-checkbox-group v-model="formData.roles" :disabled="formData.id == 1" >
|
|
|
|
|
<el-checkbox
|
|
|
|
|
v-for="item in roles"
|
|
|
|
@ -340,6 +340,12 @@ export default {
|
|
|
|
|
depts: [
|
|
|
|
|
{required: true, message: "请选择所属部门", trigger: "change"}
|
|
|
|
|
],
|
|
|
|
|
roles: [
|
|
|
|
|
{required: true, message: "请选择用户角色"}
|
|
|
|
|
],
|
|
|
|
|
employeeName: [
|
|
|
|
|
{required: true, message: "请输入用户名称", trigger: "blur"}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
editRules: {
|
|
|
|
|
userName: [
|
|
|
|
|