派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-04-14 a5a58426a84b5ee8da48d7d4875f5871d08bfe45
src/components/BaseNav/PublicBounced/common/echarts/Echarts.vue
@@ -36,7 +36,9 @@
        </div>
        <div class="detailbtn"  @click="onSubmit">查询</div>
      </div>
      <div style="width:5rem;height:2rem;" ref="echarts"></div>
      <div style="width:5rem;height:1.5rem;" >
        <div  style="width:100%;height:100%;" ref="echarts">  </div>
      </div>
      </div>
    </div>
</template>
@@ -62,7 +64,6 @@
        timeEnd: ''
      },
      RealTimeChart: null,
      info: this.series,
      JsonTimeCtarts: {
        id: 'mychart_ss ',
        title: '烟尘',
@@ -206,8 +207,8 @@
    }
  },
  mounted () {
    // const Day = new Date()
    // console.log(Day)
    this.formInline.timeEnd = dayjs().format('YYYY-MM-DD HH:mm:ss')
    this.formInline.timeStart = dayjs().subtract(1, 'minute').format('YYYY-MM-DD HH:mm:ss')
    this.DrawEXHRealTimeDateChart(this.JsonTimeCtarts.id, this.JsonTimeCtarts.title, this.JsonTimeCtarts.legend, this.JsonTimeCtarts.ydatas, this.JsonTimeCtarts.yname)
  },
  methods: {
@@ -440,7 +441,7 @@
          }
        }, { // 流量轴
          type: 'value',
          name: '废气流量(m3/h)',
          name: '流量(m3/h)',
          axisLabel: {
            formatter: '{value}',
            textStyle: {