派生自 wuyushui/SewerAndRainNetwork

徐旺旺
2021-04-18 e25ff993695e7a4b394a5d1aa102f113dbe5316b
src/components/BaseNav/WasteSolid/PublicTable.vue
@@ -14,6 +14,8 @@
</template>
<script>
import mapApi from '@/api/mapApi'
export default {
  name: 'PublicTable',
  props: ['displayContentTable'],
@@ -54,10 +56,18 @@
  },
  mounted () {
    this.$nextTick(() => {
      this.listData.push(this.displayContentTable[0], {}, {}, {}, {}, {}, {})
      this.listData.push({}, {}, {}, {}, {}, {})
    })
  },
  methods: {
    async refsDataTable (data) {
      const StoragePlaceId = {
        StoragePlaceId: data
      }
      const result = await mapApi.getSolidWasteDetail(StoragePlaceId)
      this.listData = result.Result.DataInfo[0]
      console.log(this.listData)
    },
    // 隔行颜色设置
    tableRowClassName ({
      row,