|
@@ -144,6 +144,7 @@
|
|
|
width="95%"
|
|
|
append-to-body
|
|
|
center
|
|
|
+ @close="initData()"
|
|
|
>
|
|
|
<div
|
|
|
class="chart-container"
|
|
@@ -241,10 +242,6 @@ export default {
|
|
|
],
|
|
|
MINUTE: [
|
|
|
{
|
|
|
- type: "5",
|
|
|
- value: "5分钟",
|
|
|
- },
|
|
|
- {
|
|
|
type: "10",
|
|
|
value: "10分钟",
|
|
|
},
|
|
@@ -480,7 +477,7 @@ export default {
|
|
|
} else if (val === "HOUR") {
|
|
|
this.statisticalInterval = "1";
|
|
|
} else if (val === "MINUTE") {
|
|
|
- this.statisticalInterval = "5";
|
|
|
+ this.statisticalInterval = "10";
|
|
|
}
|
|
|
} else if (type === "DAY") {
|
|
|
this.statisticalInterval = "1";
|
|
@@ -500,6 +497,11 @@ export default {
|
|
|
// type === "DAY" || (type === "lx" && val === "MINUTE")
|
|
|
});
|
|
|
},
|
|
|
+ initData() {
|
|
|
+ this.statisticalInterval = "1";
|
|
|
+ this.logDate = null;
|
|
|
+ this.timeTypeValue = "HOUR";
|
|
|
+ },
|
|
|
selectFlightNumber(row) {
|
|
|
this.selectRow = row;
|
|
|
if (row.flightNumber) {
|