派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-04-14 a5a58426a84b5ee8da48d7d4875f5871d08bfe45
src/components/BaseNav/PublicBounced/common/echarts/EChartsHourWasteWater.vue
@@ -53,7 +53,7 @@
                   center
                   v-dialogDrag
        >
            <div class="el-dialog-div" style="height: 260px">
            <div class="el-dialog-div" style="height: 500px">
                <public-detailed-list v-bind="$attrs"></public-detailed-list>
            </div>
        </el-dialog>
@@ -62,6 +62,7 @@
<script>
import PublicDetailedList from '@components/BaseNav/PublicBounced/common/echarts/PublicDetailedList'
import dayjs from 'dayjs'
export default {
  name: 'ECharts',
@@ -137,6 +138,11 @@
    }
  },
  mounted () {
    this.formInline.timeEnd = dayjs().format('YYYY-MM-DD HH:mm:ss')
    this.formInline.timeStart = dayjs().subtract(12, 'hour').format('YYYY-MM-DD HH:mm:ss')
    this.onSubmit()
  },
  updated () {
    this.onSubmit()
  },
  methods: {
@@ -322,7 +328,8 @@
      grid: { // 网格
        top: '20%',
        left: '7%',
        bottom: '10%'
        bottom: '10%',
        right: '5%'
      },
      legend: {
        data: legend,
@@ -683,9 +690,7 @@
        }
    }
    .el-dialog-div {
        //height: 50vh!important;
        overflow: auto;
        //overflow: hidden;
    }
    #echarts {