派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-04-14 a5a58426a84b5ee8da48d7d4875f5871d08bfe45
修改明细表弹窗问题
5个文件已修改
27 ■■■■■ 已修改文件
src/components/BaseNav/PublicBounced/common/PublicChart.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/PublicBounced/common/echarts/EChartsDateWasteWater.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/PublicBounced/common/echarts/EChartsHour.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/PublicBounced/common/echarts/EChartsHourWasteWater.vue 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/PublicBounced/common/echarts/PublicDetailedList.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BaseNav/PublicBounced/common/PublicChart.vue
@@ -70,8 +70,10 @@
    current (currentTab) {
      if (this.$attrs.value === 'feishui') {
        currentTab = 'EChartsHourWasteWater'
        console.log(currentTab)
      } else {
        currentTab = 'EChartsHour'
        console.log(currentTab)
      }
      return currentTab
    }
src/components/BaseNav/PublicBounced/common/echarts/EChartsDateWasteWater.vue
@@ -319,7 +319,8 @@
            grid: { // 网格
              top: '20%',
              left: '7%',
              bottom: '10%'
              bottom: '10%',
              right: '5%'
            },
            legend: {
              data: legend
src/components/BaseNav/PublicBounced/common/echarts/EChartsHour.vue
@@ -135,11 +135,6 @@
      }
    }
  },
  created () {
    // this.$nextTick(() => {
    // this.CreateChart(this.JsonCtarts.id, this.JsonCtarts.title, this.JsonCtarts.legend, this.JsonCtarts.xdata, this.JsonCtarts.ydatas, this.JsonCtarts.yname, this.JsonCtarts.id, this.JsonCtarts.datatype)
    // }
  },
  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')
@@ -462,7 +457,7 @@
        }],
        series: serLists
      }
      console.log(option)
      // console.log(option)
      this.myChart.setOption(option)
      /*
      this.myChart.on('legendselectchanged', function (params) {
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 {
src/components/BaseNav/PublicBounced/common/echarts/PublicDetailedList.vue
@@ -39,7 +39,7 @@
    }
  },
  mounted () {
    console.log(this.$attrs.value)
    // console.log(this.$attrs.value)
    if (this.$attrs.value === 'feiqi') {
      this.tableData = this.$attrs.getWasteGasDetails
      // console.log(this.$attrs.getWasteGasDetails)