创建中英双语对照

This commit is contained in:
2026-03-17 10:49:13 +08:00
parent 861d5c49b3
commit 4a7397ce04
51 changed files with 906 additions and 443 deletions

View File

@@ -12,7 +12,7 @@
<template #icon>
<ArtSvgIcon icon="ri:add-fill" />
</template>
新增
{{ $t('table.actions.add') }}
</ElButton>
</ElSpace>
</template>
@@ -115,20 +115,20 @@
core: {
apiFn: api.list,
columnsFactory: () => [
{ prop: 'id', label: '编号', width: 100, align: 'center' },
{ prop: 'name', label: '任务名称', minWidth: 120 },
{ prop: 'id', label: 'table.columns.common.no', width: 100, align: 'center' },
{ prop: 'name', label: 'table.columns.tool.taskName', minWidth: 120 },
{
prop: 'type',
label: '任务类型',
label: 'table.columns.tool.taskType',
saiType: 'dict',
saiDict: 'crontab_task_type',
minWidth: 120
},
{ prop: 'rule', label: '定时规则', minWidth: 140 },
{ prop: 'target', label: '调用目标', minWidth: 200, showOverflowTooltip: true },
{ prop: 'status', label: '状态', saiType: 'dict', saiDict: 'data_status', width: 100 },
{ prop: 'update_time', label: '更新日期', width: 180, sortable: true },
{ prop: 'operation', label: '操作', width: 180, fixed: 'right', useSlot: true }
{ prop: 'rule', label: 'table.columns.tool.rule', minWidth: 140 },
{ prop: 'target', label: 'table.columns.safeguard.target', minWidth: 200, showOverflowTooltip: true },
{ prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status', width: 100 },
{ prop: 'update_time', label: 'table.columns.tool.updateDate', width: 180, sortable: true },
{ prop: 'operation', label: 'table.actions.operation', width: 180, fixed: 'right', useSlot: true }
]
}
})