|
@@ -253,7 +253,7 @@ const exportExcel = () => {
|
|
|
sheets.value.forEach(itm => {
|
|
|
itm.instituionCode = env.VITE_SHEET_HOSPITAL_CODE;
|
|
|
itm.instituionName = env.VITE_HOSPITAL_NAME;
|
|
|
- itm.certtype = itm.country === "中国" ? "1" : "9";
|
|
|
+ itm.certtype = itm.country === "CHN" ? "1" : "9";
|
|
|
// itm.unitinfo = itm.unitName + "/" + itm.unitPlace;
|
|
|
itm.unitinfo = itm.unitPlace;
|
|
|
itm.admissDate = formatDateToStr(itm.admissDate,DATEFORMAT.DATE_TIME_TILT);
|
|
@@ -550,7 +550,8 @@ const exportExcel = () => {
|
|
|
// }
|
|
|
|
|
|
const yearMonth = month.value.split("-");
|
|
|
- const fileName = `${env.VITE_UNIFIED_SOCIAL_CREDIT_CODE_CODE}_${env.VITE_HOSPITAL_NAME}_${yearMonth[0]}_${yearMonth[1]}.csv`;
|
|
|
+ // const fileName = `${env.VITE_UNIFIED_SOCIAL_CREDIT_CODE_CODE}_${env.VITE_HOSPITAL_NAME}_${yearMonth[0]}_${yearMonth[1]}.csv`;
|
|
|
+ const fileName = `hqmsts_${env.VITE_HOSPITAL_NAME}_${yearMonth[0]}_${yearMonth[1]}.csv`;
|
|
|
exportCharCSV(sheets.value, Object.assign(title,titleConnetOne),Object.assign(titleChar,titleCharConnectOne), fileName, ",");
|
|
|
}
|
|
|
};
|