wujingjing
2024-10-24 ca5d73c3932e6b801f098bd615621d4543651cfe
src/components/chat/chatComponents/summaryCom/components/recordSet/RecordSet.vue
@@ -112,15 +112,6 @@
const tableLimitHeight = props.chartHeight == undefined ? undefined : document.body.clientHeight * 0.7;
const checkIsDayTime = () => {
   if (!props.showFilter) return false;
   const stepFilter = visibleParams.value.find((item) => item.type === RecordSetParamsType.Step);
   if (!stepFilter.origin.step_value) return false;
   return IS_DAY_LIST.includes(stepFilter.origin.step_value);
};
// 跨度是否是日期形式
const isDayTime = checkIsDayTime();
const chartLoading = ref(false);
const stepOptions = [
@@ -190,6 +181,16 @@
};
const visibleParams = ref(getVisibleParams(props.data));
const checkIsDayTime = () => {
   if (!props.showFilter) return false;
   const stepFilter = visibleParams.value.find((item) => item.type === RecordSetParamsType.Step);
   if (!stepFilter.origin.step_value) return false;
   return IS_DAY_LIST.includes(stepFilter.origin.step_value);
};
// 跨度是否是日期形式
// const isDayTime = checkIsDayTime();
let groupedValues = null;
let timeIndex = undefined;
let valueIndex = undefined;