| | |
| | | </template> |
| | | |
| | | <script> |
| | | import mapApi from '@/api/mapApi' |
| | | |
| | | export default { |
| | | name: 'PublicTable', |
| | | props: ['displayContentTable'], |
| | |
| | | }, |
| | | 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, |