From a441299ebbfca9567ced69f669f68569b6f7ca0c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 12 十二月 2025 09:31:42 +0800
Subject: [PATCH] fix: 修改数据看板
---
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.9.1