派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-16 fe044e84d18dee6ebf1244e622b2ad0c918872cb
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,