groupName中文名 bug修复
新增定时任务执行日志里的中文组名称 新增在线机器页面的中文组名称 en-us英文更新
This commit is contained in:
parent
99eb47971d
commit
8bab982a7b
@ -74,8 +74,8 @@ const { columns, searchParams, columnChecks, data, getData, loading, mobilePagin
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.jobBatch.jobTask.groupName'),
|
title: $t('page.jobBatch.jobTask.groupNameCn'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
minWidth: 180
|
minWidth: 180
|
||||||
},
|
},
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
const local: App.I18n.Schema = {
|
const local: App.I18n.Schema = {
|
||||||
system: {
|
system: {
|
||||||
title: 'Task Flux',
|
title: 'Task Flux',
|
||||||
@ -144,6 +145,10 @@ const local: App.I18n.Schema = {
|
|||||||
python: 'Python'
|
python: 'Python'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
variableType: {
|
||||||
|
variableType1: 'character variable',
|
||||||
|
variableType2: 'Expression variable'
|
||||||
|
},
|
||||||
taskType: {
|
taskType: {
|
||||||
label: 'Task Type',
|
label: 'Task Type',
|
||||||
form: 'Please enter task type',
|
form: 'Please enter task type',
|
||||||
@ -392,7 +397,10 @@ const local: App.I18n.Schema = {
|
|||||||
job: 'Schedule Task Management',
|
job: 'Schedule Task Management',
|
||||||
job_task: 'Schedule Task List',
|
job_task: 'Schedule Task List',
|
||||||
job_batch: 'Schedule Task Batch List',
|
job_batch: 'Schedule Task Batch List',
|
||||||
group: 'Group Config'
|
group: 'Group Config',
|
||||||
|
system: 'system variable',
|
||||||
|
system_variable: 'system_manager',
|
||||||
|
system_manager: 'system_manager'
|
||||||
},
|
},
|
||||||
page: {
|
page: {
|
||||||
common: {
|
common: {
|
||||||
@ -506,6 +514,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Online Machine',
|
title: 'Online Machine',
|
||||||
nodeType: 'Node Type',
|
nodeType: 'Node Type',
|
||||||
groupName: 'Group Name',
|
groupName: 'Group Name',
|
||||||
|
groupNameCn: 'Chinese Group Name',
|
||||||
hostId: 'Pod ID',
|
hostId: 'Pod ID',
|
||||||
hostIp: 'IP',
|
hostIp: 'IP',
|
||||||
hostPort: 'Port',
|
hostPort: 'Port',
|
||||||
@ -540,6 +549,7 @@ const local: App.I18n.Schema = {
|
|||||||
detail: 'Group Detail',
|
detail: 'Group Detail',
|
||||||
namespaceId: 'Namespace ID',
|
namespaceId: 'Namespace ID',
|
||||||
groupName: 'Group Name',
|
groupName: 'Group Name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
token: 'Token',
|
token: 'Token',
|
||||||
groupStatus: 'Status',
|
groupStatus: 'Status',
|
||||||
idGeneratorMode: 'ID Generator Mode',
|
idGeneratorMode: 'ID Generator Mode',
|
||||||
@ -553,6 +563,7 @@ const local: App.I18n.Schema = {
|
|||||||
retryConfig: 'RetryConfig',
|
retryConfig: 'RetryConfig',
|
||||||
form: {
|
form: {
|
||||||
groupName: 'Please enter group name',
|
groupName: 'Please enter group name',
|
||||||
|
groupNameCn: 'Please enter Chinese group name',
|
||||||
token: 'Please enter token',
|
token: 'Please enter token',
|
||||||
groupStatus: 'Please select group status',
|
groupStatus: 'Please select group status',
|
||||||
description: 'Please enter description',
|
description: 'Please enter description',
|
||||||
@ -576,6 +587,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Alarm Notify List',
|
title: 'Alarm Notify List',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
businessName: 'Business ID',
|
businessName: 'Business ID',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
notifyName: 'Notify name',
|
notifyName: 'Notify name',
|
||||||
notifyStatus: 'State',
|
notifyStatus: 'State',
|
||||||
notifyType: 'Notify type',
|
notifyType: 'Notify type',
|
||||||
@ -669,6 +681,7 @@ const local: App.I18n.Schema = {
|
|||||||
detail: 'RetryDeadLetter Detail',
|
detail: 'RetryDeadLetter Detail',
|
||||||
uniqueId: 'UniqueId',
|
uniqueId: 'UniqueId',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
sceneName: 'Scene name',
|
sceneName: 'Scene name',
|
||||||
idempotentId: 'Idempotent ID',
|
idempotentId: 'Idempotent ID',
|
||||||
bizNo: 'bizNo',
|
bizNo: 'bizNo',
|
||||||
@ -689,6 +702,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Retry List',
|
title: 'Retry List',
|
||||||
detail: 'Retry Detail',
|
detail: 'Retry Detail',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
sceneName: 'Scene name',
|
sceneName: 'Scene name',
|
||||||
idempotentId: 'Idempotent ID',
|
idempotentId: 'Idempotent ID',
|
||||||
bizNo: 'Business Number',
|
bizNo: 'Business Number',
|
||||||
@ -731,6 +745,7 @@ const local: App.I18n.Schema = {
|
|||||||
baseConfig: 'Base Config',
|
baseConfig: 'Base Config',
|
||||||
cbConfig: 'Callback Config',
|
cbConfig: 'Callback Config',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
sceneName: 'Scene name',
|
sceneName: 'Scene name',
|
||||||
notifyName: 'Notify name',
|
notifyName: 'Notify name',
|
||||||
sceneStatus: 'State',
|
sceneStatus: 'State',
|
||||||
@ -778,6 +793,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Retry Task List',
|
title: 'Retry Task List',
|
||||||
detail: 'Retry Task Detail',
|
detail: 'Retry Task Detail',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
sceneName: 'Scene name',
|
sceneName: 'Scene name',
|
||||||
taskStatus: 'Task status',
|
taskStatus: 'Task status',
|
||||||
taskType: 'Task type',
|
taskType: 'Task type',
|
||||||
@ -801,6 +817,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Workflow Batch List',
|
title: 'Workflow Batch List',
|
||||||
workflowName: 'Workflow name',
|
workflowName: 'Workflow name',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
executionAt: 'Execution time',
|
executionAt: 'Execution time',
|
||||||
taskBatchStatus: 'State',
|
taskBatchStatus: 'State',
|
||||||
operationReason: 'Reason for operation',
|
operationReason: 'Reason for operation',
|
||||||
@ -817,6 +834,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Workflow List',
|
title: 'Workflow List',
|
||||||
workflowName: 'Workflow name',
|
workflowName: 'Workflow name',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
nextTriggerAt: 'Trigger time',
|
nextTriggerAt: 'Trigger time',
|
||||||
workflowStatus: 'State',
|
workflowStatus: 'State',
|
||||||
triggerType: 'Trigger type',
|
triggerType: 'Trigger type',
|
||||||
@ -834,6 +852,7 @@ const local: App.I18n.Schema = {
|
|||||||
jobTask: {
|
jobTask: {
|
||||||
title: 'JobTask List',
|
title: 'JobTask List',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
ownerName: 'Ower name',
|
ownerName: 'Ower name',
|
||||||
jobName: 'Mission name',
|
jobName: 'Mission name',
|
||||||
argsStr: 'Method parameters',
|
argsStr: 'Method parameters',
|
||||||
@ -893,6 +912,7 @@ const local: App.I18n.Schema = {
|
|||||||
jobBatch: {
|
jobBatch: {
|
||||||
title: 'Job Batch List',
|
title: 'Job Batch List',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
jobName: 'Job name',
|
jobName: 'Job name',
|
||||||
taskType: 'Task Type',
|
taskType: 'Task Type',
|
||||||
executorInfo: 'Executor Name',
|
executorInfo: 'Executor Name',
|
||||||
@ -911,6 +931,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'Job task list',
|
title: 'Job task list',
|
||||||
id: 'ID',
|
id: 'ID',
|
||||||
groupName: 'Group name',
|
groupName: 'Group name',
|
||||||
|
groupNameCn: 'Chinese group name',
|
||||||
taskStatus: 'Status',
|
taskStatus: 'Status',
|
||||||
clientInfo: 'Client address',
|
clientInfo: 'Client address',
|
||||||
argsStr: 'Argument string',
|
argsStr: 'Argument string',
|
||||||
@ -948,6 +969,28 @@ const local: App.I18n.Schema = {
|
|||||||
admin: 'Admin'
|
admin: 'Admin'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
system_variable: {
|
||||||
|
title: 'system parameter',
|
||||||
|
variableKey: 'variableKey',
|
||||||
|
variableName: 'variableName',
|
||||||
|
variableValue: 'variableValue',
|
||||||
|
variableType: 'variableType',
|
||||||
|
description: 'description',
|
||||||
|
detail: 'detail',
|
||||||
|
add: 'Add',
|
||||||
|
edit: 'Edit',
|
||||||
|
addVariable: 'Add Variable',
|
||||||
|
editVariable: 'Edit Variable',
|
||||||
|
variableType1: 'character variable',
|
||||||
|
variableType2: 'Expression variable',
|
||||||
|
form: {
|
||||||
|
variableName: 'Please enter the variable name',
|
||||||
|
variableKey: 'Please enter the variable identifier',
|
||||||
|
variableValue: 'Please enter the variable value',
|
||||||
|
variableType: 'Please select variable type',
|
||||||
|
description: 'Please enter a description',
|
||||||
|
}
|
||||||
|
},
|
||||||
log: {
|
log: {
|
||||||
title: 'Log Detail',
|
title: 'Log Detail',
|
||||||
view: 'View Log',
|
view: 'View Log',
|
||||||
|
@ -525,6 +525,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: '在线机器',
|
title: '在线机器',
|
||||||
nodeType: '类型',
|
nodeType: '类型',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
hostId: '机器 ID',
|
hostId: '机器 ID',
|
||||||
hostIp: 'IP地址',
|
hostIp: 'IP地址',
|
||||||
hostPort: '端口',
|
hostPort: '端口',
|
||||||
@ -594,6 +595,7 @@ const local: App.I18n.Schema = {
|
|||||||
notifyConfig: {
|
notifyConfig: {
|
||||||
title: '告警通知列表',
|
title: '告警通知列表',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
businessName: '业务ID',
|
businessName: '业务ID',
|
||||||
notifyName: '通知名称',
|
notifyName: '通知名称',
|
||||||
notifyStatus: '通知状态',
|
notifyStatus: '通知状态',
|
||||||
@ -688,6 +690,7 @@ const local: App.I18n.Schema = {
|
|||||||
detail: '死信任务详情',
|
detail: '死信任务详情',
|
||||||
uniqueId: 'UniqueId',
|
uniqueId: 'UniqueId',
|
||||||
groupName: '组名',
|
groupName: '组名',
|
||||||
|
groupNameCn: '组名',
|
||||||
sceneName: '场景名称',
|
sceneName: '场景名称',
|
||||||
idempotentId: '幂等ID',
|
idempotentId: '幂等ID',
|
||||||
bizNo: '业务编号',
|
bizNo: '业务编号',
|
||||||
@ -708,6 +711,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: '重试列表',
|
title: '重试列表',
|
||||||
detail: '重试详情',
|
detail: '重试详情',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
sceneName: '场景名称',
|
sceneName: '场景名称',
|
||||||
idempotentId: '幂等ID',
|
idempotentId: '幂等ID',
|
||||||
bizNo: '业务编号',
|
bizNo: '业务编号',
|
||||||
@ -750,6 +754,7 @@ const local: App.I18n.Schema = {
|
|||||||
baseConfig: '基础配置',
|
baseConfig: '基础配置',
|
||||||
cbConfig: '回调配置',
|
cbConfig: '回调配置',
|
||||||
groupName: '组名',
|
groupName: '组名',
|
||||||
|
groupNameCn: '组名',
|
||||||
sceneName: '场景名',
|
sceneName: '场景名',
|
||||||
notifyName: '告警通知',
|
notifyName: '告警通知',
|
||||||
sceneStatus: '状态',
|
sceneStatus: '状态',
|
||||||
@ -797,6 +802,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: '重试任务列表',
|
title: '重试任务列表',
|
||||||
detail: '重试详情',
|
detail: '重试详情',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
sceneName: '场景名称',
|
sceneName: '场景名称',
|
||||||
taskStatus: '状态',
|
taskStatus: '状态',
|
||||||
taskType: '类型',
|
taskType: '类型',
|
||||||
@ -820,6 +826,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: '工作流列表',
|
title: '工作流列表',
|
||||||
workflowName: '工作流名称',
|
workflowName: '工作流名称',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
nextTriggerAt: '触发时间',
|
nextTriggerAt: '触发时间',
|
||||||
workflowStatus: '状态',
|
workflowStatus: '状态',
|
||||||
triggerType: '触发类型',
|
triggerType: '触发类型',
|
||||||
@ -838,6 +845,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: '工作流批次列表',
|
title: '工作流批次列表',
|
||||||
workflowName: '工作流名称',
|
workflowName: '工作流名称',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
executionAt: '执行时间',
|
executionAt: '执行时间',
|
||||||
taskBatchStatus: '状态',
|
taskBatchStatus: '状态',
|
||||||
operationReason: '操作原因',
|
operationReason: '操作原因',
|
||||||
@ -853,6 +861,7 @@ const local: App.I18n.Schema = {
|
|||||||
jobTask: {
|
jobTask: {
|
||||||
title: '定时任务列表',
|
title: '定时任务列表',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
ownerName: '负责人',
|
ownerName: '负责人',
|
||||||
jobName: '任务名称',
|
jobName: '任务名称',
|
||||||
argsStr: '方法参数',
|
argsStr: '方法参数',
|
||||||
@ -912,6 +921,7 @@ const local: App.I18n.Schema = {
|
|||||||
jobBatch: {
|
jobBatch: {
|
||||||
title: '任务批次列表',
|
title: '任务批次列表',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
jobName: '任务名称',
|
jobName: '任务名称',
|
||||||
taskType: '任务类型',
|
taskType: '任务类型',
|
||||||
executorInfo: '执行器名称',
|
executorInfo: '执行器名称',
|
||||||
@ -930,6 +940,7 @@ const local: App.I18n.Schema = {
|
|||||||
title: 'JobTask 列表',
|
title: 'JobTask 列表',
|
||||||
id: 'ID',
|
id: 'ID',
|
||||||
groupName: '组名称',
|
groupName: '组名称',
|
||||||
|
groupNameCn: '组名称',
|
||||||
taskStatus: '状态',
|
taskStatus: '状态',
|
||||||
clientInfo: '地址',
|
clientInfo: '地址',
|
||||||
argsStr: '参数',
|
argsStr: '参数',
|
||||||
|
16
src/typings/api.d.ts
vendored
16
src/typings/api.d.ts
vendored
@ -330,6 +330,8 @@ declare namespace Api {
|
|||||||
extAttrs: string;
|
extAttrs: string;
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称 */
|
||||||
|
groupNameCn: string;
|
||||||
/** host id */
|
/** host id */
|
||||||
hostId: string;
|
hostId: string;
|
||||||
/** host IP */
|
/** host IP */
|
||||||
@ -773,6 +775,8 @@ declare namespace Api {
|
|||||||
type Retry = Common.CommonRecord<{
|
type Retry = Common.CommonRecord<{
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称中文 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 场景名称 */
|
/** 场景名称 */
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
/** 幂等id */
|
/** 幂等id */
|
||||||
@ -932,6 +936,8 @@ declare namespace Api {
|
|||||||
workflowName: string;
|
workflowName: string;
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称中文 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 触发时间 */
|
/** 触发时间 */
|
||||||
nextTriggerAt: string;
|
nextTriggerAt: string;
|
||||||
/** 告警通知场景ids */
|
/** 告警通知场景ids */
|
||||||
@ -991,6 +997,8 @@ declare namespace Api {
|
|||||||
type Job = Common.CommonRecord<{
|
type Job = Common.CommonRecord<{
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 负责人id */
|
/** 负责人id */
|
||||||
ownerId: string;
|
ownerId: string;
|
||||||
/** 负责人名 */
|
/** 负责人名 */
|
||||||
@ -1100,6 +1108,8 @@ declare namespace Api {
|
|||||||
jobId: string;
|
jobId: string;
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称中文 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 任务名称 */
|
/** 任务名称 */
|
||||||
taskName: string;
|
taskName: string;
|
||||||
/** 地址 */
|
/** 地址 */
|
||||||
@ -1158,6 +1168,8 @@ declare namespace Api {
|
|||||||
type JobBatch = Common.CommonRecord<{
|
type JobBatch = Common.CommonRecord<{
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称中文 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 任务名称 */
|
/** 任务名称 */
|
||||||
jobName: string;
|
jobName: string;
|
||||||
/** 任务类型 */
|
/** 任务类型 */
|
||||||
@ -1214,6 +1226,8 @@ declare namespace Api {
|
|||||||
workflowId?: number;
|
workflowId?: number;
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称中文 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 执行时间 */
|
/** 执行时间 */
|
||||||
executionAt: string;
|
executionAt: string;
|
||||||
/** 状态 */
|
/** 状态 */
|
||||||
@ -1250,6 +1264,8 @@ declare namespace Api {
|
|||||||
retryId: string;
|
retryId: string;
|
||||||
/** 组名称 */
|
/** 组名称 */
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
/** 组名称中文 */
|
||||||
|
groupNameCn: string;
|
||||||
/** 场景名称 */
|
/** 场景名称 */
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
/** 重试状态 */
|
/** 重试状态 */
|
||||||
|
11
src/typings/app.d.ts
vendored
11
src/typings/app.d.ts
vendored
@ -747,6 +747,7 @@ declare namespace App {
|
|||||||
title: string;
|
title: string;
|
||||||
nodeType: string;
|
nodeType: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
hostId: string;
|
hostId: string;
|
||||||
hostIp: string;
|
hostIp: string;
|
||||||
hostPort: string;
|
hostPort: string;
|
||||||
@ -816,6 +817,7 @@ declare namespace App {
|
|||||||
notifyConfig: {
|
notifyConfig: {
|
||||||
title: string;
|
title: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
businessName: string;
|
businessName: string;
|
||||||
notifyName: string;
|
notifyName: string;
|
||||||
notifyStatus: string;
|
notifyStatus: string;
|
||||||
@ -910,6 +912,7 @@ declare namespace App {
|
|||||||
detail: string;
|
detail: string;
|
||||||
uniqueId: string;
|
uniqueId: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
idempotentId: string;
|
idempotentId: string;
|
||||||
bizNo: string;
|
bizNo: string;
|
||||||
@ -930,6 +933,7 @@ declare namespace App {
|
|||||||
title: string;
|
title: string;
|
||||||
detail: string;
|
detail: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
idempotentId: string;
|
idempotentId: string;
|
||||||
bizNo: string;
|
bizNo: string;
|
||||||
@ -972,6 +976,7 @@ declare namespace App {
|
|||||||
baseConfig: string;
|
baseConfig: string;
|
||||||
cbConfig: string;
|
cbConfig: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
notifyName: string;
|
notifyName: string;
|
||||||
sceneStatus: string;
|
sceneStatus: string;
|
||||||
@ -1019,6 +1024,7 @@ declare namespace App {
|
|||||||
title: string;
|
title: string;
|
||||||
detail: string;
|
detail: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
sceneName: string;
|
sceneName: string;
|
||||||
taskStatus: string;
|
taskStatus: string;
|
||||||
taskType: string;
|
taskType: string;
|
||||||
@ -1042,6 +1048,7 @@ declare namespace App {
|
|||||||
title: string;
|
title: string;
|
||||||
workflowName: string;
|
workflowName: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string,
|
||||||
nextTriggerAt: string;
|
nextTriggerAt: string;
|
||||||
workflowStatus: string;
|
workflowStatus: string;
|
||||||
triggerType: string;
|
triggerType: string;
|
||||||
@ -1060,6 +1067,7 @@ declare namespace App {
|
|||||||
title: string;
|
title: string;
|
||||||
workflowName: string;
|
workflowName: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
executionAt: string;
|
executionAt: string;
|
||||||
taskBatchStatus: string;
|
taskBatchStatus: string;
|
||||||
operationReason: string;
|
operationReason: string;
|
||||||
@ -1075,6 +1083,7 @@ declare namespace App {
|
|||||||
jobTask: {
|
jobTask: {
|
||||||
title: string;
|
title: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
ownerName: string;
|
ownerName: string;
|
||||||
jobName: string;
|
jobName: string;
|
||||||
argsStr: string;
|
argsStr: string;
|
||||||
@ -1134,6 +1143,7 @@ declare namespace App {
|
|||||||
jobBatch: {
|
jobBatch: {
|
||||||
title: string;
|
title: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
jobName: string;
|
jobName: string;
|
||||||
taskType: string;
|
taskType: string;
|
||||||
executorInfo: string;
|
executorInfo: string;
|
||||||
@ -1152,6 +1162,7 @@ declare namespace App {
|
|||||||
title: string;
|
title: string;
|
||||||
id: string;
|
id: string;
|
||||||
groupName: string;
|
groupName: string;
|
||||||
|
groupNameCn: string;
|
||||||
taskStatus: string;
|
taskStatus: string;
|
||||||
clientInfo: string;
|
clientInfo: string;
|
||||||
argsStr: string;
|
argsStr: string;
|
||||||
|
@ -86,8 +86,8 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.jobBatch.groupName'),
|
title: $t('page.jobBatch.groupNameCn'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120
|
width: 120
|
||||||
},
|
},
|
||||||
|
@ -71,8 +71,8 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.jobTask.groupName'),
|
title: $t('page.jobTask.groupNameCn'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 150
|
width: 150
|
||||||
},
|
},
|
||||||
@ -80,7 +80,14 @@ const { columnChecks, columns, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'executorInfo',
|
key: 'executorInfo',
|
||||||
title: $t('page.jobTask.executorInfo'),
|
title: $t('page.jobTask.executorInfo'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120
|
width: 120,
|
||||||
|
render: row => {
|
||||||
|
if (row.executorType == 1) {
|
||||||
|
return '自定义执行器:'+row.executorInfo;
|
||||||
|
}else{
|
||||||
|
return '内置执行器';
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'ownerName',
|
key: 'ownerName',
|
||||||
|
@ -118,8 +118,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120,
|
width: 120,
|
||||||
ellipsis: {
|
ellipsis: {
|
||||||
tooltip: true, // 默认悬浮显示完整内容:ml-citation{ref="1" data="citationList"}
|
tooltip: true,
|
||||||
contentStyle: { maxWidth: '110px' } // 自定义提示框宽度:ml-citation{ref="1" data="citationList"}
|
contentStyle: { maxWidth: '110px' }
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -140,7 +140,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
{namespaceId.value !== row.uniqueId! ? (
|
{namespaceId.value !== row.uniqueId! ? (
|
||||||
<>
|
<>
|
||||||
<n-divider vertical />
|
<n-divider vertical />
|
||||||
<NButton type="warning" text ghost size="small" onClick={() => handleChange(row.uniqueId!)}>
|
<NButton type="warning" text ghost size="small" onClick={() => handleChange(row.uniqueId!)} >
|
||||||
{$t('common.switch')}
|
{$t('common.switch')}
|
||||||
</NButton>
|
</NButton>
|
||||||
<n-divider vertical />
|
<n-divider vertical />
|
||||||
@ -156,7 +156,23 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
</NPopconfirm>
|
</NPopconfirm>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
''
|
<>
|
||||||
|
<n-divider vertical />
|
||||||
|
<NButton disabled type="warning" text ghost size="small" onClick={() => handleChange(row.uniqueId!)}>
|
||||||
|
{$t('common.switch')}
|
||||||
|
</NButton>
|
||||||
|
<n-divider vertical />
|
||||||
|
<NPopconfirm onPositiveClick={() => handleDelete(row.uniqueId!)}>
|
||||||
|
{{
|
||||||
|
default: () => $t('common.confirmDelete'),
|
||||||
|
trigger: () => (
|
||||||
|
<NButton disabled type="error" text ghost size="small">
|
||||||
|
{$t('common.delete')}
|
||||||
|
</NButton>
|
||||||
|
)
|
||||||
|
}}
|
||||||
|
</NPopconfirm>
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
@ -66,8 +66,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.notifyConfig.groupName'),
|
title: $t('page.notifyConfig.groupNameCn'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120
|
width: 120
|
||||||
},
|
},
|
||||||
|
@ -47,8 +47,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.pods.groupName'),
|
title: $t('page.pods.groupNameCn'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120,
|
width: 120,
|
||||||
resizable: true,
|
resizable: true,
|
||||||
|
@ -59,8 +59,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retryDeadLetter.groupName'),
|
title: $t('page.retryDeadLetter.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
|
@ -88,8 +88,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retry.groupName'),
|
title: $t('page.retry.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180
|
width: 180
|
||||||
},
|
},
|
||||||
|
@ -76,8 +76,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retryScene.groupName'),
|
title: $t('page.retryScene.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180
|
width: 180
|
||||||
},
|
},
|
||||||
|
@ -84,8 +84,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.retryTask.groupName'),
|
title: $t('page.retryTask.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
|
@ -67,8 +67,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.workflowBatch.groupName'),
|
title: $t('page.workflowBatch.groupNameCn'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
|
@ -158,8 +158,8 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'groupName',
|
key: 'groupNameCn',
|
||||||
title: $t('page.workflow.groupName'),
|
title: $t('page.workflow.groupNameCn'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
minWidth: 120
|
minWidth: 120
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user