1. 数据存在

This commit is contained in:
gengxin
2025-03-11 17:48:27 +08:00
parent ab79db0f04
commit 43a57fe282
2 changed files with 3 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export function downLoadZipManage(str, filename,fun) {
return;
}
resolveBlob(res, mimeMap.xlsx,filename)
if(fun) fun()
if(fun) fun(res.headers.ecode)
})
}
/**

View File

@@ -30,7 +30,8 @@ import { message } from "ant-design-vue";
}
if(adminType?.value.length>0){
let orgs = adminType.value.join(',')
downLoadZipManage(`/admin/project/report/data?orgs=${orgs}`,'新任管理者培训数据',function(){
downLoadZipManage(`/admin/project/report/data?orgs=${orgs}`,'新任管理者培训数据',function(code){
if(code != 4)
spinning.value = false
})
}