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/manager/menu-pda/menuPdaTable.columns.js | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/rsf-design/src/views/manager/menu-pda/menuPdaTable.columns.js b/rsf-design/src/views/manager/menu-pda/menuPdaTable.columns.js
index 3f53904..3f386b3 100644
--- a/rsf-design/src/views/manager/menu-pda/menuPdaTable.columns.js
+++ b/rsf-design/src/views/manager/menu-pda/menuPdaTable.columns.js
@@ -1,4 +1,5 @@
import { h } from 'vue'
+import { $t } from '@/locales'
import { ElTag } from 'element-plus'
import ArtSvgIcon from '@/components/core/base/art-svg-icon/index.vue'
import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
@@ -14,13 +15,13 @@
return [
{
prop: 'name',
- label: '鑿滃崟鍚嶇О',
+ label: $t('pages.manager.menuPda.table.name'),
minWidth: 180,
formatter: (row) => getMenuPdaDisplayTitle(row)
},
{
prop: 'icon',
- label: '鍥炬爣棰勮',
+ label: $t('pages.manager.menuPda.table.iconPreview'),
width: 96,
align: 'center',
formatter: (row) => {
@@ -38,31 +39,31 @@
},
{
prop: 'type',
- label: '鑿滃崟绫诲瀷',
+ label: $t('pages.manager.menuPda.table.menuType'),
width: 110,
formatter: (row) =>
h(ElTag, { type: getMenuPdaTypeTag(row), effect: 'light' }, () => getMenuPdaTypeText(row))
},
{
prop: 'route',
- label: '璺敱',
+ label: $t('table.route'),
minWidth: 180,
formatter: (row) => row.route || ''
},
{
prop: 'authority',
- label: '鏉冮檺鏍囪瘑',
+ label: $t('table.authority'),
minWidth: 180,
formatter: (row) => row.authority || '-'
},
{
prop: 'sort',
- label: '鎺掑簭',
+ label: $t('table.sort'),
width: 90
},
{
prop: 'status',
- label: '鐘舵��',
+ label: $t('table.status'),
width: 100,
formatter: (row) => {
const statusMeta = getMenuPdaStatusMeta(row.status)
@@ -71,14 +72,14 @@
},
{
prop: 'memo',
- label: '澶囨敞',
+ label: $t('table.memo'),
minWidth: 180,
showOverflowTooltip: true,
formatter: (row) => row.memo || '-'
},
{
prop: 'operation',
- label: '鎿嶄綔',
+ label: $t('table.operation'),
width: 120,
align: 'right',
formatter: (row) =>
--
Gitblit v1.9.1