健康报告下载名称修改,打卡相关接口优化

This commit is contained in:
xiezhijun
2021-03-24 17:16:36 +08:00
parent 127495e12d
commit 23015d814c
6 changed files with 444 additions and 308 deletions

View File

@ -98,8 +98,8 @@ export function selectDictLabels(datas, value, separator) {
}
// 通用下载方法导出Excel,下载之后删除)
export function download(fileName) {
window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true;
export function download(fileName, downFileName) {
window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true + "&downFileName=" + (downFileName != undefined ? encodeURI(downFileName) : "");
}
// 通用下载本地资源方法