Bläddra i källkod

添加预报名导出

lex-xin 4 år sedan
förälder
incheckning
fc39a0a383
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      src/views/teamBuild/forecastName.vue

+ 3 - 1
src/views/teamBuild/forecastName.vue

@@ -24,7 +24,7 @@
             <auth :auths="['musicGroup/finishPreApply/item']">
             <auth :auths="['musicGroup/finishPreApply/item']">
               <el-button type="primary" @click="onPaymentGroup(1)">特色乐团缴费</el-button>
               <el-button type="primary" @click="onPaymentGroup(1)">特色乐团缴费</el-button>
             </auth>
             </auth>
-            <auth :auths="['musicGroup/finishPreApply/item']">
+            <auth :auths="['studentRegistration/preRegisterExport']">
               <el-button type="primary" @click="downloadFile">导出</el-button>
               <el-button type="primary" @click="downloadFile">导出</el-button>
             </auth>
             </auth>
         </div>
         </div>
@@ -294,7 +294,9 @@ export default {
                     url: "/api-web/studentRegistration/preRegisterExport",
                     url: "/api-web/studentRegistration/preRegisterExport",
                     params: {
                     params: {
                         ...params,
                         ...params,
+                        musicGroupId: this.musicGroupId
                     },
                     },
+                    fileName: '预报名列表.xlsx'
                 },
                 },
                 "是否确认导出报表?"
                 "是否确认导出报表?"
             );
             );