|
@ -75,6 +75,31 @@ |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="resi-cell"> |
|
|
|
|
|
<div class="resi-cell-label">房屋用途</div> |
|
|
|
|
|
<div class="resi-cell-value"> |
|
|
|
|
|
|
|
|
|
|
|
<el-select v-model="purpose" placeholder="房屋用途" clearable> |
|
|
|
|
|
<el-option v-for="item in purposeArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue"> |
|
|
|
|
|
</el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="resi-cell"> |
|
|
|
|
|
<div class="resi-cell-label">备注</div> |
|
|
|
|
|
<div class="resi-cell-value"> |
|
|
|
|
|
|
|
|
|
|
|
<el-input v-model="remark" |
|
|
|
|
|
size="small" |
|
|
|
|
|
clearable |
|
|
|
|
|
placeholder="请输入备注"> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
<el-button style="margin-left:10px" |
|
|
<el-button style="margin-left:10px" |
|
|
class="diy-button--search" |
|
|
class="diy-button--search" |
|
|
size="small" |
|
|
size="small" |
|
@ -122,16 +147,16 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import CDialog from '@c/CDialog' |
|
|
import CDialog from '@c/CDialog' |
|
|
import communityTable from './communityTable' |
|
|
import communityTable from './communityTable' |
|
|
import buildTable from './buildTable' |
|
|
import buildTable from './buildTable' |
|
|
import roomTable from './roomTable' |
|
|
import roomTable from './roomTable' |
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
import { requestPost } from "@/js/dai/request"; |
|
|
import { mapGetters } from 'vuex' |
|
|
import { mapGetters } from 'vuex' |
|
|
import { Loading } from 'element-ui' // 引入Loading服务 |
|
|
import { Loading } from 'element-ui' // 引入Loading服务 |
|
|
|
|
|
|
|
|
let loading // 加载动画 |
|
|
let loading // 加载动画 |
|
|
export default { |
|
|
export default { |
|
|
data () { |
|
|
data () { |
|
|
return { |
|
|
return { |
|
|
filterText: '', |
|
|
filterText: '', |
|
@ -166,8 +191,19 @@ export default { |
|
|
ownerName: '', |
|
|
ownerName: '', |
|
|
ownerPhone: '', |
|
|
ownerPhone: '', |
|
|
rentFlag: '', |
|
|
rentFlag: '', |
|
|
|
|
|
purpose: '', |
|
|
|
|
|
remark: '', |
|
|
showRoomTable: false, |
|
|
showRoomTable: false, |
|
|
selObj: {}, |
|
|
selObj: {}, |
|
|
|
|
|
purposeArr: [ |
|
|
|
|
|
{ dictValue: '1', dictName: '住宅' }, |
|
|
|
|
|
{ dictValue: '2', dictName: '商业' }, |
|
|
|
|
|
{ dictValue: '3', dictName: '办公' }, |
|
|
|
|
|
{ dictValue: '4', dictName: '工业' }, |
|
|
|
|
|
{ dictValue: '5', dictName: '仓储' }, |
|
|
|
|
|
{ dictValue: '6', dictName: '商住混用' }, |
|
|
|
|
|
{ dictValue: '7', dictName: '其他' } |
|
|
|
|
|
] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
@ -206,7 +242,7 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
|
|
|
handleSearch () { |
|
|
handleSearch () { |
|
|
if (this.ownerName || this.ownerPhone || this.rentFlag) { |
|
|
if (this.ownerName || this.ownerPhone || this.rentFlag || this.purpose || this.remark) { |
|
|
this.showRoomTable = true |
|
|
this.showRoomTable = true |
|
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
@ -224,6 +260,8 @@ export default { |
|
|
this.ownerName = '' |
|
|
this.ownerName = '' |
|
|
this.ownerPhone = '' |
|
|
this.ownerPhone = '' |
|
|
this.rentFlag = '' |
|
|
this.rentFlag = '' |
|
|
|
|
|
this.purpose = '' |
|
|
|
|
|
this.remark = '' |
|
|
|
|
|
|
|
|
this.pageSize = 10 |
|
|
this.pageSize = 10 |
|
|
this.pageNo = 1 |
|
|
this.pageNo = 1 |
|
@ -295,6 +333,8 @@ export default { |
|
|
this.ownerName = '' |
|
|
this.ownerName = '' |
|
|
this.ownerPhone = '' |
|
|
this.ownerPhone = '' |
|
|
this.rentFlag = '' |
|
|
this.rentFlag = '' |
|
|
|
|
|
this.purpose = '' |
|
|
|
|
|
this.remark = '' |
|
|
this.showRoomTable = false |
|
|
this.showRoomTable = false |
|
|
|
|
|
|
|
|
this.selObj = JSON.parse(JSON.stringify(obj)) |
|
|
this.selObj = JSON.parse(JSON.stringify(obj)) |
|
@ -435,63 +475,63 @@ export default { |
|
|
components: { |
|
|
components: { |
|
|
communityTable, buildTable, roomTable |
|
|
communityTable, buildTable, roomTable |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style lang="scss" scoped > |
|
|
<style lang="scss" scoped > |
|
|
.div_main { |
|
|
.div_main { |
|
|
display: flex; |
|
|
display: flex; |
|
|
} |
|
|
} |
|
|
.scrollar { |
|
|
.scrollar { |
|
|
margin-top: 10px; |
|
|
margin-top: 10px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.div_tree { |
|
|
.div_tree { |
|
|
flex: 0 0 280px; |
|
|
flex: 0 0 280px; |
|
|
background-color: #ffffff; |
|
|
background-color: #ffffff; |
|
|
border-radius: 5px; |
|
|
border-radius: 5px; |
|
|
padding: 10px; |
|
|
padding: 10px; |
|
|
overflow-y: hidden; |
|
|
overflow-y: hidden; |
|
|
} |
|
|
} |
|
|
.filter_tree { |
|
|
.filter_tree { |
|
|
overflow-x: auto; |
|
|
overflow-x: auto; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.div_table { |
|
|
.div_table { |
|
|
margin-left: 15px; |
|
|
margin-left: 15px; |
|
|
// flex: 1; |
|
|
// flex: 1; |
|
|
width: calc(100% - 300px); |
|
|
width: calc(100% - 300px); |
|
|
background-color: #ffffff; |
|
|
background-color: #ffffff; |
|
|
border-radius: 5px; |
|
|
border-radius: 5px; |
|
|
padding: 10px; |
|
|
padding: 10px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.div_btn { |
|
|
.div_btn { |
|
|
margin-top: 20px; |
|
|
margin-top: 20px; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.row { |
|
|
.row { |
|
|
padding: 10px; |
|
|
padding: 10px; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|
|
|
|
|
|
<style> |
|
|
<style> |
|
|
/* .aui-content > .el-tabs > .el-tabs__content { |
|
|
/* .aui-content > .el-tabs > .el-tabs__content { |
|
|
padding: 0px; |
|
|
padding: 0px; |
|
|
} */ |
|
|
} */ |
|
|
|
|
|
|
|
|
.el-tree-node:focus > .el-tree-node__content { |
|
|
.el-tree-node:focus > .el-tree-node__content { |
|
|
/* background-color: #ccc !important; */ |
|
|
/* background-color: #ccc !important; */ |
|
|
color: #2195fe; |
|
|
color: #2195fe; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
<style lang="scss" scoped> |
|
|
<style lang="scss" scoped> |
|
|
.div_tree { |
|
|
.div_tree { |
|
|
/deep/ .el-scrollbar__wrap { |
|
|
/deep/ .el-scrollbar__wrap { |
|
|
overflow-x: hidden !important; |
|
|
overflow-x: hidden !important; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|
|
|
|
|
|
<style lang="scss" scoped > |
|
|
<style lang="scss" scoped > |
|
|
@import "@/assets/scss/modules/visual/communityManage.scss"; |
|
|
@import "@/assets/scss/modules/visual/communityManage.scss"; |
|
|
</style> |
|
|
</style> |
|
|