src/views/home/data-car/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/home/data-face/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/home/data-video/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/home/data-car/index.vue
@@ -28,8 +28,7 @@ import * as echarts from 'echarts'; import {car} from "../../../api/platform/home"; var chartDom = document.getElementById('main'); var myChart = echarts.init(chartDom); var myChart = null; var option; let observer = null; export default { @@ -275,6 +274,7 @@ const month = (date.getMonth() + 1) >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1); this.date = year + '-' + month; this.params.date = this.date; myChart = echarts.init(this.$refs.chartContent); this.getChart(); this.observe(); }, src/views/home/data-face/index.vue
@@ -28,8 +28,8 @@ import * as echarts from 'echarts'; import {car, face} from "../../../api/platform/home"; var chartDom = document.getElementById('main'); var myChart = echarts.init(chartDom); var myChart = null; var option; let observer = null; export default { @@ -276,6 +276,7 @@ const month = (date.getMonth() + 1) >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1); this.date = year + '-' + month; this.params.date = this.date; myChart = echarts.init(this.$refs.chartContent); this.getChart(); this.observe(); }, src/views/home/data-video/index.vue
@@ -27,8 +27,7 @@ <script> import * as echarts from 'echarts'; import {video} from "../../../api/platform/home"; var chartDom = document.getElementById('main'); var myChart = echarts.init(chartDom); var myChart =null; var option; let observer = null; export default { @@ -122,7 +121,7 @@ </div>`; }).join(''); tooltipHtml = `${tooltipHtml}${pointsHtml}`; tooltipHtml += `<div style="font-weight: bold; margin-top: 10px;padding:0 12px;">录像正常参考值: ${baseLine.toLocaleString()}</div>`; tooltipHtml += `<div style="font-weight: bold; margin-top: 10px;padding:0 12px;">录像完整参考值: ${baseLine.toLocaleString()}</div>`; return tooltipHtml; } @@ -260,6 +259,7 @@ const month = (date.getMonth() + 1) >= 10 ? date.getMonth() + 1 : '0' + (date.getMonth() + 1); this.date = year + '-' + month; this.params.date = this.date; myChart = echarts.init(this.$refs.chartContent); this.getChart(); this.observe(); },