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/system/config/configTable.columns.js |   29 ++++++++++++++++-------------
 1 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/rsf-design/src/views/system/config/configTable.columns.js b/rsf-design/src/views/system/config/configTable.columns.js
index f61a9e4..aef347a 100644
--- a/rsf-design/src/views/system/config/configTable.columns.js
+++ b/rsf-design/src/views/system/config/configTable.columns.js
@@ -2,54 +2,57 @@
 import { ElTag } from 'element-plus'
 import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
 
-export function createConfigTableColumns({ handleView, handleEdit, handleDelete }) {
+export function createConfigTableColumns({ t, handleView, handleEdit, handleDelete }) {
   return [
     {
       prop: 'uuid',
-      label: '缂栧彿',
+      label: t('table.code'),
       minWidth: 140,
       showOverflowTooltip: true
     },
     {
       prop: 'name',
-      label: '鍚嶇О',
+      label: t('table.name'),
       minWidth: 180,
       showOverflowTooltip: true
     },
     {
       prop: 'flag',
-      label: '鏍囪瘑',
+      label: t('pages.system.config.table.flag'),
       minWidth: 180,
       showOverflowTooltip: true
     },
     {
       prop: 'typeText',
-      label: '绫诲瀷',
+      label: t('pages.system.config.table.type'),
       width: 110,
-      formatter: (row) => row.typeText || '-'
+      formatter: (row) => t(row.typeTextKey || 'common.placeholder.empty')
     },
     {
       prop: 'val',
-      label: '鍊�',
+      label: t('pages.system.config.table.value'),
       minWidth: 180,
       showOverflowTooltip: true,
-      formatter: (row) => row.val || '-'
+      formatter: (row) => row.val || t('common.placeholder.empty')
     },
     {
       prop: 'status',
-      label: '鐘舵��',
+      label: t('table.status'),
       width: 100,
-      formatter: (row) => h(ElTag, { type: row.statusType, effect: 'light' }, () => row.statusText || '-')
+      formatter: (row) =>
+        h(ElTag, { type: row.statusType, effect: 'light' }, () =>
+          t(row.statusTextKey || 'common.placeholder.empty')
+        )
     },
     {
       prop: 'updateTimeText',
-      label: '鏇存柊鏃堕棿',
+      label: t('table.updateTime'),
       minWidth: 180,
-      formatter: (row) => row.updateTimeText || '-'
+      formatter: (row) => row.updateTimeText || t('common.placeholder.empty')
     },
     {
       prop: 'operation',
-      label: '鎿嶄綔',
+      label: t('table.operation'),
       width: handleDelete ? 160 : 120,
       align: 'right',
       formatter: (row) => {

--
Gitblit v1.9.1