| | |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="projectName" label="项目" min-width="100px"></el-table-column> |
| | | <el-table-column prop="buildingName" label="楼宇" min-width="70px"></el-table-column> |
| | | <el-table-column prop="floor" label="楼层" min-width="60px"></el-table-column> |
| | | <el-table-column prop="floorName" label="楼层" min-width="60px"></el-table-column> |
| | | <el-table-column prop="roomNum" label="房号" min-width="60px"></el-table-column> |
| | | <el-table-column prop="rentArea" label="计租面积(m²)" min-width="80px"></el-table-column> |
| | | <el-table-column prop="feeArea" label="计费面积(m²)" min-width="80px"></el-table-column> |
| | |
| | | }, |
| | | projectList: [], |
| | | buildList: [], |
| | | |
| | | filters: {} |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | changeProject(e) { |
| | | this.searchForm.buildingId = '' |
| | | getBuildList({ id: e }).then(res => { |
| | | getBuildList({ projectId: e }).then(res => { |
| | | this.buildList = res || [] |
| | | }) |
| | | }, |
| | | editClick(row) { |
| | | if (row && row.id) { |
| | | this.$refs.operaYwRoomWindow.open('编辑房间') |
| | | this.$refs.operaYwRoomWindow.open('编辑房间', row) |
| | | } else { |
| | | this.$refs.operaYwRoomWindow.open('新建房间') |
| | | } |
| | | this.$refs.operaYwRoomWindow.getProject() |
| | | }, |
| | | } |
| | | } |