所有页面-创建中英双语对照-优化翻译文档结构

This commit is contained in:
2026-03-17 11:42:16 +08:00
parent 4a7397ce04
commit c790f74905
110 changed files with 1729 additions and 421 deletions

View File

@@ -129,10 +129,10 @@
apiFn: api.list,
columnsFactory: () => [
{ type: 'selection' },
{ prop: 'name', label: 'table.columns.system.menuName', minWidth: 150 },
{ prop: 'name', label: 'page.table.menuName', minWidth: 150 },
{
prop: 'type',
label: 'table.columns.system.menuType',
label: 'page.table.menuType',
align: 'center',
saiType: 'dict',
saiDict: 'menu_type',
@@ -140,17 +140,17 @@
},
{
prop: 'icon',
label: 'table.columns.system.icon',
label: 'page.table.icon',
align: 'center',
width: 80,
formatter: (row: any) => {
return h(ArtSvgIcon, { icon: row.icon })
}
},
{ prop: 'code', label: 'table.columns.system.component' },
{ prop: 'code', label: 'page.table.component' },
{
prop: 'path',
label: 'table.columns.system.route',
label: 'page.table.route',
formatter: (row: any) => {
if (row.type === 3) return ''
return row.path || ''
@@ -158,7 +158,7 @@
},
{
prop: 'slug',
label: 'table.columns.system.auth',
label: 'page.table.auth',
minWidth: 160,
formatter: (row: any) => {
if (row.type === 2) {
@@ -170,8 +170,8 @@
return ''
}
},
{ prop: 'sort', label: 'table.columns.common.sort', width: 100 },
{ prop: 'status', label: 'table.columns.common.status', saiType: 'dict', saiDict: 'data_status', width: 100 },
{ prop: 'sort', label: 'page.table.sort', width: 100 },
{ prop: 'status', label: 'page.table.status', saiType: 'dict', saiDict: 'data_status', width: 100 },
{ prop: 'operation', label: 'table.actions.operation', width: 140, fixed: 'right', useSlot: true }
]
}