| | |
| | | <template #query> |
| | | <QueryFilterItem tip-content="申报月份"> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.month" |
| | | type="month" |
| | | v-model="extraParamState.months" |
| | | type="months" |
| | | clearable |
| | | placeholder="请选择申报月份" |
| | | format="YYYY-MM" |
| | |
| | | import { useAccess, useIndustrialParkDropDownList } from '@/hooks'; |
| | | import { downloadFile, Message, OrderInputType } from '@bole-core/core'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { toThousand } from '@/utils'; |
| | | import { format, toThousand } from '@/utils'; |
| | | import _ from 'lodash'; |
| | | import FinancialAllocationDetailDialog from './components/FinancialAllocationDetailDialog.vue'; |
| | | import PlatformDisbursementDetailDialog from './components/PlatformDisbursementDetailDialog.vue'; |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | if (!extraParamState.month) { |
| | | // if (!extraParamState.month) { |
| | | // Message.errorMessage('请选择月份'); |
| | | // return; |
| | | // } |
| | | if (!extraParamState.months.length) { |
| | | Message.errorMessage('请选择月份'); |
| | | return; |
| | | } |
| | |
| | | }, |
| | | keywords: extraParamState.keywords, |
| | | industrialParkId: extraParamState.industrialParkId, |
| | | month: extraParamState.month, |
| | | // month: extraParamState.month, |
| | | months: extraParamState.months.map((x) => format(x as any, 'YYYY-MM')), |
| | | }; |
| | | let res = await parkBountyApplyServices.getRewardStatistics(params, { |
| | | showLoading: !state.loading, |
| | |
| | | keywords: '', |
| | | industrialParkId: '', |
| | | month: '', |
| | | months: [] as string[], |
| | | orderInput: [{ property: 'enterpriseId', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |