|  |  |  | 
|---|
|  |  |  | <script setup lang="ts"> | 
|---|
|  |  |  | import { AppContainer, useTable, ProTableV2 } from '@bole-core/components'; | 
|---|
|  |  |  | import { OrderInputType } from '@bole-core/core'; | 
|---|
|  |  |  | // import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; | 
|---|
|  |  |  | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; | 
|---|
|  |  |  | import { useUser } from '@/hooks'; | 
|---|
|  |  |  | // import { TransferToStatusEnumText } from '@/constants'; | 
|---|
|  |  |  | import { TransferToStatusEnumText } from '@/constants'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | defineOptions({ | 
|---|
|  |  |  | name: 'RewardGrantRecordView', | 
|---|
|  |  |  | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const route = useRoute(); | 
|---|
|  |  |  | const router = useRouter(); | 
|---|
|  |  |  | const id = route.params.id as string; | 
|---|
|  |  |  | const BaseState = { | 
|---|
|  |  |  | loading: true, | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const state = reactive({ ...BaseState }); | 
|---|
|  |  |  | // const { userDetail } = useUser(); | 
|---|
|  |  |  | const { userDetail } = useUser(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { | 
|---|
|  |  |  | getDataSource: getList, | 
|---|
|  |  |  | 
|---|
|  |  |  | page: pageIndex, | 
|---|
|  |  |  | orderInput: extraParamState.orderInput, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // id: userDetail.value?.userId ?? '', | 
|---|
|  |  |  | id: userDetail.value?.userId ?? '', | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | let res = await parkBountyApplyServices.getParkCustomerBountySettleList(params, { | 
|---|
|  |  |  | showLoading: !state.loading, | 
|---|
|  |  |  | 
|---|
|  |  |  | orderInput: [{ property: 'settleTime', order: OrderInputType.Desc }], | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | columnsRenderProps: { | 
|---|
|  |  |  | // transferToStatus: { type: 'enum', valueEnum: TransferToStatusEnumText }, | 
|---|
|  |  |  | transferToStatus: { type: 'enum', valueEnum: TransferToStatusEnumText }, | 
|---|
|  |  |  | transferToTime: { type: 'date', format: 'YYYY-MM-DD' }, | 
|---|
|  |  |  | applyMonth: { type: 'date', format: 'YYYY年MM月' }, | 
|---|
|  |  |  | transferToAmount: { type: 'money' }, | 
|---|