派生自 wuyushui/SewerAndRainNetwork

wangqi
2021-04-14 6d4e23a29f40b4739aa46436e5b703ecde4b39aa
src/components/BaseNav/PublicBounced/common/echarts/EChartsDate.vue
@@ -58,6 +58,7 @@
<script>
import PublicDetailedList from '@components/BaseNav/PublicBounced/common/echarts/PublicDetailedList'
import dayjs from 'dayjs'
export default {
  name: 'ECharts',
@@ -140,6 +141,8 @@
    }
  },
  mounted () {
    this.formInline.timeEnd = dayjs().format('YYYY-MM-DD HH:mm:ss')
    this.formInline.timeStart = dayjs().subtract(1, 'month').format('YYYY-MM-DD HH:mm:ss')
    this.onSubmit()
    // this.CreateChart(this.JsonDayCharts.id, this.JsonDayCharts.title, this.JsonDayCharts.legend, this.JsonDayCharts.xdata, this.JsonDayCharts.ydatas, this.JsonDayCharts.yname, this.JsonDayCharts.id, this.JsonDayCharts.datatype)
  },
@@ -332,7 +335,8 @@
        },
        grid: { // 网格
          top: '20%',
          left: '5%'
          left: '12%',
          bottom: '15%'
          // containLabel: true
        },
        legend: { // 图例