2
0

完善任务管理

This commit is contained in:
lai
2024-12-26 16:07:04 +08:00
parent de19d9f400
commit f65cb5058e
11 changed files with 1381 additions and 123 deletions

View File

@@ -24,8 +24,13 @@ const local: any = {
config: 'Config',
confirm: 'Confirm',
delete: 'Delete',
view: 'View',
exportOk: "Export Completed",
exportTip: "Confirm exporting xlsx table files based on search criteria?",
deleteSuccess: 'Delete Success',
confirmDelete: 'Are you sure you want to delete?',
confirmClean: 'Are you sure you want to Clean?',
clearText: "Clean",
edit: 'Edit',
index: 'Index',
keywordSearch: 'Please enter keyword',
@@ -55,7 +60,75 @@ const local: any = {
abnormal: 'Abnormal',
export: 'Export',
loading: 'Loading',
selectPlease: 'please select',
disable: 'Disable',
default: 'Default',
system:'System',
record: 'Record',
noRecord: 'No Record',
msgSuccess: 'Success {msg}',
errorFields: 'Please fill in the required information in {num} correctly!',
tipTitle: 'Prompt',
units: {
second: 'Second',
minute: 'Minute',
hour: 'Hour',
day: 'Day',
week: 'Week',
month: 'Month',
year: 'Year',
core: 'Core',
}
},
// 组件
components: {
CronModal: {
title: "Cron Expression Generator",
addon: "Expression Preview:",
day1: "Every day",
day21: "Execute every",
day22: "days, starting from the",
day23: "day",
day31: "Cycle from",
day32: "to",
day33: "days",
day4: "Designated day (optional)",
day5: "Last day of the month",
hour1: "Hourly",
hour21: "Execute every",
hour22: "hours, starting from the",
hour23: "hour",
hour31: "Cycle time from",
hour32: "to",
hour33: "hours",
hour4: "Specified hours (multiple options available)",
minute1: "Every minute",
minute21: "Execute every",
minute22: "minutes, starting from the",
minute23: "minute",
minute31: "Cycle time from",
minute32: "to",
minute33: "minutes",
minute4: "Specified minutes (multiple options available)",
month1: "Every month",
month21: "Execute every",
month22: "months, starting from the",
month23: "month",
month31: "Cycle time from",
month32: "to",
month33: "months",
month4: "Specified months (multiple options available)",
second1: "Every second",
second21: "Execute every",
second22: "seconds, starting from the",
second23: "second",
second31: "Cycle time from",
second32: "to",
second33: "seconds",
second4: "Specify the number of seconds (multiple selectable)",
},
},
request: {
logout: 'Logout user after request failed',
logoutMsg: 'User status is invalid, please log in again',
@@ -517,7 +590,27 @@ const local: any = {
viewJob:'View Job',
addJob:'Add Job',
editJob:'Edit Job',
viewInfoErr:'Failed to get job information',
getInfoError:'Get Info Error',
jobNamePlease: 'Please enter the task name correctly, limited to 2-50 characters',
invokeTargetPlease: 'Please enter the call target correctly, limited to 2-50 characters.',
cronExpressionPlease: 'Please enter or generate a cron execution expression',
jobGroup: "Job Group",
saveLog: "Save Log",
invokeTargetTip: "Parameter description: support for preset incoming parameters, serialized processing parameters in the processor",
cronExpressionTip: "Example of an expression:0/20 * * * * ?",
cronExpressionTip1: "Illustrative example: Execute tasks every 20 seconds",
cronExpressionNew: "Generating Expression",
targetParamsPlease: 'Call target incoming parameters, only support json strings',
delTip: "Are you sure you want to delete task number [{num}]?",
delLogTip: "Are you sure you want to delete Log number [{num}]?",
runOneTip: "Are you sure you want to perform a [{num}] task right away?",
runOneOk: "{num} Executed successfully",
runOne:'execute once',
jobLog: "Task Log",
jobMessage: "Task Message",
clearTip: "Confirm that all dispatch log data items are cleared?",
clearOk: "Cleared Successfully",
}
}
},

