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