| | |
| | | formRef.value?.resetFields() |
| | | } |
| | | const yddownload = async () => { |
| | | const obj = await DoctorApi.yddownload(props.setappointmentId) |
| | | console.log(obj,'xml'); |
| | | |
| | | downloadWordFile(obj, '平板运动心电图知情同意书.doc'); |
| | | const response = await DoctorApi.yddownload(props.setappointmentId) |
| | | console.log(response, 'xml1') |
| | | console.log(response.fileContent, 'xml2') |
| | | console.log(DoctorApi.yddownload(props.setappointmentId)); |
| | | downloadWordFile(response.fileContent, response.fileName) |
| | | } |
| | | const sgdownload = async () => { |
| | | const obj = await DoctorApi.sgdownload(props.setappointmentId) |
| | | downloadWordFile(obj, '食管心脏电生理诊疗知情同意书.doc'); |
| | | downloadWordFile(obj, '食管心脏电生理诊疗知情同意书.doc') |
| | | } |
| | | const downloadWordFile = (data, filename = 'document') => { |
| | | try { |