shudonghui 1 ano atrás
pai
commit
d0d4722526

+ 1 - 0
src/views/report/dispatch-analysis/index.vue

@@ -170,6 +170,7 @@
       v-model:visible="showMonthDispatchDrill"
       :data="monthDispatchDrillData"
       :footer="false"
+      :timeParams="timeParams"
     ></MonthDispatchDrillDialog>
     <RegionDispatchDrillDialog
       v-model:visible="showRegionDispatchDrill"

+ 3 - 0
src/views/report/dispatch-analysis/month-dispatch-drill-dialog.vue

@@ -63,6 +63,7 @@ const tableColumns = [
 const props = defineProps({
   visible: Boolean,
   data: Object,
+  timeParams: Object,
 });
 const emit = defineEmits(['close']);
 
@@ -77,6 +78,8 @@ const transParams = computed(() => {
     type: props.data?.type,
     month: props.data?.month,
     year: props.data?.year,
+    startTime: props.timeParams.startTime,
+    endTime: props.timeParams.endTime,
   };
 });