| | |
| | | }); |
| | | } |
| | | function handleBatch(row: API.GetInsurancePageOutput) { |
| | | if ( |
| | | dayjs(row.effectEndTime).isAfter(dayjs()) || |
| | | dayjs(row.effectEndTime).isBefore(dayjs(), 'day') |
| | | ) { |
| | | Message.errorMessage('保险今天到期,无法批改'); |
| | | return; |
| | | } |
| | | router.push({ |
| | | name: 'BatchChange', |
| | | params: { |
| | |
| | | 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', |
| | |
| | | } |
| | | |
| | | function handleBatchChange() { |
| | | if ( |
| | | dayjs(detail.value?.effectEndTime).isAfter(dayjs()) || |
| | | dayjs(detail.value?.effectEndTime).isBefore(dayjs(), 'day') |
| | | ) { |
| | | Message.errorMessage('保险今天到期,无法批改'); |
| | | return; |
| | | } |
| | | router.push({ |
| | | name: 'BatchChange', |
| | | params: { |