bugfix:修复定时任务页面bug
This commit is contained in:
@@ -273,11 +273,11 @@
|
||||
if (obj.event === 'edit') {
|
||||
editQuartz(data);
|
||||
} else if (obj.event === 'start') {
|
||||
changeStatus(data.id, '1');
|
||||
changeStatus(data.configId, '1');
|
||||
} else if (obj.event === 'pause') {
|
||||
changeStatus(data.id, '0');
|
||||
changeStatus(data.configId, '0');
|
||||
} else if (obj.event === 'del') {
|
||||
deleteQuartz(data.id);
|
||||
deleteQuartz(data.configId);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
isEditMode = true;
|
||||
|
||||
form.val('quartzForm', {
|
||||
configId: data.id,
|
||||
configId: data.configId,
|
||||
quartzName: data.quartzName,
|
||||
jobType: data.quartzType,
|
||||
quartz_class: data.quartzClass,
|
||||
@@ -397,8 +397,9 @@
|
||||
quartzName: quartzName,
|
||||
jobType: jobType,
|
||||
quartz_class: quartzClass,
|
||||
time: cronExpression,
|
||||
remark: remark
|
||||
remark: remark,
|
||||
dataStr: cronExpression, // 直接传递完整的cron表达式
|
||||
time: '0' // 传递time参数供后端使用
|
||||
};
|
||||
|
||||
if (isEditMode) {
|
||||
|
||||
Reference in New Issue
Block a user