--fix bug

This commit is contained in:
yuping
2023-03-18 15:30:30 +08:00
parent 58758da4e9
commit a4e6e03791

View File

@@ -77,6 +77,13 @@
</a-button>
</CommonStudent>
</a-col>
<a-col>
<a-button class="cus-btn" style="background: #4ea6ff; color: #fff; width: 100px" @click="exportStu(record.id)">
<template #icon><img style="margin-right: 10px" src="../../assets/images/courseManage/search0.png"/>
</template>
导出
</a-button>
</a-col>
</a-row>
<div style="margin-top: 20px">
<a-table
@@ -307,6 +314,10 @@ watch(visiable, () => {
searchParams.value = initParams;
});
function exportStu(){
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportOnlineStudent?type=3&&thirdType=8&pid=${props.id}`);
}
defineExpose({
searchStu,
loading,