|
@@ -26,7 +26,7 @@
|
|
|
style="margin-top: 10px"
|
|
|
/>
|
|
|
<div class="imgechatr">
|
|
|
- <Echarts :id="dataid" :option="echartsData" />
|
|
|
+ <Echarts :id="dataid" :option="echartsData" :options="optiontime" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -109,6 +109,7 @@ export default {
|
|
|
options: [],
|
|
|
},
|
|
|
],
|
|
|
+ optiontime: [],
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -137,6 +138,13 @@ export default {
|
|
|
fd2: data.dateTime + " 23:00:00",
|
|
|
},
|
|
|
];
|
|
|
+ this.optiontime = [
|
|
|
+ Format(
|
|
|
+ "yyyy-MM-dd",
|
|
|
+ new Date(new Date(data.dateTime).getTime() - 24 * 60 * 60 * 1000)
|
|
|
+ ),
|
|
|
+ data.dateTime,
|
|
|
+ ];
|
|
|
// this.getQuery(option, null);
|
|
|
this.getQuerys(option, data.dateTime);
|
|
|
// this.listname =
|