From ac2ca1c55728096667ceb9713e06995a4dfdf0fc Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 03 十一月 2025 18:01:49 +0800
Subject: [PATCH] fix: 四流
---
src/views/StatisticalReport/RewardStatistics.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/StatisticalReport/RewardStatistics.vue b/src/views/StatisticalReport/RewardStatistics.vue
index 8d22efb..c7e00e7 100644
--- a/src/views/StatisticalReport/RewardStatistics.vue
+++ b/src/views/StatisticalReport/RewardStatistics.vue
@@ -22,8 +22,8 @@
<template #query>
<QueryFilterItem tip-content="鐢虫姤鏈堜唤">
<FieldDatePicker
- v-model="extraParamState.month"
- type="month"
+ v-model="extraParamState.months"
+ type="months"
clearable
placeholder="璇烽�夋嫨鐢虫姤鏈堜唤"
format="YYYY-MM"
@@ -124,7 +124,7 @@
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';
@@ -285,7 +285,11 @@
} = useTable(
async ({ pageIndex, pageSize }, extraParamState) => {
try {
- if (!extraParamState.month) {
+ // if (!extraParamState.month) {
+ // Message.errorMessage('璇烽�夋嫨鏈堜唤');
+ // return;
+ // }
+ if (!extraParamState.months.length) {
Message.errorMessage('璇烽�夋嫨鏈堜唤');
return;
}
@@ -301,7 +305,8 @@
},
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,
@@ -314,6 +319,7 @@
keywords: '',
industrialParkId: '',
month: '',
+ months: [] as string[],
orderInput: [{ property: 'enterpriseId', order: OrderInputType.Desc }],
},
columnsRenderProps: {
--
Gitblit v1.9.1