11
WXL
2 天以前 a986a8d6fb5e44f7044469f5f420ce0d7b5bf235
11
已修改1个文件
11 ■■■■ 文件已修改
src/views/ecg/doctor/components/RoutinePanel.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/ecg/doctor/components/RoutinePanel.vue
@@ -266,14 +266,15 @@
  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 {