From 153404ffa0a9c6d23d2c2732b46fa6929e86294f Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 18 六月 2025 13:56:18 +0800
Subject: [PATCH] 111

---
 admin/src/filters/index.js |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/admin/src/filters/index.js b/admin/src/filters/index.js
index 77559ba..c5f193c 100644
--- a/admin/src/filters/index.js
+++ b/admin/src/filters/index.js
@@ -10,12 +10,17 @@
       }
       return '鏈煡'
     })
-    // 鍚敤绂佺敤
-    Vue.filter('disabledText', (value) => {
-      if (value) {
-        return '鍋滅敤'
-      }
-      return '鍚敤'
+    // 鏄惁鏂囨锛圷es Or No锛�
+    Vue.filter('YONText', value => {
+      return value ? '鏄�' : '鍚�'
+    })
+    // 鏄惁鍚敤鏂囨
+    Vue.filter('enableText', value => {
+      return value ? '鍚敤' : '绂佺敤'
+    })
+    // 鏄惁绂佺敤鏂囨
+    Vue.filter('disabledText', value => {
+      return value ? '绂佺敤' : '鍚敤'
     })
     Vue.filter('disabledText1', (value) => {
       if (value) {

--
Gitblit v1.9.3