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/dict-type/dictTypePage.helpers.js |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/rsf-design/src/views/system/dict-type/dictTypePage.helpers.js b/rsf-design/src/views/system/dict-type/dictTypePage.helpers.js
index a141bdc..752260e 100644
--- a/rsf-design/src/views/system/dict-type/dictTypePage.helpers.js
+++ b/rsf-design/src/views/system/dict-type/dictTypePage.helpers.js
@@ -1,3 +1,5 @@
+import { $t } from '@/locales'
+
 export function createDictTypeSearchState() {
   return {
     condition: '',
@@ -25,10 +27,10 @@
   }
 }
 
-export function getDictTypeStatusMeta(status) {
+export function getDictTypeStatusMeta(status, t = $t) {
   return Number(status) === 1
-    ? { text: '姝e父', type: 'success', bool: true }
-    : { text: '鍐荤粨', type: 'danger', bool: false }
+    ? { text: t('common.status.normal'), type: 'success', bool: true }
+    : { text: t('common.status.frozen'), type: 'danger', bool: false }
 }
 
 export function buildDictTypeSearchParams(params = {}) {
@@ -73,8 +75,8 @@
   }
 }
 
-export function normalizeDictTypeListRow(record = {}) {
-  const statusMeta = getDictTypeStatusMeta(record.status)
+export function normalizeDictTypeListRow(record = {}, t = $t) {
+  const statusMeta = getDictTypeStatusMeta(record.status, t)
   return {
     ...record,
     code: record.code || '',

--
Gitblit v1.9.1