客户健康优化修改

This commit is contained in:
xiezhijun
2021-01-26 20:42:59 +08:00
parent e53ac00fbd
commit 9c899e344e
13 changed files with 641 additions and 267 deletions

View File

@ -97,11 +97,16 @@ export function selectDictLabels(datas, value, separator) {
return actions.join('').substring(0, actions.join('').length - 1);
}
// 通用下载方法
// 通用下载方法导出Excel,下载之后删除)
export function download(fileName) {
window.location.href = baseURL + "/common/download?fileName=" + encodeURI(fileName) + "&delete=" + true;
}
// 通用下载本地资源方法
export function downloadResource(fileName) {
window.location.href = baseURL + "/common/download/resource?name=" + encodeURI(fileName);
}
// 字符串格式化(%s )
export function sprintf(str) {
var args = arguments, flag = true, i = 1;