| | |
| | | useTable, |
| | | } from '@bole-core/components'; |
| | | import { |
| | | AuthTypeText, |
| | | EnterpriseTypeText, |
| | | BountyCheckStatusEnum, |
| | | BountyCheckStatusEnumTextForAudit, |
| | | } from '@/constants'; |
| | | import ChunkCellV2 from '@/components/Layout/ChunkCellV2.vue'; |
| | | import DetailView from '@/components/commonView/DetailView.vue'; |
| | | import DeclareEnterpriseTableView from '@/components/commonView/DeclareEnterpriseTableView.vue'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { useQuery, useQueryClient } from '@tanstack/vue-query'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { convertApi2FormUrlOnlyOne, setOSSLink } from '@/utils'; |
| | | import { useGlobalEventContext, useRouteView } from '@/hooks'; |
| | |
| | | searchKeyWord: '', |
| | | }, |
| | | columnsRenderProps: { |
| | | authType: { type: 'enum', valueEnum: AuthTypeText }, |
| | | authType: { type: 'enum', valueEnum: EnterpriseTypeText }, |
| | | licenseUrl: { |
| | | type: 'url', |
| | | type: 'urlV2', |
| | | formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl), |
| | | modal: true, |
| | | showDownloadBtn: false, |
| | | }, |
| | | }, |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | const queryClient = useQueryClient(); |
| | | async function confirm() { |
| | | try { |
| | | let params: API.OutcheckParkBountyApplyInput = { |
| | |
| | | if (res) { |
| | | Message.successMessage('操作成功'); |
| | | eventContext.emit('materialReviewAudit:audit'); |
| | | queryClient.invalidateQueries({ |
| | | queryKey: ['parkBountyApplyServices/getGoverDataBoard'], |
| | | }); |
| | | handleBack(); |
| | | } |
| | | } catch (error) {} |