mo il y a 2 ans
Parent
commit
c5e85225a1
1 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 7 3
      src/views/smallCourseConsumption/modals/preDetail.vue

+ 7 - 3
src/views/smallCourseConsumption/modals/preDetail.vue

@@ -135,9 +135,13 @@ export default {
   },
   computed:{
     onExport(){
-      return {
-        ...this.searchForm
-      }
+      const { timer, ...rest } = this.searchForm;
+      let obj = {
+          ...rest,
+          ...getTimes(timer, ["startDate", "endDate"]),
+
+        }
+      return obj
     }
   }
 }