mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
导出详细学习记录 - loading 更改 6
This commit is contained in:
@@ -332,14 +332,14 @@ function exportStu() {
|
|||||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudent?type=3&&thirdType=8&pid=${searchParams.value.pid}`);
|
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudent?type=3&&thirdType=8&pid=${searchParams.value.pid}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const exportDisabled = ref(false)
|
let exportDisabled = ref(false)
|
||||||
|
|
||||||
const exportStudy = async () => {
|
const exportStudy = async () => {
|
||||||
if(studentList.value.length == 0){
|
if(studentList.value.length == 0){
|
||||||
return message.warning('暂无可导出的学习记录')
|
return message.warning('暂无可导出的学习记录')
|
||||||
}
|
}
|
||||||
exportDisabled.value = true;
|
exportDisabled.value = true;
|
||||||
await downLoadXlsx(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudentDetail?type=4&&thirdType=8&pid=${searchParams.value.pid}`,'在线课学员学习记录',exportLoading);
|
await downLoadXlsx(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudentDetail?type=4&&thirdType=8&pid=${searchParams.value.pid}`,'在线课学员学习记录');
|
||||||
exportDisabled.value = false;
|
exportDisabled.value = false;
|
||||||
}
|
}
|
||||||
defineExpose({
|
defineExpose({
|
||||||
|
|||||||
Reference in New Issue
Block a user