Explorar el Código

导出周会记录修改

ysc hace 2 años
padre
commit
6fd574d061
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 2 2
      src/api/meeting/meeting.js
  2. 1 1
      src/views/meeting/weeklyRecords.vue

+ 2 - 2
src/api/meeting/meeting.js

@@ -106,9 +106,9 @@ export function getTodoMeetings(){
   })
 }
 
-export function downloadPdf(){
+export function downloadPdf(meetingId,weeks){
   return download({
-    url: '/meeting/download',
+    url: '/meeting/download?meetingId='+meetingId+'&weeks='+weeks,
     method: 'get',
     responseType: 'blob',
   })

+ 1 - 1
src/views/meeting/weeklyRecords.vue

@@ -227,7 +227,7 @@ export default {
 
     },
     exportPdf() {
-      downloadPdf()
+      downloadPdf(this.meetingId,this.weeks)
     },
   }