View File

@@ -24,8 +24,13 @@ const local:any = {
config: '配置',
confirm: '确认',
delete: '删除',
view:'查看',
exportOk: "已完成导出",
exportTip: "确认根据搜索条件导出xlsx表格文件吗?",
deleteSuccess: '删除成功',
confirmDelete: '确认删除吗?',
confirmClean: '确认清空吗?',
clearText: "清空",
edit: '编辑',
index: '序号',
keywordSearch: '请输入关键词搜索',
@@ -55,7 +60,75 @@ const local:any = {
abnormal: '异常',
export:'导出',
loading: '加载中...',
selectPlease: '请选择',
disable: '停用',
default: '默认',
system:'系统',
record: '记录',
noRecord: '不记录',
msgSuccess: '{msg} 成功',
errorFields: '请正确填写 {num} 处必填信息!',
tipTitle: '提示',
units: {
second: '秒',
minute: '分钟',
hour: '小时',
day: '天',
week: '周',
month: '月',
year: '年',
core: '核',
}
},
// 组件
components: {
CronModal: {
title: "Cron表达式生成",
addon: "表达式预览:",
day1: "每一天",
day21: "每隔",
day22: "天执行一次,从",
day23: "日开始",
day31: "周期从",
day32: "到",
day33: "日",
day4: "指定日(可多选)",
day5: "本月最后一天",
hour1: "每一小时",
hour21: "每隔",
hour22: "小时执行一次,从",
hour23: "时开始",
hour31: "周期从",
hour32: "到",
hour33: "小时",
hour4: "指定小时(可多选)",
minute1: "每一分钟",
minute21: "每隔",
minute22: "分钟执行一次,从",
minute23: "分钟开始",
minute31: "周期从",
minute32: "到",
minute33: "分钟",
minute4: "指定分钟(可多选)",
month1: "每一月",
month21: "每隔",
month22: "月执行,从",
month23: "月开始",
month31: "周期从",
month32: "到",
month33: "月之间的每个月",
month4: "指定月(可多选)",
second1: "每一秒钟",
second21: "每隔",
second22: "秒执行一次,从",
second23: "秒开始",
second31: "周期从",
second32: "到",
second33: "秒",
second4: "指定秒数(可多选)",
}
},
request: {
logout: '请求失败后登出用户',
logoutMsg: '用户状态失效,请重新登录',
@@ -504,7 +577,7 @@ const local:any = {
other:'其他',
},
task:{
taskId:'ID',
taskId:'编号',
taskName:'任务名称',
group:'任务组名',
invoke:'调用目标',
@@ -519,6 +592,25 @@ const local:any = {
editJob:'编辑任务',
viewInfoErr:'查看异常信息',
getInfoError:'获取信息失败',
jobNamePlease: '请正确输入任务名称限2-50个字符',
invokeTargetPlease: '请正确输入调用目标限2-50个字符',
cronExpressionPlease: '请输入或生成cron执行表达式',
jobGroup: "任务组名",
saveLog: "记录日志",
invokeTargetTip: "参数说明:支持预设传入参数,在处理器中进行序列化处理参数",
cronExpressionTip: "表达式示例0/20 * * * * ?",
cronExpressionTip1: "示例说明每20秒执行任务",
cronExpressionNew: "生成表达式",
targetParamsPlease: '调用目标传入参数仅支持json字符串',
delTip: "确认删除定时任务编号为 【{num}】 任务吗?",
delLogTip: "确认删除日志编号为 【{num}】 任务日志吗?",
runOneTip: "确定要立即执行一次 【{num}】 任务吗?",
runOneOk: "{num} 执行成功",
runOne:'执行一次',
jobLog: "任务日志",
jobMessage: "执行信息",
clearTip: "确认清空所有调度日志数据项吗?",
clearOk: "清空成功",
}
}
},