|  | @@ -344,6 +344,7 @@
 | 
											
												
													
														|  |  import pagination from "@/components/Pagination/index";
 |  |  import pagination from "@/components/Pagination/index";
 | 
											
												
													
														|  |  import { Export } from "@/utils/downLoadFile";
 |  |  import { Export } from "@/utils/downLoadFile";
 | 
											
												
													
														|  |  import qs from "qs";
 |  |  import qs from "qs";
 | 
											
												
													
														|  | 
 |  | +import cleanDeep from "clean-deep";
 | 
											
												
													
														|  |  // 地图
 |  |  // 地图
 | 
											
												
													
														|  |  (function () {
 |  |  (function () {
 | 
											
												
													
														|  |    let func = EventTarget.prototype.addEventListener;
 |  |    let func = EventTarget.prototype.addEventListener;
 | 
											
										
											
												
													
														|  | @@ -765,16 +766,22 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      onExport() {
 |  |      onExport() {
 | 
											
												
													
														|  |        const { ...rest } = this.searchForm;
 |  |        const { ...rest } = this.searchForm;
 | 
											
												
													
														|  | 
 |  | +      let searchForm = this.searchForm;
 | 
											
												
													
														|  |        Export(
 |  |        Export(
 | 
											
												
													
														|  |          this,
 |  |          this,
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |            url: "/api-web/export/exportSchoolList",
 |  |            url: "/api-web/export/exportSchoolList",
 | 
											
												
													
														|  |            fileName: "教学点.xls",
 |  |            fileName: "教学点.xls",
 | 
											
												
													
														|  |            method: "post",
 |  |            method: "post",
 | 
											
												
													
														|  | -          params: qs.stringify({
 |  | 
 | 
											
												
													
														|  | -            visitFlag: this.$route.query.visitFlag,
 |  | 
 | 
											
												
													
														|  | -            ...rest,
 |  | 
 | 
											
												
													
														|  | -          }),
 |  | 
 | 
											
												
													
														|  | 
 |  | +          params: qs.stringify(
 | 
											
												
													
														|  | 
 |  | +            cleanDeep({
 | 
											
												
													
														|  | 
 |  | +              search: searchForm.search ? searchForm.search : null,
 | 
											
												
													
														|  | 
 |  | +              organId: searchForm.organId ? searchForm.organId : null,
 | 
											
												
													
														|  | 
 |  | +              publicFlag: searchForm.publicFlag ? searchForm.publicFlag : null,
 | 
											
												
													
														|  | 
 |  | +              rows: this.pageInfo.limit,
 | 
											
												
													
														|  | 
 |  | +              page: this.pageInfo.page,
 | 
											
												
													
														|  | 
 |  | +            })
 | 
											
												
													
														|  | 
 |  | +          ),
 | 
											
												
													
														|  |          },
 |  |          },
 | 
											
												
													
														|  |          "您确定导出教学点?"
 |  |          "您确定导出教学点?"
 | 
											
												
													
														|  |        );
 |  |        );
 |