| | |
| | | */ |
| | | isSelf?: boolean; |
| | | onSuccess?: (data: API.GetTypeSearchSettingList[]) => any; |
| | | /**不传查全部,true查显示的 */ |
| | | status?: boolean; |
| | | }; |
| | | |
| | | export function useSearchSettingType({ |
| | |
| | | belongType = null, |
| | | onSuccess, |
| | | isSelf, |
| | | status = true, |
| | | }: UseSearchSettingTypeOptions) { |
| | | const { data, refetch } = useQuery({ |
| | | queryKey: [ |
| | | 'searchSettingServices/getTypeSearchSettingList', |
| | | { searchType, belongType, isSelf }, |
| | | { searchType, belongType, isSelf, status }, |
| | | ], |
| | | queryFn: async () => { |
| | | return await searchSettingServices.getTypeSearchSettingList( |
| | | { |
| | | searchType: searchType, |
| | | belongType: belongType, |
| | | status, |
| | | }, |
| | | { showLoading: false } |
| | | ); |
| | |
| | | return await queryClient.ensureQueryData({ |
| | | queryKey: [ |
| | | 'searchSettingServices/getTypeSearchSettingList', |
| | | { searchType: searchType, belongType: belongType }, |
| | | { searchType: searchType, belongType: belongType, status }, |
| | | ], |
| | | }); |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 发放记录 POST /api/ParkBountyApply/GetParkCustomerBountyGrantList */ |
| | | export async function getParkCustomerBountyGrantList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerBountyGrantOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkCustomerBountyGrantList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 运营端一园区客户管理详情一奖励金发放记录 POST /api/ParkBountyApply/GetParkCustomerBountySettleList */ |
| | | export async function getParkCustomerBountySettleList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取平台开票信息 GET /api/User/GetPlatInvoiceAccount */ |
| | | export async function getPlatInvoiceAccount(options?: API.RequestConfig) { |
| | | return request<API.GetPlatInvoiceAccountOutput>('/api/User/GetPlatInvoiceAccount', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取平台用户详情 GET /api/User/GetPlatUserAttestationInfo */ |
| | | export async function getPlatUserAttestationInfo( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | keyWord?: string; |
| | | beginDateTime?: string; |
| | | endDateTime?: string; |
| | | enterpriseId?: string; |
| | | checkStatus?: EnterpriseRechargeStatusEnum; |
| | | } |
| | | |
| | |
| | | data?: GetParkCustomerBountyFinanceOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyGrantOutput { |
| | | id?: string; |
| | | /** 申请批次号 */ |
| | | batchNo?: string; |
| | | /** 申报月份 */ |
| | | applyMonth?: string; |
| | | /** 申报总额 */ |
| | | applySumAmount?: number; |
| | | /** 平台充值入账时间 */ |
| | | transferToTime?: string; |
| | | transferToStatus?: TransferToStatusEnum; |
| | | /** 平台充值金额 */ |
| | | transferToAmount?: number; |
| | | /** 平台充值入账凭证 */ |
| | | transferToFileUrl?: string; |
| | | /** 财政拨付金额 */ |
| | | financeToAmount?: number; |
| | | /** 财政拨付入账时间 */ |
| | | financeToTime?: string; |
| | | /** 财政拨付发放日期 */ |
| | | financeTime?: string; |
| | | /** 平台充值发放日期 */ |
| | | settleTime?: string; |
| | | financeToStatus?: FinanceStatusEnum; |
| | | /** 拨付入账凭证 */ |
| | | financeToFileUrl?: string; |
| | | inCheckStatus?: BountyCheckStatusEnum; |
| | | outCheckStatus?: BountyCheckStatusEnum; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyGrantOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerBountyGrantOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerBountySettleOutput { |
| | | id?: string; |
| | | /** 申请批次号 */ |
| | |
| | | applyCount?: number; |
| | | /** 最近申报 */ |
| | | lastApplyTime?: string; |
| | | /** 发放次数 */ |
| | | financeCount?: number; |
| | | /** 最近发放时间 */ |
| | | lastFinanceTime?: string; |
| | | /** 平台充值次数 */ |
| | | /** 财政拨付次数 */ |
| | | financeCount?: number; |
| | | /** 财政入账次数 */ |
| | | financeIncomeCount?: number; |
| | | /** 充值次数 */ |
| | | settleCount?: number; |
| | | /** 充值入账次数 */ |
| | | settleIncomeCount?: number; |
| | | /** 最近充值日期 */ |
| | | lastSettleTime?: string; |
| | | /** 最近发放入账时间 */ |
| | | lastFinanceIncomeTime?: string; |
| | | /** 最近充值入账日期 */ |
| | | lastSettleIncomeTime?: string; |
| | | /** 发放总额 */ |
| | | settleSumAmount?: number; |
| | | /** 充值总额 */ |
| | |
| | | bankBranchName?: string; |
| | | bankAccountName?: string; |
| | | incomeCompany?: string; |
| | | } |
| | | |
| | | interface GetPlatInvoiceAccountOutput { |
| | | bankNumber?: string; |
| | | bankName?: string; |
| | | enterpriseName?: string; |
| | | societyCreditCode?: string; |
| | | } |
| | | |
| | | interface GetProductAdvertiseByCategoryInput { |
| | |
| | | searchType: number; |
| | | /** 所属类别 10园区 20人资企业 */ |
| | | belongType?: number; |
| | | status?: boolean; |
| | | } |
| | | |
| | | interface GetUserAccountDto { |
| | |
| | | lastPayBeginTime?: string; |
| | | /** 最近发放结束日期 */ |
| | | lastPayEndTime?: string; |
| | | /** 最近充值结束日期 */ |
| | | lastSettleEndTime?: string; |
| | | lastSettleBeginTime?: string; |
| | | } |
| | | |
| | | interface QueryParkOrHRAuditPageInput { |
| | |
| | | </QueryFilterItem> |
| | | <QueryFilterItem tip-content="最近充值日期"> |
| | | <FieldDatePicker |
| | | v-model="extraParamState.lastPayTime" |
| | | v-model="extraParamState.lastSettleTime" |
| | | type="daterange" |
| | | range-separator="~" |
| | | start-placeholder="开始日期" |
| | |
| | | lastApplyEndTime: format(extraParamState.lastApplyTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | lastPayBeginTime: format(extraParamState.lastPayTime?.[0] ?? '', 'YYYY-MM-DD 00:00:00'), |
| | | lastPayEndTime: format(extraParamState.lastPayTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | lastSettleBeginTime: format( |
| | | extraParamState.lastSettleTime?.[0] ?? '', |
| | | 'YYYY-MM-DD 00:00:00' |
| | | ), |
| | | lastSettleEndTime: format(extraParamState.lastSettleTime?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | }; |
| | | let res = await parkBountyApplyServices.getParkCustomerManagePage(params, { |
| | | showLoading: !state.loading, |
| | |
| | | keywords: '', |
| | | lastApplyTime: [] as unknown as ModelValueType, |
| | | lastPayTime: [] as unknown as ModelValueType, |
| | | lastSettleTime: [] as unknown as ModelValueType, |
| | | orderInput: [{ property: 'id', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | checkStatus: EnterpriseRechargeStatusEnum.CheckPassed, |
| | | enterpriseId: id, |
| | | }; |
| | | let res = await parkBountyApplyServices.getEnterpriseDrawWithList(params, { |
| | | showLoading: !state.loading, |