| | |
| | | import { useQuery, useQueryClient } from '@tanstack/vue-query'; |
| | | import { downloadFile, downloadFileByUrl, Message, OrderInputType } from '@bole-core/core'; |
| | | import { setOSSLink } from '@/utils'; |
| | | import dayjs from 'dayjs'; |
| | | |
| | | defineOptions({ |
| | | name: 'InsureOrderInfoView', |
| | |
| | | note: '备注', |
| | | }, |
| | | }); |
| | | } else { |
| | | await Message.tipMessage('是否覆盖当前人员清单信息?'); |
| | | queryClient.invalidateQueries({ |
| | | queryKey: ['insuranceOrderServices/getInsuranceStaffList'], |
| | | }); |
| | | getInsuranceStaffList(); |
| | | } |
| | | queryClient.invalidateQueries({ |
| | | queryKey: ['insuranceOrderServices/getInsuranceStaffList'], |
| | | }); |
| | | getInsuranceStaffList(); |
| | | } catch (error) {} |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | function handleBatchChange() { |
| | | if ( |
| | | dayjs(detail.value?.effectEndTime).isBefore(dayjs()) || |
| | | dayjs(detail.value?.effectEndTime).isSame(dayjs(), 'day') |
| | | ) { |
| | | Message.errorMessage('保险今天到期,无法批改'); |
| | | return; |
| | | } |
| | | router.push({ |
| | | name: 'BatchChange', |
| | | params: { |