feat:增加学习路径图-学员管理-导出学习信息

This commit is contained in:
wyx
2023-01-13 16:10:48 +08:00
parent 06959aa12f
commit 156e84d273

View File

@@ -117,6 +117,11 @@
导出学习信息
</a-button>
</a-col>
<a-col :span="1.5" v-else>
<a-button class="cus-btn white" @click="exportTaskStuRouter">
导出学习信息
</a-button>
</a-col>
<a-col :span="1.5">
<a-button class="cus-btn white" @click="bathDel">
<template #icon
@@ -496,13 +501,22 @@ const stuRowSelection = computed(() => ({
}));
// 导出数据
function exportTaskStu() {
console.log("props.datasource", props.datasource);
console.log("props.datasource", props);
window.open(
`${
process.env.VUE_APP_BASE_API
}/admin/student/exportTaskStudent?type=${1}&pid=${props.id}&taskType=0`
);
}
function exportTaskStuRouter() {
console.log("props.datasource", props);
window.open(
`${
process.env.VUE_APP_BASE_API
}/admin/student/exportTaskStudent?type=${2}&pid=${props.id}&taskType=0`
);
}
onMounted(() => {
getStuList();