| | |
| | | }); |
| | | } |
| | | |
| | | /** 运营端 导出投保订单 POST /api/InsuranceOrder/GetInsurancePageBackExport */ |
| | | export async function getInsurancePageBackExport( |
| | | body: API.GetInsurancePageInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/InsuranceOrder/GetInsurancePageBackExport', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导出投保订单 POST /api/InsuranceOrder/GetInsurancePageExport */ |
| | | export async function getInsurancePageExport( |
| | | body: API.GetInsurancePageInput, |
| | |
| | | insuredInstitution: string; |
| | | /** 投保方案 */ |
| | | insuranceScheme: string; |
| | | /** 保单号 */ |
| | | orderNo: string; |
| | | /** 在职标识 */ |
| | | onJobFlag?: string; |
| | | /** 性别 */ |
| | |
| | | } |
| | | |
| | | interface ImportBatchStaffListInput { |
| | | originIdNumber?: string; |
| | | orginIdNumber?: string; |
| | | /** 电话号码 */ |
| | | phoneNumber?: string; |
| | | id?: number; |
| | |
| | | incDecAmount?: number; |
| | | /** 保单id */ |
| | | insuranceOrderId?: string; |
| | | /** 投保机构 */ |
| | | insuranceOrg?: string; |
| | | /** 保单号 */ |
| | | orderNo?: string; |
| | | /** 投保/被保机构 */ |
| | | enterpriseName?: string; |
| | | /** 报案时间 */ |
| | | reportedTime?: string; |
| | | /** 联系电话 */ |
| | |
| | | |
| | | interface InsuranceClaimListOutput { |
| | | id?: string; |
| | | serialNumber?: number; |
| | | /** 身份证号 */ |
| | | idNumber?: string; |
| | | /** 姓名 */ |
| | |
| | | accidentTime?: string; |
| | | /** 伤残比例 */ |
| | | disabilityRatio?: number; |
| | | /** 理赔渠道 */ |
| | | claimChannel?: string; |
| | | /** 理赔渠道 */ |
| | | companyName?: string; |
| | | claimResult?: InsuranceClaimResultEnum; |
| | | claimResultStr?: string; |
| | | /** 下款金额 */ |
| | | downPaymentAmount?: number; |
| | |
| | | claimResultTime?: string; |
| | | /** 最后更新日期 */ |
| | | lastModificationTime?: string; |
| | | /** 理赔渠道 */ |
| | | companyName?: string; |
| | | claimChannel?: string; |
| | | claimResult?: InsuranceClaimResultEnum; |
| | | /** 保单id */ |
| | | insuranceOrderId?: string; |
| | | createTime?: string; |
| | |
| | | insuredInstitution: string; |
| | | /** 投保方案 */ |
| | | insuranceScheme: string; |
| | | /** 保单号 */ |
| | | orderNo: string; |
| | | /** 在职标识 */ |
| | | onJobFlag?: string; |
| | | /** 性别 */ |
| | |
| | | type="date" |
| | | value-format="YYYY-MM-DD" |
| | | placeholder="请选择日期" |
| | | :disabled-date="disabledDate" |
| | | ></ProFormDatePicker> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | |
| | | import { FormInstance } from 'element-plus'; |
| | | import { useQuery, useQueryClient } from '@tanstack/vue-query'; |
| | | import { paginateList } from '@/utils'; |
| | | import dayjs from 'dayjs'; |
| | | |
| | | defineOptions({ |
| | | name: 'BatchChange', |
| | |
| | | const id = route.params.id as string; |
| | | const insurerName = route.query.insurerName as string; |
| | | const insureBillNo = route.query.insureBillNo as string; |
| | | const effectEndTime = route.query.effectEndTime as string; |
| | | const BaseState = { |
| | | loading: true, |
| | | form: { |
| | |
| | | |
| | | const state = reactive({ ...BaseState }); |
| | | |
| | | const disabledDate = computed(() => { |
| | | return (time: Date) => { |
| | | return dayjs(time).isBefore(dayjs(), 'day') || dayjs(time).isAfter(dayjs(effectEndTime), 'day'); |
| | | }; |
| | | }); |
| | | |
| | | const urlDisabled = computed(() => { |
| | | return state.form.addOrReduceUrl.length > 0 || state.form.replaceUrl.length > 0; |
| | | }); |
| | |
| | | query: { |
| | | insurerName: row.insurerName ?? '', |
| | | insureBillNo: row.insureBillNo ?? '', |
| | | effectEndTime: row.effectEndTime ?? '', |
| | | }, |
| | | }); |
| | | } |
| | |
| | | note: '备注', |
| | | }, |
| | | }); |
| | | } else { |
| | | await Message.tipMessage('是否覆盖当前人员清单信息?'); |
| | | queryClient.invalidateQueries({ |
| | | queryKey: ['insuranceOrderServices/getInsuranceStaffList'], |
| | | }); |
| | | getInsuranceStaffList(); |
| | | } |
| | | queryClient.invalidateQueries({ |
| | | queryKey: ['insuranceOrderServices/getInsuranceStaffList'], |
| | | }); |
| | | getInsuranceStaffList(); |
| | | } catch (error) {} |
| | | } |
| | | |
| | |
| | | query: { |
| | | insurerName: detail.value?.insurerName ?? '', |
| | | insureBillNo: detail.value?.insureBillNo ?? '', |
| | | effectEndTime: detail.value?.effectEndTime ?? '', |
| | | }, |
| | | }); |
| | | } |
| | |
| | | insuranceBeginTime: format(form.insuranceBeginTime), |
| | | insuranceEndTime: format(form.insuranceEndTime), |
| | | insuredInstitution: form.insuranceOrg, |
| | | orderNo: form.orderNo, |
| | | insuranceScheme: form.insuranceScheme, |
| | | onJobFlag: form.onJobFlag, |
| | | gender: form.gender, |
| | |
| | | form.idNumber = data.idNumber; |
| | | // form.insuredInstitution = data.insuredInstitution; |
| | | form.insuranceScheme = data.insuranceScheme; |
| | | form.insuranceOrg = data.insuranceOrg; |
| | | form.orderNo = data.orderNo; |
| | | form.enterpriseName = data.enterpriseName; |
| | | form.reportedTime = data.reportedTime; |
| | | form.contactNumber = data.contactNumber; |
| | | form.bakContactNumber = data.bakContactNumber; |