| | |
| | | <el-button @click="handleDownload()" type="primary" style="margin-right: 10px" link |
| | | >模板下载</el-button |
| | | > |
| | | |
| | | <el-button @click="handleUpload()" type="primary" style="margin-right: 10px" |
| | | >导入</el-button |
| | | >导入投保人员</el-button |
| | | > |
| | | |
| | | <!-- <el-button |
| | | v-if="AppType === 'jx'" |
| | | @click="handleUpload()" |
| | | type="primary" |
| | | style="margin-right: 10px" |
| | | >大批量数据导入</el-button |
| | | > --> |
| | | <el-button @click="getInsurancePageExport()" type="primary" link>导出保单列表</el-button> |
| | | <el-button @click="getInsuranceStaffPageExport()" type="primary" link |
| | | >导出在保人员</el-button |
| | |
| | | insuranceTypeText, |
| | | InsurancePolicyStatusEnumText, |
| | | InsurancePolicyStatusEnum, |
| | | AppType, |
| | | } from '@/constants'; |
| | | import dayjs from 'dayjs'; |
| | | import _ from 'lodash'; |
| | |
| | | }); |
| | | } |
| | | function handleBatch(row: API.GetInsurancePageOutput) { |
| | | if ( |
| | | dayjs(row.effectEndTime).isBefore(dayjs()) || |
| | | dayjs(row.effectEndTime).isSame(dayjs(), 'day') |
| | | ) { |
| | | Message.errorMessage('保险今天到期,无法批改'); |
| | | return; |
| | | } |
| | | router.push({ |
| | | name: 'BatchChange', |
| | | params: { |
| | |
| | | query: { |
| | | insurerName: row.insurerName ?? '', |
| | | insureBillNo: row.insureBillNo ?? '', |
| | | effectEndTime: row.effectEndTime ?? '', |
| | | }, |
| | | }); |
| | | } |