Use schedule checkbox for biz-state; add compare job delete action.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-17 19:11:50 +08:00
parent 108c9da00f
commit e9b8042ca7
5 changed files with 109 additions and 60 deletions

View file

@ -183,12 +183,16 @@ const en = {
colConnect: "Connect",
start: "Start schedule",
pause: "Pause",
scheduleEnabled: "Enable schedule",
scheduleOn: "Scheduled",
scheduleOff: "Manual",
scheduleHint: "When checked, collect on interval; otherwise only Collect now.",
collectNow: "Collect now",
delete: "Delete",
confirmDelete: "Delete this task and all batches?",
deleted: "Deleted",
started: "Schedule started",
paused: "Paused",
started: "Schedule enabled",
paused: "Schedule off (manual only)",
collecting: "Collecting",
detail: "Details",
interval: "Interval",
@ -244,6 +248,7 @@ const en = {
templateSaved: "Template saved",
templateDeleted: "Template deleted",
confirmDeleteTemplate: "Delete this compare template?",
confirmDeleteJob: "Delete this compare job and all runs?",
emptyTemplates: "No templates yet. Create one or use built-ins.",
templateHint:
"A template holds multiple metric sheets. Key: row identity (no separate compare). Interface: port mapping. Compare: value checks after key match. Leave compare empty for presence-only (entry set match).",
@ -296,6 +301,7 @@ const en = {
runNow: "Run now",
saveJob: "Save config",
jobSaved: "Job config saved",
jobDeleted: "Compare job deleted",
jobList: "Compare jobs",
detail: "Details",
edit: "Edit",

View file

@ -183,12 +183,16 @@ const zh = {
colConnect: "连通",
start: "启动周期",
pause: "暂停",
scheduleEnabled: "启用周期调度",
scheduleOn: "周期",
scheduleOff: "手动",
scheduleHint: "勾选后按周期自动采集;不勾选则仅支持「立即采集」。",
collectNow: "立即采集",
delete: "删除",
confirmDelete: "删除该业务监控任务及所有批次?",
deleted: "已删除",
started: "已启动周期采集",
paused: "已暂停",
started: "已启用周期采集",
paused: "已关闭周期(仅手动采集)",
collecting: "采集中",
detail: "详情",
interval: "采集周期",
@ -244,6 +248,7 @@ const zh = {
templateSaved: "模板已保存",
templateDeleted: "模板已删除",
confirmDeleteTemplate: "删除该比对模板?",
confirmDeleteJob: "删除该比对任务及全部运行记录?",
emptyTemplates: "暂无模板。可新建或使用系统默认。",
templateHint:
"一个模板可包含多张监控表。Key:对齐前后条目(选中后即为行身份,无需再勾比对);接口:参与端口映射;比对:勾选具体参数做值检查。若不勾任何比对字段,则只校验条目是否一致(存在性)。",
@ -295,6 +300,7 @@ const zh = {
runNow: "立即比对",
saveJob: "保存配置",
jobSaved: "任务配置已保存",
jobDeleted: "比对任务已删除",
jobList: "比对任务",
detail: "详情",
edit: "编辑",