From 329df2aed8f35d6caa0dcdd6b9fd9496beebd90a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 30 十二月 2025 16:13:58 +0800
Subject: [PATCH] fix: nongye

---
 src/views/DataBoard/hooks/index.ts |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/DataBoard/hooks/index.ts b/src/views/DataBoard/hooks/index.ts
index cd5ed35..cd7cb22 100644
--- a/src/views/DataBoard/hooks/index.ts
+++ b/src/views/DataBoard/hooks/index.ts
@@ -1,6 +1,7 @@
 import { useQuery } from '@tanstack/vue-query';
 import { useIntervalFn } from '@vueuse/core';
 import * as dataBoardServices from '@/services/api/DataBoard';
+import { StringUtils } from '@/utils';
 
 export function useIntervalValue<T>(initValue: T) {
   const value = ref(initValue);
@@ -157,7 +158,7 @@
 
   const bountyUseAmountRankList = computed(() =>
     detail.value.items?.map((x) => ({
-      name: x.enterpriseName,
+      name: StringUtils.maskString({ str: x.enterpriseName }),
       value: x.amount,
     }))
   );
@@ -291,7 +292,7 @@
 
   const dataBoardOutputValueRankList = computed(() =>
     detail.value.items?.map((x) => ({
-      name: x.enterpriseName,
+      name: StringUtils.maskString({ str: x.enterpriseName }),
       value: x.outputValue,
     }))
   );
@@ -320,7 +321,7 @@
 
   const enterpriseClientUserRankList = computed(() =>
     detail.value.items?.map((x) => ({
-      name: x.enterpriseName,
+      name: StringUtils.maskString({ str: x.enterpriseName }),
       value: x.count,
     }))
   );

--
Gitblit v1.10.0