mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
feat:增加学习路径图-学员管理-导出学习信息
This commit is contained in:
@@ -117,6 +117,11 @@
|
|||||||
导出学习信息
|
导出学习信息
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-col>
|
</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-col :span="1.5">
|
||||||
<a-button class="cus-btn white" @click="bathDel">
|
<a-button class="cus-btn white" @click="bathDel">
|
||||||
<template #icon
|
<template #icon
|
||||||
@@ -496,13 +501,22 @@ const stuRowSelection = computed(() => ({
|
|||||||
}));
|
}));
|
||||||
// 导出数据
|
// 导出数据
|
||||||
function exportTaskStu() {
|
function exportTaskStu() {
|
||||||
console.log("props.datasource", props.datasource);
|
console.log("props.datasource", props);
|
||||||
window.open(
|
window.open(
|
||||||
`${
|
`${
|
||||||
process.env.VUE_APP_BASE_API
|
process.env.VUE_APP_BASE_API
|
||||||
}/admin/student/exportTaskStudent?type=${1}&pid=${props.id}&taskType=0`
|
}/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(() => {
|
onMounted(() => {
|
||||||
getStuList();
|
getStuList();
|
||||||
|
|||||||
Reference in New Issue
Block a user