lex 1 éve
szülő
commit
f2da0f1a1c

+ 1 - 1
src/views/main/coursewareDate/exerciseDuration.vue

@@ -44,7 +44,7 @@
       type="primary"
       @click="exportQuestion"
       style="margin: 16px 0"
-      v-permission="'export/managerDownload/num'"
+      v-permission="'studentCoursewarePlayRecord/exportStatList'"
       >导出</el-button
     >
     <div class="tableWrap">

+ 6 - 5
src/views/main/coursewareDate/exerciseDurationDetail.vue

@@ -58,7 +58,7 @@
         type="primary"
         @click="exportQuestion"
         style="margin: 0 0 16px"
-        v-permission="'export/managerDownload/numDetail'"
+        v-permission="'studentCoursewarePlayRecord/exportStatDetailPage'"
         >导出</el-button
       >
       <div class="tableWrap">
@@ -284,18 +284,19 @@ export default {
       this.getList();
     },
     exportQuestion() {
-      const { dates, organId } = this.searchForm;
+      const { dates, organId, asc, sort } = this.searchForm;
       Export(
         this,
         {
-          url: "/api-web/export/managerDownload",
+          url: "/api-web/studentCoursewarePlayRecord/exportStatDetailPage",
           fileName: "云练习练习时长.xls",
           method: "post",
           params: {
-            exportEnum: "EXPORT_CLOUD_TEACHER_SUM_DETAIL",
             queryInfo: {
               ...getTimes(dates, ["startDate", "endDate"]),
-              organId
+              organizationId: organId,
+              asc,
+              sort
             }
           }
         },