| | |
| | | <ProFormCol> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="参保机构:" prop="insuranceOrg"> |
| | | <ProFormRadio v-model="detail.insuranceOrg" :value-enum="InsuredInstitutionEnum" /> |
| | | <!-- <ProFormRadio v-model="detail.insuranceOrg" :value-enum="InsuredInstitutionEnum" /> --> |
| | | <ProFormText v-model.trim="detail.insuranceOrg" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="投保方案:" prop="insuranceScheme"> |
| | | <ProFormRadio v-model="detail.insuranceScheme" :value-enum="InsuranceSchemeEnum" /> |
| | | <!-- <ProFormRadio v-model="detail.insuranceScheme" :value-enum="InsuranceSchemeEnum" /> --> |
| | | <ProFormText v-model.trim="detail.insuranceScheme" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | |
| | | } |
| | | async function handleUploadSuccess(response: UploadUserFile) { |
| | | try { |
| | | // let res = await insuranceOrderServices.importInsuranceOrderData(response.url, { |
| | | // getResponse: true, |
| | | // responseType: 'blob', |
| | | // }); |
| | | let res = await insuranceOrderServices.importInsDetailStaffToList( |
| | | { |
| | | id: id, |
| | | url: response.url, |
| | | }, |
| | | { |
| | | getResponse: true, |
| | | responseType: 'blob', |
| | | } |
| | | ); |
| | | console.log('res: ', res); |
| | | // if (res?.data?.size) { |
| | | // await Message.tipMessage('存在错误数据,是否导出?'); |
| | | // downloadFile(res.data, `错误人员名单`, 'xlsx'); |
| | |
| | | params: { |
| | | id: id, |
| | | }, |
| | | query: { |
| | | insurerName: detail.value?.insurerName ?? '', |
| | | insureBillNo: detail.value?.insureBillNo ?? '', |
| | | }, |
| | | }); |
| | | } |
| | | |