| | |
| | | idIdNumber: form.idNumber, |
| | | reportedTime: form.reportedTime, |
| | | }; |
| | | let existedInsuranceOrderList = await queryClient.ensureQueryData({ |
| | | queryKey: ['insuranceOrderServices/getInsuranceOrderListByOrderRelevance', params], |
| | | queryFn: async () => { |
| | | return await insuranceOrderServices.getInsuranceOrderListByOrderRelevance(params, { |
| | | let existedInsuranceOrderList = |
| | | await insuranceOrderServices.getInsuranceOrderListByOrderRelevance(params, { |
| | | showLoading: false, |
| | | }); |
| | | }, |
| | | }); |
| | | if (existedInsuranceOrderList.length == 1) { |
| | | form.insuranceOrderId = existedInsuranceOrderList[0].id; |