| | |
| | | |
| | | const route = useRoute(); |
| | | const insuranceOrderId = (route.params.id as string) ?? ''; |
| | | const routeId = (route.query.routeId as string) ?? ''; |
| | | const fromRoute = route.query.fromRoute as string; |
| | | const { closeViewPush } = useRouteView(); |
| | | |
| | |
| | | const { form, isLoading, claimDetail, disabledReportedDate, queryClaimDetailByOrderId, resetForm } = |
| | | useInsuranceClaimDetail({ |
| | | insuranceOrderId, |
| | | fromRoute, |
| | | }); |
| | | |
| | | // const { existedInsuranceOrderList } = useInsuranceOrderListByOrderRelevance({ |
| | |
| | | function handleBack() { |
| | | closeViewPush(route, { |
| | | name: fromRoute ?? 'Home', |
| | | params: { |
| | | id: routeId, |
| | | }, |
| | | }); |
| | | } |
| | | </script> |