派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-04-22 20bac7bbc63788b14a40757da47a7f200d4155c1
src/components/BaseNav/WasteGas/RealData.vue
@@ -130,7 +130,6 @@
        $step: 15
      }
      const result = (await mapApi.DataItems(data)).data
      console.log(result)
      this.getRtdb15s(result)
    },
    // echarts数据处理
@@ -294,7 +293,7 @@
          // 临时数据
          const BBZMAPPING = [
            {
              COD: 35,
              二氧化碳: 35,
              ph: 9,
              总氮: 15,
              总磷: 0.3,
@@ -425,13 +424,13 @@
          }
        }
        if (ydatas[i].name === '废气流量' || ydatas[i].name === '废气') {
        if (ydatas[i].name === '氮氧化物' || ydatas[i].name === '废气') {
          obj.yAxisIndex = 1
        }
        // 临时
        const datatype = 1
        if (datatype === 1) {
          dataUnit = '流量(m³/d)'
          dataUnit = '废气流量(m³/d)'
        } else {
          dataUnit = '流量(m³/h)'
        }
@@ -551,9 +550,10 @@
        yAxis: [{
          type: 'value',
          name: yname,
          max: function (value) {
            return parseInt(value.max + 30)
          },
          // max: function (value) {
          //   console.log(value)
          //   return parseInt(value.max + 30)
          // },
          axisLabel: {
            formatter: '{value}',
            textStyle: {