mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
1. 数据存在
This commit is contained in:
@@ -46,7 +46,7 @@ export function downLoadZipManage(str, filename,fun) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
resolveBlob(res, mimeMap.xlsx,filename)
|
resolveBlob(res, mimeMap.xlsx,filename)
|
||||||
if(fun) fun()
|
if(fun) fun(res.headers.ecode)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -30,7 +30,8 @@ import { message } from "ant-design-vue";
|
|||||||
}
|
}
|
||||||
if(adminType?.value.length>0){
|
if(adminType?.value.length>0){
|
||||||
let orgs = adminType.value.join(',')
|
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
|
spinning.value = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user