|
|
@@ -53,7 +53,8 @@
|
|
|
import { Button } from '/@/components/Button';
|
|
|
import { BasicModal, useModalInner } from '/@/components/Modal';
|
|
|
import { useGlobSetting } from '/@/hooks/setting';
|
|
|
- import { excelSheetDetail, getDownloadUrl, tempDownload } from '/@/api/common/index';
|
|
|
+ import { excelSheetDetail, getDownloadUrl } from '/@/api/common/index';
|
|
|
+ import { archivesPatientBasicExport } from '/@/api/biz/archives/patientBasicApi';
|
|
|
const globSetting = useGlobSetting();
|
|
|
import { listDictModel } from '/@/api/common';
|
|
|
import { downloadByBase64, downloadByUrl } from '/@/utils/file/download';
|
|
|
@@ -133,7 +134,7 @@
|
|
|
downloadByUrl({ url: res });
|
|
|
}
|
|
|
async function downloadFile() {
|
|
|
- const res = await tempDownload([]);
|
|
|
+ const res = await archivesPatientBasicExport([]);
|
|
|
downloadByBase64(res.base64, res.fileName + '.xlsx');
|
|
|
}
|
|
|
onUnmounted(() => {
|