Ver Fonte

fix: 导入组件路径

lxz há 2 anos atrás
pai
commit
a4b4fa572f
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      src/views/biz/visit/ready/importView.vue

+ 3 - 2
src/views/biz/visit/ready/importView.vue

@@ -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(() => {