新增待办信息
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
import { Icon } from '@jeesite/core/components/Icon';
|
||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||
|
||||
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||
import { BizCalendarSchedule, bizCalendarScheduleSave, bizCalendarScheduleForm } from '@jeesite/biz/api/biz/calendarSchedule';
|
||||
|
||||
const emit = defineEmits(['success', 'register']);
|
||||
@@ -168,7 +168,11 @@
|
||||
|
||||
async function handleSubmit() {
|
||||
try {
|
||||
const data = await validate();
|
||||
const orgData = await validate();
|
||||
const data = {
|
||||
... orgData,
|
||||
updateTime: formatToDateTime(new Date()) ,
|
||||
}
|
||||
setModalProps({ confirmLoading: true });
|
||||
const params: any = {
|
||||
isNewRecord: record.value.isNewRecord,
|
||||
|
||||
Reference in New Issue
Block a user