| | |
| | | type="primary" |
| | | >补提</el-button |
| | | > |
| | | <el-button @click="handleExport(InsuranceDetailStatusEnum.Effecting)" type="primary" |
| | | >导出在保人员</el-button |
| | | > |
| | | <el-button @click="handleExport(InsuranceDetailStatusEnum.Fail)" type="primary" |
| | | >导出错误人员</el-button |
| | | > |
| | | <template v-if="detail.status !== InsurancePolicyStatusEnum.WaitEffect"> |
| | | <el-button @click="handleExport(InsuranceDetailStatusEnum.Effecting)" type="primary" |
| | | >导出在保人员</el-button |
| | | > |
| | | <el-button @click="handleExport(InsuranceDetailStatusEnum.Fail)" type="primary" |
| | | >导出错误人员</el-button |
| | | > |
| | | <el-button @click="handleGoStampFiles(id)" type="primary">下载保单</el-button> |
| | | <el-button @click="handleGoDownloadInvoice(id)" type="primary">下载发票</el-button> |
| | | </template> |
| | |
| | | onClick: (role) => handleChangeInfo(role), |
| | | }, |
| | | extraProps: { |
| | | hide: (row: API.GetInsuranceStaffPageTemplate) => |
| | | detail.value?.productOnline || |
| | | detail.value?.status !== InsurancePolicyStatusEnum.WaitEffect || |
| | | detail.value?.auditStatus === InsurancePolicyAuditStatusEnum.Pass, |
| | | hide: (row: API.GetInsuranceStaffPageTemplate) => { |
| | | if (detail.value?.productOnline) { |
| | | return detail.value?.auditStatus !== InsurancePolicyAuditStatusEnum.WaitAdd; |
| | | } else { |
| | | return ( |
| | | detail.value?.status !== InsurancePolicyStatusEnum.WaitEffect || |
| | | detail.value?.auditStatus === InsurancePolicyAuditStatusEnum.Pass |
| | | ); |
| | | } |
| | | }, |
| | | }, |
| | | }, |
| | | { |
| | |
| | | productIdNumber: detail.value.productIdNumber, |
| | | productSchemeIdNumber: getInsureProductSchemeByCode(detail.value.productSchemeCode)?.idNumber, |
| | | effectStartTime: detail.value.effectStartTime, |
| | | effectEndTime: detail.value.effectEndTime, |
| | | }); |
| | | } |
| | | |
| | |
| | | productIdNumber: '', |
| | | productSchemeIdNumber: '', |
| | | effectStartTime: dayjs().add(1, 'day').format('YYYY-MM-DD'), |
| | | effectEndTime: '', |
| | | }, |
| | | closeAfterConfirm: false, |
| | | }); |