新增待办信息
This commit is contained in:
@@ -44,7 +44,7 @@ import java.io.Serial;
|
|||||||
@Column(name = "ustatus", attrName = "ustatus", label = "会议状态"),
|
@Column(name = "ustatus", attrName = "ustatus", label = "会议状态"),
|
||||||
@Column(name = "remark", attrName = "remark", label = "补充说明", isQuery = false),
|
@Column(name = "remark", attrName = "remark", label = "补充说明", isQuery = false),
|
||||||
@Column(name = "create_user", attrName = "createUser", label = "创建人员", isUpdate = false),
|
@Column(name = "create_user", attrName = "createUser", label = "创建人员", isUpdate = false),
|
||||||
@Column(name = "update_time", attrName = "updateTime", label = "更新时间", isQuery = false, isUpdateForce = true),
|
@Column(name = "update_time", attrName = "updateTime", label = "更新时间", isQuery = false),
|
||||||
@Column(name = "f_tenant_id", attrName = "ftenantId", label = "租户id", isUpdate = false, isQuery = false),
|
@Column(name = "f_tenant_id", attrName = "ftenantId", label = "租户id", isUpdate = false, isQuery = false),
|
||||||
@Column(name = "f_flow_id", attrName = "fflowId", label = "流程id", isUpdate = false, isQuery = false),
|
@Column(name = "f_flow_id", attrName = "fflowId", label = "流程id", isUpdate = false, isQuery = false),
|
||||||
@Column(name = "f_flow_task_id", attrName = "fflowTaskId", label = "流程任务主键", isUpdate = false, isQuery = false),
|
@Column(name = "f_flow_task_id", attrName = "fflowTaskId", label = "流程任务主键", isUpdate = false, isQuery = false),
|
||||||
@@ -83,11 +83,11 @@ public class BizMeetingInfo extends DataEntity<BizMeetingInfo> implements Serial
|
|||||||
@ExcelField(title = "会议内容", attrName = "meetingContent", align = Align.CENTER, sort = 50),
|
@ExcelField(title = "会议内容", attrName = "meetingContent", align = Align.CENTER, sort = 50),
|
||||||
@ExcelField(title = "参会人员", attrName = "meetingUser", align = Align.CENTER, sort = 60),
|
@ExcelField(title = "参会人员", attrName = "meetingUser", align = Align.CENTER, sort = 60),
|
||||||
@ExcelField(title = "其他人员", attrName = "otherUser", align = Align.CENTER, sort = 70),
|
@ExcelField(title = "其他人员", attrName = "otherUser", align = Align.CENTER, sort = 70),
|
||||||
@ExcelField(title = "会议类型", attrName = "meetingType", align = Align.CENTER, sort = 80),
|
@ExcelField(title = "会议类型", attrName = "meetingType", dictType = "meeting_type", align = Align.CENTER, sort = 80),
|
||||||
@ExcelField(title = "开始时间", attrName = "startTime", align = Align.CENTER, sort = 90, dataFormat = "yyyy-MM-dd hh:mm"),
|
@ExcelField(title = "开始时间", attrName = "startTime", align = Align.CENTER, sort = 90, dataFormat = "yyyy-MM-dd hh:mm"),
|
||||||
@ExcelField(title = "结束时间", attrName = "endTime", align = Align.CENTER, sort = 100, dataFormat = "yyyy-MM-dd hh:mm"),
|
@ExcelField(title = "结束时间", attrName = "endTime", align = Align.CENTER, sort = 100, dataFormat = "yyyy-MM-dd hh:mm"),
|
||||||
@ExcelField(title = "会议地点", attrName = "meetingLocation", align = Align.CENTER, sort = 110),
|
@ExcelField(title = "会议地点", attrName = "meetingLocation", align = Align.CENTER, sort = 110),
|
||||||
@ExcelField(title = "会议状态", attrName = "ustatus", align = Align.CENTER, sort = 120),
|
@ExcelField(title = "会议状态", attrName = "ustatus", dictType = "meeting_status", align = Align.CENTER, sort = 120),
|
||||||
@ExcelField(title = "补充说明", attrName = "remark", align = Align.CENTER, sort = 130),
|
@ExcelField(title = "补充说明", attrName = "remark", align = Align.CENTER, sort = 130),
|
||||||
@ExcelField(title = "创建人员", attrName = "createUser", align = Align.CENTER, sort = 140),
|
@ExcelField(title = "创建人员", attrName = "createUser", align = Align.CENTER, sort = 140),
|
||||||
@ExcelField(title = "更新时间", attrName = "updateTime", align = Align.CENTER, sort = 150, dataFormat = "yyyy-MM-dd hh:mm"),
|
@ExcelField(title = "更新时间", attrName = "updateTime", align = Align.CENTER, sort = 150, dataFormat = "yyyy-MM-dd hh:mm"),
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ public class BizCalendarScheduleController extends BaseController {
|
|||||||
}
|
}
|
||||||
bizCalendarSchedule.setCreatorUser(user.getLoginCode());
|
bizCalendarSchedule.setCreatorUser(user.getLoginCode());
|
||||||
bizCalendarSchedule.setParticipantName(fUser.getUserName());
|
bizCalendarSchedule.setParticipantName(fUser.getUserName());
|
||||||
bizCalendarSchedule.setUpdateTime(vDate.getUpdateTime(bizCalendarSchedule.getIsNewRecord()));
|
|
||||||
bizCalendarScheduleService.save(bizCalendarSchedule);
|
bizCalendarScheduleService.save(bizCalendarSchedule);
|
||||||
return renderResult(Global.TRUE, text("保存日程信息成功!"));
|
return renderResult(Global.TRUE, text("保存日程信息成功!"));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ public class BizDbConfigController extends BaseController {
|
|||||||
@PostMapping(value = "save")
|
@PostMapping(value = "save")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public String save(@Validated BizDbConfig bizDbConfig) {
|
public String save(@Validated BizDbConfig bizDbConfig) {
|
||||||
bizDbConfig.setUpdateTime(vDate.getUpdateTime(bizDbConfig.getIsNewRecord()));
|
|
||||||
bizDbConfigService.save(bizDbConfig);
|
bizDbConfigService.save(bizDbConfig);
|
||||||
return renderResult(Global.TRUE, text("保存连接信息成功!"));
|
return renderResult(Global.TRUE, text("保存连接信息成功!"));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,6 @@ public class BizMonitorAccountController extends BaseController {
|
|||||||
if (bizMonitorAccount.getIsNewRecord()) {
|
if (bizMonitorAccount.getIsNewRecord()) {
|
||||||
bizMonitorAccount.setSshPassword(vo.getEncode(bizMonitorAccount.getSshPassword()));
|
bizMonitorAccount.setSshPassword(vo.getEncode(bizMonitorAccount.getSshPassword()));
|
||||||
} else {
|
} else {
|
||||||
bizMonitorAccount.setUpdateTime(new Date());
|
|
||||||
BizMonitorAccount account = bizMonitorAccountService.get(bizMonitorAccount.getAccountId());
|
BizMonitorAccount account = bizMonitorAccountService.get(bizMonitorAccount.getAccountId());
|
||||||
if (!account.getSshPassword().equals(bizMonitorAccount.getSshPassword())) {
|
if (!account.getSshPassword().equals(bizMonitorAccount.getSshPassword())) {
|
||||||
bizMonitorAccount.setSshPassword(vo.getEncode(bizMonitorAccount.getSshPassword()));
|
bizMonitorAccount.setSshPassword(vo.getEncode(bizMonitorAccount.getSshPassword()));
|
||||||
|
|||||||
@@ -89,7 +89,6 @@ public class BizMonitorHostController extends BaseController {
|
|||||||
@PostMapping(value = "save")
|
@PostMapping(value = "save")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public String save(@Validated BizMonitorHost bizMonitorHost) {
|
public String save(@Validated BizMonitorHost bizMonitorHost) {
|
||||||
bizMonitorHost.setUpdateTime(vDate.getUpdateTime(bizMonitorHost.getIsNewRecord()));
|
|
||||||
bizMonitorHostService.save(bizMonitorHost);
|
bizMonitorHostService.save(bizMonitorHost);
|
||||||
return renderResult(Global.TRUE, text("保存主机信息成功!"));
|
return renderResult(Global.TRUE, text("保存主机信息成功!"));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizCalendarSchedule, bizCalendarScheduleSave, bizCalendarScheduleForm } from '@jeesite/biz/api/biz/calendarSchedule';
|
import { BizCalendarSchedule, bizCalendarScheduleSave, bizCalendarScheduleForm } from '@jeesite/biz/api/biz/calendarSchedule';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -174,7 +175,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizDbConfig, bizDbConfigSave, bizDbConfigForm } from '@jeesite/biz/api/biz/dbConfig';
|
import { BizDbConfig, bizDbConfigSave, bizDbConfigForm } from '@jeesite/biz/api/biz/dbConfig';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -141,7 +142,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizMonitorAccount, bizMonitorAccountSave, bizMonitorAccountForm } from '@jeesite/biz/api/biz/monitorAccount';
|
import { BizMonitorAccount, bizMonitorAccountSave, bizMonitorAccountForm } from '@jeesite/biz/api/biz/monitorAccount';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -134,7 +135,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizMonitorHost, bizMonitorHostSave, bizMonitorHostForm } from '@jeesite/biz/api/biz/monitorHost';
|
import { BizMonitorHost, bizMonitorHostSave, bizMonitorHostForm } from '@jeesite/biz/api/biz/monitorHost';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -164,7 +165,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizListItem, bizListItemSave, bizListItemForm } from '@jeesite/biz/api/biz/listItem';
|
import { BizListItem, bizListItemSave, bizListItemForm } from '@jeesite/biz/api/biz/listItem';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -139,7 +140,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizMeetingInfo, bizMeetingInfoSave, bizMeetingInfoForm } from '@jeesite/biz/api/biz/meetingInfo';
|
import { BizMeetingInfo, bizMeetingInfoSave, bizMeetingInfoForm } from '@jeesite/biz/api/biz/meetingInfo';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -196,7 +197,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
import { bizCitiesListAll } from '@jeesite/biz/api/biz/cities';
|
import { bizCitiesListAll } from '@jeesite/biz/api/biz/cities';
|
||||||
import { bizProvinceListAll } from '@jeesite/biz/api/biz/province';
|
import { bizProvinceListAll } from '@jeesite/biz/api/biz/province';
|
||||||
import { BizMunicipalities, bizMunicipalitiesSave, bizMunicipalitiesForm } from '@jeesite/biz/api/biz/municipalities';
|
import { BizMunicipalities, bizMunicipalitiesSave, bizMunicipalitiesForm } from '@jeesite/biz/api/biz/municipalities';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -159,7 +160,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizProjectRequirements, bizProjectRequirementsSave, bizProjectRequirementsForm } from '@jeesite/biz/api/biz/projectRequirements';
|
import { BizProjectRequirements, bizProjectRequirementsSave, bizProjectRequirementsForm } from '@jeesite/biz/api/biz/projectRequirements';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -163,7 +164,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizMailAccount, bizMailAccountSave, bizMailAccountForm } from '@jeesite/biz/api/biz/mailAccount';
|
import { BizMailAccount, bizMailAccountSave, bizMailAccountForm } from '@jeesite/biz/api/biz/mailAccount';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -163,7 +164,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { BizQuickLogin, bizQuickLoginSave, bizQuickLoginForm } from '@jeesite/biz/api/biz/quickLogin';
|
import { BizQuickLogin, bizQuickLoginSave, bizQuickLoginForm } from '@jeesite/biz/api/biz/quickLogin';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -146,7 +147,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { ErpAccount, erpAccountSave, erpAccountForm } from '@jeesite/erp/api/erp/account';
|
import { ErpAccount, erpAccountSave, erpAccountForm } from '@jeesite/erp/api/erp/account';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -120,7 +121,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
import { BasicForm, FormSchema, useForm } from '@jeesite/core/components/Form';
|
||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { ErpCategory, erpCategorySave, erpCategoryForm } from '@jeesite/erp/api/erp/category';
|
import { ErpCategory, erpCategorySave, erpCategoryForm } from '@jeesite/erp/api/erp/category';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -119,7 +120,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
import { BasicModal, useModalInner } from '@jeesite/core/components/Modal';
|
||||||
import { ErpCategory, erpCategoryListAll } from '@jeesite/erp/api/erp/category';
|
import { ErpCategory, erpCategoryListAll } from '@jeesite/erp/api/erp/category';
|
||||||
import { ErpTransactionFlow, erpTransactionFlowSave, erpTransactionFlowForm } from '@jeesite/erp/api/erp/transactionFlow';
|
import { ErpTransactionFlow, erpTransactionFlowSave, erpTransactionFlowForm } from '@jeesite/erp/api/erp/transactionFlow';
|
||||||
|
import { formatToDateTime } from '@jeesite/core/utils/dateUtil';
|
||||||
|
|
||||||
const emit = defineEmits(['success', 'register']);
|
const emit = defineEmits(['success', 'register']);
|
||||||
|
|
||||||
@@ -130,7 +131,11 @@
|
|||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
try {
|
try {
|
||||||
const data = await validate();
|
const orgData = await validate();
|
||||||
|
const data = {
|
||||||
|
... orgData,
|
||||||
|
updateTime: formatToDateTime(new Date()) ,
|
||||||
|
}
|
||||||
setModalProps({ confirmLoading: true });
|
setModalProps({ confirmLoading: true });
|
||||||
const params: any = {
|
const params: any = {
|
||||||
isNewRecord: record.value.isNewRecord,
|
isNewRecord: record.value.isNewRecord,
|
||||||
|
|||||||
Reference in New Issue
Block a user