Browse Source

Merge branch '02/24resetMain' into test

mo 4 years ago
parent
commit
fef9242ff6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/studentManager/components/studentOrder.vue

+ 3 - 2
src/views/studentManager/components/studentOrder.vue

@@ -349,6 +349,7 @@
 <script>
 import pagination from "@/components/Pagination/index";
 import { Export } from "@/utils/downLoadFile";
+import qs from 'qs'
 import {
   studentPaymentOrderList,
   getUserCashAccountBaseInfo,
@@ -683,7 +684,7 @@ export default {
           url: '/api-web/export/userCoursesAccount',
           fileName: '学员课程明细.xls',
           method: 'post',
-          params: { userId: this.$route.query.userId }
+          params:qs.stringify({ userId: this.$route.query.userId })
         }, '您确定导出学员课程明细?')
     },
     userCashAccountDetailExport() {
@@ -691,7 +692,7 @@ export default {
           url: '/api-web/export/userCashAccountDetail',
           fileName: '学员现金明细.xls',
           method: 'post',
-          params: { userId: this.$route.query.userId }
+          params:qs.stringify({ userId: this.$route.query.userId })
         }, '您确定导出学员现金明细?')
     },
   },