| | |
| | | methods: {
|
| | | handleSelect(res) {
|
| | | const [auditStatus, floor] = res
|
| | | console.log(auditStatus, floor);
|
| | | this.pagingParams = {
|
| | | current: 1,
|
| | | size: 10
|
| | | }
|
| | | this.tenantList = []
|
| | | this.resetParams()
|
| | | let params = {}
|
| | | if (auditStatus[0].value !== '') {
|
| | | params = {
|
| | | auditStatus: auditStatus[0].value
|
| | | }
|
| | | } |
| | | if (floor[0].value !== '') { |
| | | params = { |
| | | ...params, |
| | | floor: floor[0].value |
| | | } |
| | | }
|
| | | this.getRentalHouseInfo(params)
|
| | | },
|
| | |
| | | this.tenantList = [...this.tenantList, ...records]
|
| | | this.loadingStatus = 'nomore'
|
| | | },
|
| | | search() {
|
| | | search() { |
| | | this.resetParams()
|
| | | this.getRentalHouseInfo()
|
| | | },
|
| | | clear() {
|
| | | this.keyword = ''
|
| | | this.keyword = '' |
| | | this.resetParams()
|
| | | this.search()
|
| | | },
|
| | | tenantManage({
|
| | |
| | | id
|
| | | }) {
|
| | | this.$u.func.globalNavigator(`/subPackage/bs/views/rentDetail?houseCode=${houseCode}&id=${id}`)
|
| | | }, |
| | | resetParams() { |
| | | this.tenantList = [] |
| | | this.pagingParams = { |
| | | current: 1, |
| | | size: 10 |
| | | } |
| | | }
|
| | | }
|
| | | }
|