Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
497e46e5f3
@ -108,7 +108,8 @@ function closeDrawer() {
|
|||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
await validate();
|
await validate();
|
||||||
|
|
||||||
const { userId, deptId, userName, nickName, email, phonenumber, sex, password, status, remark } = model;
|
const { userId, deptId, userName, nickName, email, phonenumber, sex, password, status, roleIds, postIds, remark } =
|
||||||
|
model;
|
||||||
|
|
||||||
// request
|
// request
|
||||||
if (props.operateType === 'add') {
|
if (props.operateType === 'add') {
|
||||||
@ -121,6 +122,8 @@ async function handleSubmit() {
|
|||||||
phonenumber,
|
phonenumber,
|
||||||
sex,
|
sex,
|
||||||
status,
|
status,
|
||||||
|
roleIds,
|
||||||
|
postIds,
|
||||||
remark
|
remark
|
||||||
});
|
});
|
||||||
if (error) return;
|
if (error) return;
|
||||||
@ -136,6 +139,8 @@ async function handleSubmit() {
|
|||||||
phonenumber,
|
phonenumber,
|
||||||
sex,
|
sex,
|
||||||
status,
|
status,
|
||||||
|
roleIds,
|
||||||
|
postIds,
|
||||||
remark
|
remark
|
||||||
});
|
});
|
||||||
if (error) return;
|
if (error) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user