--fix 在线课导出

This commit is contained in:
yuping
2023-03-23 14:02:07 +08:00
parent 5544b1b152
commit 45cc2eb7d3

View File

@@ -147,7 +147,7 @@ const searchParams = useResetRef({
pageSize: 10, pageSize: 10,
type: props.type || "", type: props.type || "",
types: props.types, types: props.types,
pid: props.id || "", pid: "",
}); });
const columns = ref([ const columns = ref([
@@ -315,7 +315,7 @@ function reset() {
} }
function exportStu() { function exportStu() {
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudent?type=3&&thirdType=8&pid=${props.id}`); window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudent?type=3&&thirdType=8&pid=${searchParams.value.pid}`);
} }
defineExpose({ defineExpose({