Ver código fonte

修复病案导出的文件名

lighter 3 meses atrás
pai
commit
855c900942

+ 1 - 1
src/views/hospitalization/case-front-sheet/FrontSheetExport.vue

@@ -430,7 +430,7 @@ const exportExcel = () => {
     }
 
     const yearMonth = month.value.split("-");
-    const fileName = `${env.VITE_HOSPITAL_CODE}_${env.VITE_HOSPITAL_NAME}_${yearMonth[0]}_${yearMonth[1]}.csv`;
+    const fileName = `${env.VITE_SHEET_HOSPITAL_CODE}_${env.VITE_HOSPITAL_NAME}_${yearMonth[0]}_${yearMonth[1]}.csv`;
     exportCSV(sheets.value, title, fileName, ",");
   }
 };