| | |
| | | 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); |
| | |
| | | |
| | | const bountyUseAmountRankList = computed(() => |
| | | detail.value.items?.map((x) => ({ |
| | | name: x.enterpriseName, |
| | | name: StringUtils.maskString({ str: x.enterpriseName }), |
| | | value: x.amount, |
| | | })) |
| | | ); |
| | |
| | | |
| | | const dataBoardOutputValueRankList = computed(() => |
| | | detail.value.items?.map((x) => ({ |
| | | name: x.enterpriseName, |
| | | name: StringUtils.maskString({ str: x.enterpriseName }), |
| | | value: x.outputValue, |
| | | })) |
| | | ); |
| | |
| | | |
| | | const enterpriseClientUserRankList = computed(() => |
| | | detail.value.items?.map((x) => ({ |
| | | name: x.enterpriseName, |
| | | name: StringUtils.maskString({ str: x.enterpriseName }), |
| | | value: x.count, |
| | | })) |
| | | ); |