| | |
| | | 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> |