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-mat-rela/locAreaMatRelaTable.columns.js | 35 ++++++++++++++++++-----------------
1 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/rsf-design/src/views/basic-info/loc-area-mat-rela/locAreaMatRelaTable.columns.js b/rsf-design/src/views/basic-info/loc-area-mat-rela/locAreaMatRelaTable.columns.js
index 6929fc1..e9c6180 100644
--- a/rsf-design/src/views/basic-info/loc-area-mat-rela/locAreaMatRelaTable.columns.js
+++ b/rsf-design/src/views/basic-info/loc-area-mat-rela/locAreaMatRelaTable.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 { getLocAreaMatRelaStatusMeta } from './locAreaMatRelaPage.helpers'
@@ -10,14 +11,14 @@
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: '鍒犻櫎', icon: 'ri:delete-bin-5-line', color: 'var(--art-error)' })
+ operations.push({ key: 'delete', label: $t('common.actions.delete'), icon: 'ri:delete-bin-5-line', color: 'var(--art-error)' })
}
return [
@@ -28,69 +29,69 @@
},
{
type: 'globalIndex',
- label: '搴忓彿',
+ label: $t('table.index'),
width: 72,
align: 'center'
},
{
prop: 'areaMatIdText',
- label: '涓诲崟',
+ label: $t('pages.basicInfo.locAreaMatRela.table.areaMatId'),
minWidth: 200,
showOverflowTooltip: true,
formatter: (row) => row.areaMatIdText || row.areaMatId || '--'
},
{
prop: 'areaIdText',
- label: '搴撳尯',
+ label: $t('pages.basicInfo.locAreaMatRela.table.areaId'),
minWidth: 160,
showOverflowTooltip: true,
formatter: (row) => row.areaIdText || '--'
},
{
prop: 'code',
- label: '缂栧彿',
+ label: $t('pages.basicInfo.locAreaMatRela.table.code'),
minWidth: 150,
showOverflowTooltip: true,
formatter: (row) => row.code || '--'
},
{
prop: 'matnrIdText',
- label: '鐗╂枡',
+ label: $t('pages.basicInfo.locAreaMatRela.table.matnrId'),
minWidth: 160,
showOverflowTooltip: true,
formatter: (row) => row.matnrIdText || '--'
},
{
prop: 'groupIdText',
- label: '鐗╂枡鍒嗙粍',
+ label: $t('pages.basicInfo.locAreaMatRela.table.groupId'),
minWidth: 160,
showOverflowTooltip: true,
formatter: (row) => row.groupIdText || '--'
},
{
prop: 'locTypeIdText',
- label: '搴撲綅绫诲瀷',
+ label: $t('pages.basicInfo.locAreaMatRela.table.locTypeId'),
minWidth: 160,
showOverflowTooltip: true,
formatter: (row) => row.locTypeIdText || '--'
},
{
prop: 'locIdText',
- label: '搴撲綅',
+ label: $t('pages.basicInfo.locAreaMatRela.table.locId'),
minWidth: 160,
showOverflowTooltip: true,
formatter: (row) => row.locIdText || '--'
},
{
prop: 'relationTypeText',
- label: '鍏崇郴绫诲瀷',
+ label: $t('pages.basicInfo.locAreaMatRela.table.relationType'),
width: 110,
align: 'center',
formatter: (row) => row.relationTypeText || '--'
},
{
prop: 'status',
- label: '鐘舵��',
+ label: $t('table.status'),
width: 96,
align: 'center',
formatter: (row) => {
@@ -100,28 +101,28 @@
},
{
prop: 'memo',
- label: '澶囨敞',
+ label: $t('table.memo'),
minWidth: 180,
showOverflowTooltip: true,
formatter: (row) => row.memo || '--'
},
{
prop: 'createTimeText',
- label: '鍒涘缓鏃堕棿',
+ label: $t('table.createTime'),
minWidth: 170,
showOverflowTooltip: true,
formatter: (row) => row.createTimeText || '--'
},
{
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