刘洋 5 months ago
parent
commit
96249fec72
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/work-hours/work-hours-manage/work-statistics/index.vue

+ 4 - 1
src/views/work-hours/work-hours-manage/work-statistics/index.vue

@@ -163,7 +163,10 @@ const params = reactive({
 });
 
 const exportFile = () => {
-  exportWorkApi(params).then(() => {
+  exportWorkApi({
+    serviceId: params.serviceId,
+    type: params.type,
+  }).then(() => {
     MessagePlugin.success('导出成功');
   });
 };