From 50e95b985a72fcec4a93a2470e9efdfb2620148a Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 02 四月 2026 15:46:09 +0800
Subject: [PATCH] #i18n
---
rsf-design/src/views/basic-info/loc-area-rela/locAreaRelaTable.columns.js | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/rsf-design/src/views/basic-info/loc-area-rela/locAreaRelaTable.columns.js b/rsf-design/src/views/basic-info/loc-area-rela/locAreaRelaTable.columns.js
index e222e09..c2982e2 100644
--- a/rsf-design/src/views/basic-info/loc-area-rela/locAreaRelaTable.columns.js
+++ b/rsf-design/src/views/basic-info/loc-area-rela/locAreaRelaTable.columns.js
@@ -1,4 +1,5 @@
import { h } from 'vue'
+import { $t } from '@/locales'
import { ElTag } from 'element-plus'
import ArtButtonMore from '@/components/core/forms/art-button-more/index.vue'
import { getLocAreaRelaStatusMeta } from './locAreaRelaPage.helpers'
@@ -10,16 +11,16 @@
canEdit = true,
canDelete = true
} = {}) {
- const operations = [{ key: 'view', label: '璇︽儏', icon: 'ri:eye-line' }]
+ const operations = [{ key: 'view', label: $t('common.actions.detail'), icon: 'ri:eye-line' }]
if (canEdit && handleEdit) {
- operations.push({ key: 'edit', label: '缂栬緫', icon: 'ri:pencil-line' })
+ operations.push({ key: 'edit', label: $t('common.actions.edit'), icon: 'ri:pencil-line' })
}
if (canDelete && handleDelete) {
operations.push({
key: 'delete',
- label: '鍒犻櫎',
+ label: $t('common.actions.delete'),
icon: 'ri:delete-bin-5-line',
color: 'var(--art-error)'
})
@@ -33,27 +34,27 @@
},
{
type: 'globalIndex',
- label: '搴忓彿',
+ label: $t('table.index'),
width: 72,
align: 'center'
},
{
prop: 'locAreaIdText',
- label: '鍒嗗尯ID',
+ label: $t('pages.basicInfo.locAreaRela.table.locAreaId'),
minWidth: 140,
showOverflowTooltip: true,
formatter: (row) => row.locAreaIdText || row.locAreaId || '--'
},
{
prop: 'locIdText',
- label: '搴撲綅ID',
+ label: $t('pages.basicInfo.locAreaRela.table.locId'),
minWidth: 140,
showOverflowTooltip: true,
formatter: (row) => row.locIdText || row.locId || '--'
},
{
prop: 'status',
- label: '鐘舵��',
+ label: $t('table.status'),
width: 96,
align: 'center',
formatter: (row) => {
@@ -63,42 +64,42 @@
},
{
prop: 'memo',
- label: '澶囨敞',
+ label: $t('table.memo'),
minWidth: 180,
showOverflowTooltip: true,
formatter: (row) => row.memo || '--'
},
{
prop: 'createByText',
- label: '鍒涘缓浜�',
+ label: $t('table.createBy'),
minWidth: 120,
showOverflowTooltip: true,
formatter: (row) => row.createByText || '--'
},
{
prop: 'createTimeText',
- label: '鍒涘缓鏃堕棿',
+ label: $t('table.createTime'),
minWidth: 170,
showOverflowTooltip: true,
formatter: (row) => row.createTimeText || '--'
},
{
prop: 'updateByText',
- label: '鏇存柊浜�',
+ label: $t('table.updateBy'),
minWidth: 120,
showOverflowTooltip: true,
formatter: (row) => row.updateByText || '--'
},
{
prop: 'updateTimeText',
- label: '鏇存柊鏃堕棿',
+ label: $t('table.updateTime'),
minWidth: 170,
showOverflowTooltip: true,
formatter: (row) => row.updateTimeText || '--'
},
{
prop: 'operation',
- label: '鎿嶄綔',
+ label: $t('table.operation'),
width: 120,
align: 'center',
fixed: 'right',
--
Gitblit v1.9.1