| | |
| | | <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'; |
| | |
| | | row.status === InsurancePolicyStatusEnum.WaitEffect, |
| | | }, |
| | | }, |
| | | // { |
| | | // data: { |
| | | // enCode: 'standarEndoBtn', |
| | | // name: '申请退保', |
| | | // }, |
| | | // emits: { |
| | | // onClick: (role) => handleStandarEndo(role), |
| | | // }, |
| | | // }, |
| | | ]).filter(Boolean); |
| | | |
| | | const BaseState = { |
| | |
| | | defaultFormParams: { |
| | | serialNum: '', |
| | | url: [] as UploadUserFile[], |
| | | productIdNumber: '', |
| | | }, |
| | | closeAfterConfirm: false, |
| | | }); |
| | |
| | | let params: API.APIimportInsStaffToListParams = { |
| | | serialNum: editForm.serialNum, |
| | | url: editForm.url?.[0]?.path, |
| | | productIdNumber: editForm.productIdNumber, |
| | | }; |
| | | let res = await insuranceOrderServices.importInsStaffToList(params); |
| | | if (res.length > 0) { |
| | |
| | | }, |
| | | }); |
| | | } |
| | | |
| | | async function handleStandarEndo(row: API.GetInsurancePageOutput) { |
| | | try { |
| | | await Message.deleteMessage('是否申请退保?'); |
| | | let params = { |
| | | id: row.id, |
| | | }; |
| | | // let res = await userServices.deleteRole(params); |
| | | // if (res) { |
| | | // Message.successMessage('操作成功'); |
| | | // getList(paginationState.pageIndex); |
| | | // } |
| | | } catch (error) {} |
| | | } |
| | | </script> |