|
@@ -231,6 +231,7 @@
|
|
|
<script>
|
|
|
import pagination from "@/components/Pagination/index";
|
|
|
import { permission } from "@/utils/directivePage";
|
|
|
+import cleanDeep from 'clean-deep'
|
|
|
import { commGroupStatus, practiceGroupType } from "@/utils/searchArray";
|
|
|
import {
|
|
|
getTeacher,
|
|
@@ -394,16 +395,15 @@ export default {
|
|
|
},
|
|
|
onPracticeExport() {
|
|
|
// 导出VIP课
|
|
|
- // let searchForm = this.searchForm;
|
|
|
- let data = {
|
|
|
- };
|
|
|
+ let searchForm = this.searchForm;
|
|
|
+
|
|
|
let url = "/api-web/export/practiceGroupList";
|
|
|
const options = {
|
|
|
method: "get",
|
|
|
headers: {
|
|
|
Authorization: getToken()
|
|
|
},
|
|
|
- params: data,
|
|
|
+ params: cleanDeep(searchForm),
|
|
|
url,
|
|
|
responseType: "blob"
|
|
|
};
|