|
@ -198,7 +198,7 @@ let loading // 加载动画 |
|
|
export default { |
|
|
export default { |
|
|
data () { |
|
|
data () { |
|
|
return { |
|
|
return { |
|
|
source: 'tree',//来源 |
|
|
source: 'tree',//来源 |
|
|
importRoomLoading: false, |
|
|
importRoomLoading: false, |
|
|
total: 0, |
|
|
total: 0, |
|
|
pageSize: 20, |
|
|
pageSize: 20, |
|
@ -212,6 +212,8 @@ export default { |
|
|
ownerName: '', |
|
|
ownerName: '', |
|
|
ownerPhone: '', |
|
|
ownerPhone: '', |
|
|
rentFlag: '', |
|
|
rentFlag: '', |
|
|
|
|
|
purpose: '', |
|
|
|
|
|
remark: '', |
|
|
|
|
|
|
|
|
validTableDataNum: 0,//有效的数据数量,即有权限操作的数据数量 |
|
|
validTableDataNum: 0,//有效的数据数量,即有权限操作的数据数量 |
|
|
selection: [], |
|
|
selection: [], |
|
@ -323,7 +325,7 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
async loadTable (source, treeObj, ownerName, ownerPhone, rentFlag) { |
|
|
async loadTable (source, treeObj, ownerName, ownerPhone, rentFlag, purpose, remark) { |
|
|
|
|
|
|
|
|
this.source = source |
|
|
this.source = source |
|
|
this.tableLoading = true |
|
|
this.tableLoading = true |
|
@ -334,11 +336,15 @@ export default { |
|
|
this.ownerName = null |
|
|
this.ownerName = null |
|
|
this.ownerPhone = null |
|
|
this.ownerPhone = null |
|
|
this.rentFlag = null |
|
|
this.rentFlag = null |
|
|
|
|
|
this.purpose = null |
|
|
|
|
|
this.remark = null |
|
|
} else if (source === 'search') {//来源于查询 |
|
|
} else if (source === 'search') {//来源于查询 |
|
|
this.agencyObj = treeObj |
|
|
this.agencyObj = treeObj |
|
|
this.ownerName = ownerName |
|
|
this.ownerName = ownerName |
|
|
this.ownerPhone = ownerPhone |
|
|
this.ownerPhone = ownerPhone |
|
|
this.rentFlag = rentFlag |
|
|
this.rentFlag = rentFlag |
|
|
|
|
|
this.purpose = purpose |
|
|
|
|
|
this.remark = remark |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// if (fromTree) { |
|
|
// if (fromTree) { |
|
@ -354,6 +360,8 @@ export default { |
|
|
ownerPhone: this.ownerPhone, |
|
|
ownerPhone: this.ownerPhone, |
|
|
rentFlag: this.rentFlag, |
|
|
rentFlag: this.rentFlag, |
|
|
sortType: this.sortType, |
|
|
sortType: this.sortType, |
|
|
|
|
|
purpose: this.purpose, |
|
|
|
|
|
remark: this.remark |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const url = "/gov/org/house/houselist" |
|
|
const url = "/gov/org/house/houselist" |
|
@ -547,6 +555,8 @@ export default { |
|
|
ownerName: this.ownerName, |
|
|
ownerName: this.ownerName, |
|
|
ownerPhone: this.ownerPhone, |
|
|
ownerPhone: this.ownerPhone, |
|
|
rentFlag: this.rentFlag, |
|
|
rentFlag: this.rentFlag, |
|
|
|
|
|
purpose: this.purpose, |
|
|
|
|
|
remark: this.remark, |
|
|
buildingId: this.agencyObj.id |
|
|
buildingId: this.agencyObj.id |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -624,11 +634,11 @@ export default { |
|
|
ownerName: this.ownerName, |
|
|
ownerName: this.ownerName, |
|
|
ownerPhone: this.ownerPhone, |
|
|
ownerPhone: this.ownerPhone, |
|
|
rentFlag: this.rentFlag, |
|
|
rentFlag: this.rentFlag, |
|
|
|
|
|
purpose: this.purpose, |
|
|
|
|
|
remark: this.remark, |
|
|
buildingId: this.agencyObj.id |
|
|
buildingId: this.agencyObj.id |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.ajax.exportFilePost( |
|
|
app.ajax.exportFilePost( |
|
|
url, |
|
|
url, |
|
|
params, |
|
|
params, |
|
@ -782,6 +792,14 @@ export default { |
|
|
type: String, |
|
|
type: String, |
|
|
default: '', |
|
|
default: '', |
|
|
}, |
|
|
}, |
|
|
|
|
|
purpose: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: '', |
|
|
|
|
|
}, |
|
|
|
|
|
remark: { |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: '', |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|