2
0
This commit is contained in:
lai
2024-12-26 16:14:06 +08:00
parent 52ad7dbe05
commit 3e2bc5ab9d
3 changed files with 3 additions and 1 deletions

View File

@@ -611,6 +611,7 @@ const local: any = {
jobMessage: "Task Message",
clearTip: "Confirm that all dispatch log data items are cleared?",
clearOk: "Cleared Successfully",
statusChange: "Are you sure you want the {text} {num} job?",
}
}
},

View File

@@ -611,6 +611,7 @@ const local:any = {
jobMessage: "执行信息",
clearTip: "确认清空所有调度日志数据项吗?",
clearOk: "清空成功",
statusChange: "确定要{text} {num} 任务吗?",
}
}
},

View File

@@ -359,7 +359,7 @@ function fnRecordStatus(row: Record<string, string>) {
: sysJobStatus.find(s => s.value === '0')?.label;
Modal.confirm({
title: t('common.tipTitle'),
content: t('views.monitor.job.statusChange', { text, num: row.jobName }),
content: t('page.manage.task.statusChange', { text, num: row.jobName }),
onOk() {
const key = 'changeJobStatus';
message.loading({ content: t('common.loading'), key });