| | |
| | | </ProTableV2> |
| | | </ChunkCell> |
| | | <ChangePersonInfoDialog v-bind="dialogProps"></ChangePersonInfoDialog> |
| | | <InsureClaimDetailDialog v-bind="dialogInsureClaimProps"></InsureClaimDetailDialog> |
| | | </AppScrollContainer> |
| | | </LoadingLayout> |
| | | </template> |
| | |
| | | import { |
| | | InsuranceOrderTempPath, |
| | | insuranceTypeText, |
| | | InsuredInstitutionEnum, |
| | | InsuranceSchemeEnum, |
| | | InsurancePolicyStatusEnum, |
| | | InsurancePolicyStatusEnumText, |
| | | } from '@/constants'; |
| | | import ChangePersonInfoDialog from './ChangePersonInfoDialog.vue'; |
| | | import InsureClaimDetailDialog from './InsureClaimDetailDialog.vue'; |
| | | import * as insuranceOrderServices from '@/services/api/InsuranceOrder'; |
| | | import { useQuery, useQueryClient } from '@tanstack/vue-query'; |
| | | import { downloadFile, downloadFileByUrl, Message, OrderInputType } from '@bole-core/core'; |
| | |
| | | name: '理赔详情', |
| | | }, |
| | | emits: { |
| | | onClick: (role) => handleInsureClaimDetail(role), |
| | | onClick: (role) => handleDetail(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetInsuranceStaffPageTemplate) => |
| | |
| | | } catch (error) {} |
| | | } |
| | | |
| | | function handleInsureClaimDetail(row: API.GetInsuranceStaffPageTemplate) { |
| | | router.push({ |
| | | name: 'InsuranceClaimDetail', |
| | | params: { |
| | | id: row.id, |
| | | }, |
| | | query: { |
| | | fromRoute: 'InsuranceOrderDetail', |
| | | }, |
| | | }); |
| | | const { dialogProps: dialogInsureClaimProps, handleEdit: handleInsureClaimEdit } = useFormDialog({ |
| | | defaultFormParams: { |
| | | id: '', |
| | | staffList: [] as API.InsureBatchBillDetailDto[], |
| | | }, |
| | | }); |
| | | |
| | | async function handleDetail(row: API.InsureBatchBillDto) { |
| | | try { |
| | | // const res = await getInsureBatchDetail(row.insureBatchBillId); |
| | | handleInsureClaimEdit({ |
| | | id: row.insureBatchBillId, |
| | | staffList: [], |
| | | }); |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | | |