|
@@ -621,7 +621,7 @@ const getQueryDataRangeSpeed = async () => {
|
|
|
count: Number(valueObj.batch_size),
|
|
|
time: Number(valueObj.interval),
|
|
|
};
|
|
|
- handleConditionHistoryRecords(valueObj.start_time, valueObj.end_time);
|
|
|
+ // handleConditionHistoryRecords(valueObj.start_time, valueObj.end_time);
|
|
|
mockStart(true);
|
|
|
};
|
|
|
onMounted(async () => {
|
|
@@ -723,7 +723,6 @@ const handleDateRangeChange = (dates: { start: any; end: any }) => {
|
|
|
};
|
|
|
// 工况历史记录
|
|
|
const handleConditionHistoryRecords = async (s: string, d: string) => {
|
|
|
- console.log("handleConditionHistoryRecords", s, d);
|
|
|
const params = {
|
|
|
minTime: s,
|
|
|
maxTime: d,
|
|
@@ -771,10 +770,10 @@ const prevWeek = async () => {
|
|
|
} else {
|
|
|
setParamsHl(start, end);
|
|
|
}
|
|
|
- handleConditionHistoryRecords(
|
|
|
- hlQueryParams.value.eDate[0],
|
|
|
- hlQueryParams.value.eDate[1]
|
|
|
- );
|
|
|
+ // handleConditionHistoryRecords(
|
|
|
+ // hlQueryParams.value.eDate[0],
|
|
|
+ // hlQueryParams.value.eDate[1]
|
|
|
+ // );
|
|
|
};
|
|
|
// 下一周
|
|
|
const nextWeek = async () => {
|
|
@@ -800,10 +799,10 @@ const nextWeek = async () => {
|
|
|
} else {
|
|
|
setParamsHl(start, end);
|
|
|
}
|
|
|
- handleConditionHistoryRecords(
|
|
|
- hlQueryParams.value.eDate[0],
|
|
|
- hlQueryParams.value.eDate[1]
|
|
|
- );
|
|
|
+ // handleConditionHistoryRecords(
|
|
|
+ // hlQueryParams.value.eDate[0],
|
|
|
+ // hlQueryParams.value.eDate[1]
|
|
|
+ // );
|
|
|
};
|
|
|
const setParamsHl = (start: string, end: string) => {
|
|
|
hlQueryParams.value.eDate = [
|
|
@@ -814,6 +813,10 @@ const setParamsHl = (start: string, end: string) => {
|
|
|
min_time: hlQueryParams.value.eDate[0],
|
|
|
max_time: hlQueryParams.value.eDate[1],
|
|
|
});
|
|
|
+ handleConditionHistoryRecords(
|
|
|
+ hlQueryParams.value.eDate[0],
|
|
|
+ hlQueryParams.value.eDate[1],
|
|
|
+ )
|
|
|
};
|
|
|
const onClickStart = async () => {
|
|
|
|