| | |
| | | import RewardGrantDialog from './components/RewardGrantDialog.vue'; |
| | | import _ from 'lodash'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import { useQueryClient } from '@tanstack/vue-query'; |
| | | |
| | | defineOptions({ |
| | | name: 'RewardGrant', |
| | |
| | | settleFileUrl: [] as UploadUserFile[], |
| | | }); |
| | | } |
| | | |
| | | const queryClient = useQueryClient(); |
| | | async function handleAddOrEdit() { |
| | | try { |
| | | let params: API.ParkBountyApplySettleInput = { |
| | |
| | | if (res) { |
| | | Message.successMessage('操作成功'); |
| | | getList(paginationState.pageIndex); |
| | | queryClient.invalidateQueries({ |
| | | queryKey: ['parkBountyApplyServices/getGoverDataBoard'], |
| | | }); |
| | | } |
| | | } catch (error) {} |
| | | } |