|
@@ -626,23 +626,27 @@ const getQueryDataRangeSpeed = async () => {
|
|
count: Number(valueObj.batch_size),
|
|
count: Number(valueObj.batch_size),
|
|
time: Number(valueObj.interval),
|
|
time: Number(valueObj.interval),
|
|
};
|
|
};
|
|
|
|
+ mockTotalText.value = {
|
|
|
|
+ start_time: valueObj.start_time,
|
|
|
|
+ end_time: valueObj.end_time
|
|
|
|
+ };
|
|
// handleConditionHistoryRecords(valueObj.start_time, valueObj.end_time);
|
|
// handleConditionHistoryRecords(valueObj.start_time, valueObj.end_time);
|
|
mockStart(true);
|
|
mockStart(true);
|
|
};
|
|
};
|
|
onMounted(async () => {
|
|
onMounted(async () => {
|
|
nextTick(() => {
|
|
nextTick(() => {
|
|
pageInit()
|
|
pageInit()
|
|
- getMockTotal()
|
|
|
|
|
|
+ // getMockTotal()
|
|
})
|
|
})
|
|
});
|
|
});
|
|
-const getMockTotal = () => {
|
|
|
|
- mockTotal({}).then((res) => {
|
|
|
|
- mockTotalText.value = {
|
|
|
|
- start_time: res.data.start_time,
|
|
|
|
- end_time: res.data.end_time
|
|
|
|
- };
|
|
|
|
- });
|
|
|
|
-};
|
|
|
|
|
|
+// const getMockTotal = () => {
|
|
|
|
+// mockTotal({}).then((res) => {
|
|
|
|
+// mockTotalText.value = {
|
|
|
|
+// start_time: res.data.start_time,
|
|
|
|
+// end_time: res.data.end_time
|
|
|
|
+// };
|
|
|
|
+// });
|
|
|
|
+// };
|
|
const pageInit = async () => {
|
|
const pageInit = async () => {
|
|
getcateData();
|
|
getcateData();
|
|
getQueryDataRangeSpeed();
|
|
getQueryDataRangeSpeed();
|