wupengfei
2025-04-11 7e8bfcf4c74037104c37e016ffcb40faceef3ad3
src/views/Reward/RewardGrant.vue
@@ -88,6 +88,7 @@
import RewardGrantDialog from './components/RewardGrantDialog.vue';
import _ from 'lodash';
import { ModelValueType } from 'element-plus';
import { useQueryClient } from '@tanstack/vue-query';
defineOptions({
  name: 'RewardGrant',
@@ -252,7 +253,7 @@
    settleFileUrl: [] as UploadUserFile[],
  });
}
const queryClient = useQueryClient();
async function handleAddOrEdit() {
  try {
    let params: API.ParkBountyApplySettleInput = {
@@ -263,6 +264,9 @@
    if (res) {
      Message.successMessage('操作成功');
      getList(paginationState.pageIndex);
      queryClient.invalidateQueries({
        queryKey: ['parkBountyApplyServices/getGoverDataBoard'],
      });
    }
  } catch (error) {}
}