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/device-bind/deviceBindTable.columns.js |   37 +++++++++++++++++++------------------
 1 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/rsf-design/src/views/basic-info/device-bind/deviceBindTable.columns.js b/rsf-design/src/views/basic-info/device-bind/deviceBindTable.columns.js
index 5ffea55..6c7a1f6 100644
--- a/rsf-design/src/views/basic-info/device-bind/deviceBindTable.columns.js
+++ b/rsf-design/src/views/basic-info/device-bind/deviceBindTable.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 { getDeviceBindFlagMeta } from './deviceBindPage.helpers'
@@ -11,71 +12,71 @@
   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 [
     { type: 'selection', width: 48, align: 'center' },
-    { type: 'globalIndex', label: '搴忓彿', width: 72, align: 'center' },
+    { type: 'globalIndex', label: $t('table.index'), width: 72, align: 'center' },
     {
       prop: 'currentRow',
-      label: '褰撳墠鎺掑彿',
+      label: $t('pages.basicInfo.deviceBind.table.currentRow'),
       width: 100,
       align: 'center',
       formatter: (row) => row.currentRow ?? '--'
     },
     {
       prop: 'startRow',
-      label: '璧峰鎺掑彿',
+      label: $t('pages.basicInfo.deviceBind.table.startRow'),
       width: 100,
       align: 'center',
       formatter: (row) => row.startRow ?? '--'
     },
     {
       prop: 'endRow',
-      label: '缁堟鎺掑彿',
+      label: $t('pages.basicInfo.deviceBind.table.endRow'),
       width: 100,
       align: 'center',
       formatter: (row) => row.endRow ?? '--'
     },
     {
       prop: 'deviceQty',
-      label: '璁惧鏁伴噺',
+      label: $t('pages.basicInfo.deviceBind.table.deviceQty'),
       width: 100,
       align: 'center',
       formatter: (row) => row.deviceQty ?? '--'
     },
     {
       prop: 'startDeviceNo',
-      label: '璧峰璁惧鍙�',
+      label: $t('pages.basicInfo.deviceBind.table.startDeviceNo'),
       width: 110,
       align: 'center',
       formatter: (row) => row.startDeviceNo ?? '--'
     },
     {
       prop: 'endDeviceNo',
-      label: '缁堟璁惧鍙�',
+      label: $t('pages.basicInfo.deviceBind.table.endDeviceNo'),
       width: 110,
       align: 'center',
       formatter: (row) => row.endDeviceNo ?? '--'
     },
     {
       prop: 'staList',
-      label: '绔欑偣鍒楄〃',
+      label: $t('pages.basicInfo.deviceBind.table.staList'),
       minWidth: 180,
       showOverflowTooltip: true,
       formatter: (row) => row.staList || '--'
     },
     {
       prop: 'typeIdText',
-      label: '搴撳尯绫诲瀷',
+      label: $t('pages.basicInfo.deviceBind.table.typeId'),
       minWidth: 150,
       showOverflowTooltip: true,
       formatter: (row) =>
@@ -83,7 +84,7 @@
     },
     {
       prop: 'beSimilar',
-      label: '鐗╂枡鐩镐技',
+      label: $t('pages.basicInfo.deviceBind.table.beSimilar'),
       width: 100,
       align: 'center',
       formatter: (row) => {
@@ -93,7 +94,7 @@
     },
     {
       prop: 'emptySimilar',
-      label: '绌烘澘闈犺繎',
+      label: $t('pages.basicInfo.deviceBind.table.emptySimilar'),
       width: 100,
       align: 'center',
       formatter: (row) => {
@@ -103,28 +104,28 @@
     },
     {
       prop: 'memo',
-      label: '澶囨敞',
+      label: $t('table.memo'),
       minWidth: 180,
       showOverflowTooltip: true,
       formatter: (row) => row.memo || '--'
     },
     {
       prop: 'updateTimeText',
-      label: '鏇存柊鏃堕棿',
+      label: $t('table.updateTime'),
       minWidth: 170,
       showOverflowTooltip: true,
       formatter: (row) => row.updateTimeText || '--'
     },
     {
       prop: 'createTimeText',
-      label: '鍒涘缓鏃堕棿',
+      label: $t('table.createTime'),
       minWidth: 170,
       showOverflowTooltip: true,
       formatter: (row) => row.createTimeText || '--'
     },
     {
       prop: 'operation',
-      label: '鎿嶄綔',
+      label: $t('table.operation'),
       width: 120,
       align: 'center',
       fixed: 'right',

--
Gitblit v1.9.1