优化
This commit is contained in:
@ -107,6 +107,11 @@
|
||||
try {
|
||||
values[RowKey] = rowId;
|
||||
state.formModel = values;
|
||||
values.xjrNoticeUserList = values.xjrNoticeUserList || []
|
||||
values.xjrNoticeUserList.forEach(i=>{
|
||||
i.userIds = i.userId
|
||||
delete i.userId
|
||||
})
|
||||
let saveVal = await updateXjrNotice(values);
|
||||
await submitFormEvent(formEventConfigs, state.formModel, systemFormRef.value, formProps.schemas); //表单事件:提交表单
|
||||
return saveVal;
|
||||
@ -116,6 +121,11 @@
|
||||
async function add(values) {
|
||||
try {
|
||||
state.formModel = values;
|
||||
values.xjrNoticeUserList = values.xjrNoticeUserList || []
|
||||
values.xjrNoticeUserList.forEach(i=>{
|
||||
i.userIds = i.userId
|
||||
delete i.userId
|
||||
})
|
||||
let saveVal = await addXjrNotice(values);
|
||||
await submitFormEvent(formEventConfigs, state.formModel, systemFormRef.value, formProps.schemas); //表单事件:提交表单
|
||||
return saveVal;
|
||||
|
||||
Reference in New Issue
Block a user