zhengyiming
1 天以前 a441299ebbfca9567ced69f669f68569b6f7ca0c
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,
    }))
  );