| | |
| | | <div id="Tab"> |
| | | <div class="infomation"> |
| | | <div> |
| | | <span class="grid-content">氮氧化物 :<i>29.93</i> 标准 : 100</span> |
| | | <span class="grid-content">二氧化硫 : <i>17.34</i> 标准 : 50</span> |
| | | <span class="grid-content">烟尘 : <i>6.93</i> 标准 : 30</span> |
| | | <span class="grid-content">废气流量 : <i>120343.18</i></span> |
| | | <span class="grid-content">COD :<i>6.039</i> 标准 : 100</span> |
| | | <span class="grid-content">氨氮 : <i>0.38</i> 标准 : 50</span> |
| | | <span class="grid-content">废水流量 : <i>254.643997</i></span> |
| | | </div> |
| | | </div> |
| | | <div class="form-echrts"> |
| | |
| | | timeEnd: '' |
| | | }, |
| | | myChart: null, |
| | | JsonWater: { |
| | | JsonHourWater: { |
| | | id: 'mycharteff', |
| | | title: '', |
| | | datatype: 2, |
| | |
| | | }, |
| | | methods: { |
| | | onSubmit () { |
| | | console.log(1) |
| | | |
| | | // const date = [this.value1, this.value2, this.formInline.region] |
| | | this.effChartShow(this.JsonWater.id, this.JsonWater.title, this.JsonWater.legend, this.JsonWater.xdata, this.JsonWater.ydatas, this.JsonWater.yname, this.JsonWater.id, this.JsonWater.datatype) |
| | | // console.log(date) |
| | | // if (date) { |
| | | // var date1 = new Date(date) |
| | | // date1 = new Date(date1.getTime() - (8 * 3600000)) |
| | | // console.log(date1) |
| | | // var dateUtil = new DateUtil() |
| | | // var datePkg = dateUtil.getTowDate(date1, "a", 24 * 3600000 - 1); |
| | | // var datatype = 2; |
| | | this.effChartShow(this.JsonHourWater.id, this.JsonHourWater.title, this.JsonHourWater.legend, this.JsonHourWater.xdata, this.JsonHourWater.ydatas, this.JsonHourWater.yname, this.JsonHourWater.id, this.JsonHourWater.datatype) |
| | | }, |
| | | effChartShow: function (id, title, legend, xdata, ydatas, yname, jcdID, datatype) { |
| | | this.myChart = this.$echarts.init(this.$refs.main) |