zhengyiming
6 天以前 842c13d6270d900456244f8469eba55a14607341
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<template>
  <LoadingLayout :loading="isLoading">
    <AppScrollContainer>
      <ChunkCell title="付款方信息"> </ChunkCell>
      <ChunkCell title="收款方信息"> </ChunkCell>
      <ChunkCell title="转账信息"> </ChunkCell>
    </AppScrollContainer>
  </LoadingLayout>
</template>
<script setup lang="ts">
import { LoadingLayout, AppScrollContainer, ChunkCell } from '@bole-core/components';
import { useQuery } from '@tanstack/vue-query';
 
defineOptions({
  name: 'ServiceChargeSettle',
});
 
const route = useRoute();
const id = (route.params.id as string) ?? '';
 
const state = reactive({
  loading: true,
});
 
const { isLoading } = useQuery({
  queryKey: ['flexTaskServices/getFlexTaskDetail', id],
  queryFn: async () => {
    return await flexTaskServices.getFlexTaskDetail(
      { id: id },
      {
        showLoading: false,
      }
    );
  },
  onSuccess(data) {},
  enabled: !!id,
});
 
onMounted(() => {});
</script>
 
<style lang="scss" scoped>
@use '@/style/common.scss' as *;
</style>