| | |
| | | :pro-table-props="proTableProps" |
| | | :reset="reset" |
| | | :open-dialog="openDialog" |
| | | :column="addRewardApplyStep3Columns" |
| | | ></DeclareEnterpriseTableView> |
| | | <MateriaDetailDialog |
| | | v-bind="dialogProps" |
| | |
| | | import { convertApi2FormUrlObjectBySeparator, setOSSLink } from '@/utils'; |
| | | import { useRouteView } from '@/hooks'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import { EnterpriseTypeText } from '@/constants'; |
| | | import { EnterpriseTypeText, useAddRewardApplyStep3Columns } from '@/constants'; |
| | | import { FourStreamsMaterialFileTableItem } from '@/components/commonView/types'; |
| | | import { useIndustrialParkDropDownList } from '@/hooks/industrialPark'; |
| | | import { |
| | |
| | | calculationFileList: [] as CustomerApplyFileTypeListItem[], |
| | | // bountyAssignFileUlr: [] as UploadUserFile[], |
| | | // bountyCollectFileUrl: [] as UploadUserFile[], |
| | | suportEnterpriseUpload: false, |
| | | }); |
| | | |
| | | const { addRewardApplyStep3Columns } = useAddRewardApplyStep3Columns({ |
| | | suportEnterpriseUpload: toRef(form, 'suportEnterpriseUpload'), |
| | | }); |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | queryKey: ['parkBountyApplyServices/getParkBountyApplyDetail', id], |
| | | queryKey: ['parkBountyApplyServices/getParkBountyApplyDetailBaseInfo', id], |
| | | queryFn: async () => { |
| | | return await parkBountyApplyServices.getParkBountyApplyDetailBaseInfo( |
| | | { parkBountyApplyId: id }, |
| | |
| | | } |
| | | ); |
| | | }, |
| | | placeholderData: () => ({} as API.OutCheckParkBountyApplyBaseInfo), |
| | | placeholderData: () => ({} as API.ParkBountyApplyBaseInfo), |
| | | onSuccess(data) { |
| | | form.batchNo = data.batchNo; |
| | | form.parkName = data.parkName; |
| | |
| | | // form.enterpriseRelateFileUrl = convertApi2FormUrlObjectBySeparator( |
| | | // data?.enterpriseRelateFileUrl |
| | | // ); |
| | | form.suportEnterpriseUpload = data.suportEnterpriseUpload; |
| | | |
| | | getList(); |
| | | }, |
| | |
| | | type: 'urlV2', |
| | | formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl), |
| | | }, |
| | | applyAmount: { type: 'money' }, |
| | | }, |
| | | } |
| | | ); |