|
@@ -24,6 +24,9 @@
|
|
|
<auth :auths="['musicGroup/finishPreApply/item']">
|
|
|
<el-button type="primary" @click="onPaymentGroup(1)">特色乐团缴费</el-button>
|
|
|
</auth>
|
|
|
+ <auth :auths="['musicGroup/finishPreApply/item']">
|
|
|
+ <el-button type="primary" @click="downloadFile">导出</el-button>
|
|
|
+ </auth>
|
|
|
</div>
|
|
|
|
|
|
<div class="m-core">
|
|
@@ -224,6 +227,7 @@ import pagination from "@/components/Pagination/index";
|
|
|
import qrCode from '@/components/QrCode/index';
|
|
|
import { permission } from "@/utils/directivePage";
|
|
|
import { vaildStudentUrl } from '@/utils/validate'
|
|
|
+import { Export } from '@/utils/downLoadFile'
|
|
|
import visitModel from '@/views/withdrawal-application/modals/visit'
|
|
|
import { queryPreApplyList, finishPreApply, sendParentMeetingNotice } from './api'
|
|
|
export default {
|
|
@@ -282,6 +286,19 @@ export default {
|
|
|
this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
this.$router.push({ path: "/business/teamDetail" });
|
|
|
},
|
|
|
+ downloadFile() {
|
|
|
+ let params = this.searchForm;
|
|
|
+ Export(
|
|
|
+ this,
|
|
|
+ {
|
|
|
+ url: "/api-web/studentRegistration/preRegisterExport",
|
|
|
+ params: {
|
|
|
+ ...params,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ "是否确认导出报表?"
|
|
|
+ );
|
|
|
+ },
|
|
|
async getList() {
|
|
|
try {
|
|
|
const result = await queryPreApplyList({
|