12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!-- 建筑立面图 -->
- <template>
- <div class='build-list'>
- <el-table :data='tableData' style='width: 100%' @row-click='innerVisible = true'>
- <el-table-column prop='floor' label='楼层' width='120'></el-table-column>
- <el-table-column prop='welldes' label='电井间' width='160'></el-table-column>
- <el-table-column prop='meterbox' label='商铺电表数'></el-table-column>
- <el-table-column prop='shopsnum' label='商铺编号'></el-table-column>
- </el-table>
- <div>
- <img src alt />
- </div>
- </div>
- </template>
- <script>
- import { queryEquipmentList } from '@/api/equipmentList.js'
- import { mapGetters } from 'vuex'
- export default {
- components: { Select, EqDetail },
- data() {
- return {
- tableData: []
- }
- },
- computed: {
- ...mapGetters(['floorsArr'])
- },
- methods: {
- getList() {
- let postParams = {
- tab_code: this.param
- }
- let data = {
- plazaId: this.$store.state.plazaId,
- major: this.major
- }
- queryEquipmentList({ data, postParams }).then(res => {
- console.log(res)
- this.tableData = res.data.data
- this.total = res.data.count
- })
- }
- },
- mounted() {}
- }
- </script>
- <style lang="less" scoped>
- .build-list {
- .eq-list-top {
- display: flex;
- }
- .foot {
- position: absolute;
- height: 32px;
- right: 26px;
- bottom: 20px;
- }
- td {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- </style>
|