飞行员新增修改
This commit is contained in:
parent
fc2dc2eca2
commit
34e2fa8cdb
@ -330,9 +330,9 @@
|
|||||||
},
|
},
|
||||||
// 提交前做的操作
|
// 提交前做的操作
|
||||||
[CRUD.HOOK.afterValidateCU](crud) {
|
[CRUD.HOOK.afterValidateCU](crud) {
|
||||||
const rolesIds = this.roles.find(item=>item.name === '飞行员').id;
|
// const rolesIds = this.roles.find(item=>item.name === '飞行员').id;
|
||||||
crud.form.userType = 1;
|
crud.form.userType = 1;
|
||||||
crud.form.roles = [{id:rolesIds}];
|
// crud.form.roles = [{id:rolesIds}];
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
// 获取全部区域
|
// 获取全部区域
|
||||||
|
Loading…
Reference in New Issue
Block a user