|
@@ -396,14 +396,22 @@ export default {
|
|
|
onPracticeExport() {
|
|
|
// 导出VIP课
|
|
|
let searchForm = this.searchForm;
|
|
|
-
|
|
|
+ let obj = {
|
|
|
+ search: searchForm.search || null,
|
|
|
+ teacherId: searchForm.teacherId || null,
|
|
|
+ organId: searchForm.organIdList || null,
|
|
|
+ hasEducationalTeacherId: searchForm.hasEducationalTeacherId || null,
|
|
|
+ type: searchForm.firstOrRenew || null,
|
|
|
+ practiceGroupType: searchForm.practiceGroupType || null,
|
|
|
+ groupStatus: searchForm.groupStatus || null
|
|
|
+ };
|
|
|
let url = "/api-web/export/practiceGroupList";
|
|
|
const options = {
|
|
|
method: "get",
|
|
|
headers: {
|
|
|
Authorization: getToken()
|
|
|
},
|
|
|
- params: cleanDeep(searchForm),
|
|
|
+ params: cleanDeep(obj),
|
|
|
url,
|
|
|
responseType: "blob"
|
|
|
};
|