| | |
| | | id?: Ref<string>; |
| | | applyMonth?: Ref<string>; |
| | | enableUploadExtraFiles?: boolean; |
| | | bountyTemplateId?: Ref<string>; |
| | | }; |
| | | |
| | | export function useDeclareEnterpriseTable(options: UseDeclareEnterpriseTableOptions = {}) { |
| | | const { id, applyMonth, enableUploadExtraFiles = false } = options; |
| | | const { id, applyMonth, enableUploadExtraFiles = false, bountyTemplateId } = options; |
| | | |
| | | const { |
| | | getDataSource: getList, |
| | |
| | | try { |
| | | const applyFilesRes = await queryClient.ensureQueryData({ |
| | | queryKey: [ |
| | | 'enterpriseApplyFileServices/getCustomerUploadApplyFiles', |
| | | 'enterpriseApplyFileServices/getCustomerUploadApplyFilesV2', |
| | | row.enterpriseId, |
| | | applyMonth.value, |
| | | bountyTemplateId.value, |
| | | ], |
| | | queryFn: async () => { |
| | | return await enterpriseApplyFileServices.getCustomerUploadApplyFiles({ |
| | | return await enterpriseApplyFileServices.getCustomerUploadApplyFilesV2({ |
| | | enterpriseId: row.enterpriseId, |
| | | withMonth: applyMonth.value, |
| | | bountyTemplateId: bountyTemplateId.value, |
| | | }); |
| | | }, |
| | | }); |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询园区奖励金模板名称 POST /api/IndustrialPark/GetIndustrialPartBountyTemplates */ |
| | | export async function getIndustrialPartBountyTemplates( |
| | | body: API.GetIndustrialPartBountyTemplatesInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetIndustrialPartBountyTemplatesOutput>( |
| | | '/api/IndustrialPark/GetIndustrialPartBountyTemplates', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 设置奖励金申报状态 POST /api/IndustrialPark/SetIndustrialParkRewardEnable */ |
| | | export async function setIndustrialParkRewardEnable( |
| | | body: API.SetIndustrialParkRewardEnableInput, |
| New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 同步客户材料 POST /api/WaterDropCloud/SyncCompanyMaterial */ |
| | | export async function syncCompanyMaterial(options?: API.RequestConfig) { |
| | | return request<any>('/api/WaterDropCloud/SyncCompanyMaterial', { |
| | | method: 'POST', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | import * as Version from './Version'; |
| | | import * as Wallet from './Wallet'; |
| | | import * as WalletChannel from './WalletChannel'; |
| | | import * as WaterDropCloud from './WaterDropCloud'; |
| | | import * as Withdraw from './Withdraw'; |
| | | import * as WxNotify from './WxNotify'; |
| | | import * as WxPayNotify from './WxPayNotify'; |
| | |
| | | Version, |
| | | Wallet, |
| | | WalletChannel, |
| | | WaterDropCloud, |
| | | Withdraw, |
| | | WxNotify, |
| | | WxPayNotify, |
| | |
| | | /** 是否支持财政拨付 */ |
| | | suportFinance?: boolean; |
| | | /** 文件 */ |
| | | industrialParkApplyFileFile?: IndustrialParkApplyFileFile[]; |
| | | bountTemplates?: AddIndustrialParkInputBountTemplate[]; |
| | | /** 无需政务端审核 */ |
| | | notNeedGovernmentAudit?: boolean; |
| | | /** 无需运营端审核 */ |
| | |
| | | dualReviewOfGovernmentAffairs?: boolean; |
| | | /** 公司信息 */ |
| | | industrialParkCompanyFile?: IndustrialParkCompanyFile[]; |
| | | } |
| | | |
| | | interface AddIndustrialParkInputBountTemplate { |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 模板名称 */ |
| | | templateName?: string; |
| | | /** 文件 */ |
| | | items?: IndustrialParkApplyFileFile[]; |
| | | } |
| | | |
| | | interface AddIndustryBodyAuditInput { |
| | |
| | | interface AddParkBountyApplyStepOneInput { |
| | | batchNo?: string; |
| | | parkId?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | applyMonth?: string; |
| | | removeCompanyIds?: string[]; |
| | | } |
| | |
| | | |
| | | interface APIgetCustomerFileTypeHeadParams { |
| | | enterpriseId?: string; |
| | | templateId?: string; |
| | | } |
| | | |
| | | interface APIgetCustomerTemplateDetailParams { |
| | |
| | | applyAmount?: number; |
| | | fileTypes?: CustomerUploadMonthApplyFileType[]; |
| | | enterpriseId?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | /** 是否是运营端代上传 */ |
| | | isAdminFileUpload?: boolean; |
| | | } |
| | |
| | | applyAmount?: number; |
| | | fileTypes?: CustomerUploadMonthApplyFileType[]; |
| | | enterpriseId?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | /** 是否是运营端代上传 */ |
| | | isAdminFileUpload?: boolean; |
| | | /** 汇总材料 */ |
| | |
| | | interface GetCustomerUploadApplyFilesInput { |
| | | id?: string; |
| | | enterpriseId?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | userId?: string; |
| | | withMonth?: string; |
| | | parkBountyApplyId?: string; |
| | |
| | | interface GetCustomerUploadApplyFilesResponse { |
| | | /** 所属月份 */ |
| | | withMonth?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | /** 企业名称 */ |
| | | enterpriseName?: string; |
| | | /** 申报金额 */ |
| | |
| | | interface GetCustomerUploadApplyFilesV2Response { |
| | | /** 所属月份 */ |
| | | withMonth?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | /** 企业名称 */ |
| | | enterpriseName?: string; |
| | | /** 申报金额 */ |
| | |
| | | |
| | | interface GetCustomerUploadFileRecordInput { |
| | | withMonth?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | userId?: string; |
| | | } |
| | | |
| | |
| | | categoryId?: string; |
| | | /** 查询条件:产品名称/服务商名称 */ |
| | | queryCondition?: string; |
| | | } |
| | | |
| | | interface GetIndustrialPartBountyTemplatesInput { |
| | | /** 园区Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface GetIndustrialPartBountyTemplatesOutput { |
| | | /** 奖励金模板名称 */ |
| | | bountyTemplates?: GetIndustrialPartBountyTemplatesOutputItem[]; |
| | | } |
| | | |
| | | interface GetIndustrialPartBountyTemplatesOutputItem { |
| | | id?: string; |
| | | templateName?: string; |
| | | } |
| | | |
| | | interface GetInformationAdvertiseByCategoryInput { |
| | |
| | | |
| | | interface GetParkCollectFileTypeListInput { |
| | | parkId?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | searchType?: number; |
| | | } |
| | | |
| | |
| | | registerAddress?: string; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | industrialParkFileTypeList?: IndustrialParkFileTypeOutput[]; |
| | | /** 奖励金模板 */ |
| | | bountyTemplates?: IndustrialParkDetailOutputFileTypeTemplate[]; |
| | | industrialParkCompanyList?: IndustrialParkCompanyOutput[]; |
| | | } |
| | | |
| | | interface IndustrialParkDetailOutputFileTypeTemplate { |
| | | /** 模板Id */ |
| | | templateId?: string; |
| | | /** 模板名称 */ |
| | | templateName?: string; |
| | | /** 材料 */ |
| | | items?: IndustrialParkFileTypeOutput[]; |
| | | } |
| | | |
| | | interface IndustrialParkDropDownOutput { |
| | |
| | | interface OutCheckParkBountyApplyBaseInfo { |
| | | /** 申请批次号 */ |
| | | batchNo?: string; |
| | | /** 奖励金模板 */ |
| | | bountyTemplateId?: string; |
| | | /** 奖励金模板名称 */ |
| | | bountyTemplateName?: string; |
| | | /** 申请园区Id */ |
| | | parkId?: string; |
| | | /** 申请园区 */ |
| | |
| | | /** 是否支持财政拨付 */ |
| | | suportFinance?: boolean; |
| | | /** 文件 */ |
| | | industrialParkApplyFileFile?: IndustrialParkApplyFileFile[]; |
| | | bountTemplates?: AddIndustrialParkInputBountTemplate[]; |
| | | /** 无需政务端审核 */ |
| | | notNeedGovernmentAudit?: boolean; |
| | | /** 无需运营端审核 */ |
| | |
| | | fileSearchTypeId?: string; |
| | | listFiles?: CustomerUploadMonthApplyFileTypeDto[]; |
| | | enterpriseId?: string; |
| | | /** 奖励金模板Id */ |
| | | bountyTemplateId?: string; |
| | | } |
| | | |
| | | interface UploadParkApplyCustomerFilesInput { |
| | |
| | | |
| | | suportPlatRecharge: false, |
| | | suportFinance: false, |
| | | |
| | | bountyTemplateId: '', |
| | | }); |
| | | |
| | | const { addRewardApplyStep3Columns } = useAddRewardApplyStep3Columns({ |
| | |
| | | useDeclareEnterpriseTable({ |
| | | id: ref(id), |
| | | applyMonth: toRef(form, 'applyMonth'), |
| | | bountyTemplateId: toRef(form, 'bountyTemplateId'), |
| | | }); |
| | | |
| | | const tableRef = ref<InstanceType<typeof DeclareEnterpriseTableView>>(); |
| | |
| | | form.suportFinance = data.suportFinance; |
| | | form.reasonForWithdrawal = data.reasonForWithdrawal ?? ''; |
| | | |
| | | form.bountyTemplateId = data.bountyTemplateId ?? ''; |
| | | |
| | | getList(); |
| | | }, |
| | | }); |
| | |
| | | |
| | | suportPlatRecharge: false, |
| | | suportFinance: false, |
| | | bountyTemplateId: '', |
| | | }); |
| | | |
| | | const { addRewardApplyStep3Columns } = useAddRewardApplyStep3Columns({ |
| | |
| | | id: ref(id), |
| | | applyMonth: toRef(form, 'applyMonth'), |
| | | enableUploadExtraFiles: true, |
| | | bountyTemplateId: toRef(form, 'bountyTemplateId'), |
| | | }); |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | |
| | | form.suportPlatRecharge = data.suportPlatRecharge; |
| | | form.suportFinance = data.suportFinance; |
| | | |
| | | form.bountyTemplateId = data.bountyTemplateId; |
| | | |
| | | getList(); |
| | | }, |
| | | }); |
| | |
| | | extraListFiles: [] as CustomerApplyFileTypeListItem[], |
| | | suportPlatRecharge: false, |
| | | suportFinance: false, |
| | | bountyTemplateId: '', |
| | | }); |
| | | |
| | | const { addRewardApplyStep3Columns } = useAddRewardApplyStep3Columns({ |
| | |
| | | useDeclareEnterpriseTable({ |
| | | id: ref(id), |
| | | applyMonth: toRef(form, 'applyMonth'), |
| | | bountyTemplateId: toRef(form, 'bountyTemplateId'), |
| | | }); |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | |
| | | form.suportPlatRecharge = data.suportPlatRecharge; |
| | | form.suportFinance = data.suportFinance; |
| | | |
| | | form.bountyTemplateId = data.bountyTemplateId; |
| | | |
| | | getList(); |
| | | }, |
| | | }); |
| | |
| | | |
| | | suportPlatRecharge: false, |
| | | suportFinance: false, |
| | | bountyTemplateId: '', |
| | | }); |
| | | |
| | | const { rewardGrantRegisterColumns } = useRewardGrantRegisterColumns(); |
| | |
| | | useDeclareEnterpriseTable({ |
| | | id: ref(id), |
| | | applyMonth: toRef(form, 'applyMonth'), |
| | | bountyTemplateId: toRef(form, 'bountyTemplateId'), |
| | | }); |
| | | |
| | | const registerOperationBtns = defineOperationBtns([ |
| | |
| | | form.suportPlatRecharge = data.suportPlatRecharge; |
| | | form.suportFinance = data.suportFinance; |
| | | |
| | | form.bountyTemplateId = data.bountyTemplateId; |
| | | |
| | | getList(); |
| | | }, |
| | | }); |