派生自 wuyushui/SewerAndRainNetwork

ChenZeping
2021-04-27 4e725a04dbe02d7c631a82da0526c5ef5defa15c
src/components/BaseNav/WasteSolid/PublicTable.vue
@@ -54,11 +54,11 @@
      ]
    }
  },
  mounted () {
    this.$nextTick(() => {
      // this.listData.push(this.listData2, {}, {}, {}, {}, {})
    })
  },
  // mounted () {
  //   this.$nextTick(() => {
  //
  //   })
  // },
  methods: {
    async refsDataTable (data) {
      const StoragePlaceId = {
@@ -66,6 +66,8 @@
      }
      const result = await mapApi.getSolidWasteDetail(StoragePlaceId)
      this.listData = result.Result.DataInfo[0]
      this.listData.push({}, {}, {}, {}, {})
      // console.log(this.listData)
    },
    // 隔行颜色设置
    tableRowClassName ({
@@ -85,10 +87,21 @@
<style lang="less" scoped>
/deep/ .el-table thead tr {
  color: #02a6b5 !important;
  //.el-table .has-gutter tr th .cell {
  //  //color: #fff; 435
  //}
}
/deep/ .el-table td {
  border-bottom: none !important;
}
/deep/ .el-table .has-gutter tr th {
  border: none;
}
/deep/ .el-table th.is-leaf {
  border-bottom: none !important;
}