diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue index a3b8a17ad..04488e517 100644 --- a/src/views/modules/base/community/roomTable.vue +++ b/src/views/modules/base/community/roomTable.vue @@ -198,7 +198,7 @@ let loading // 加载动画 export default { data () { return { - source: 'tree',//来源 + source: 'tree',//来源 importRoomLoading: false, total: 0, pageSize: 20, @@ -212,6 +212,8 @@ export default { ownerName: '', ownerPhone: '', rentFlag: '', + purpose: '', + remark: '', validTableDataNum: 0,//有效的数据数量,即有权限操作的数据数量 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.tableLoading = true @@ -334,11 +336,15 @@ export default { this.ownerName = null this.ownerPhone = null this.rentFlag = null + this.purpose = null + this.remark = null } else if (source === 'search') {//来源于查询 this.agencyObj = treeObj this.ownerName = ownerName this.ownerPhone = ownerPhone this.rentFlag = rentFlag + this.purpose = purpose + this.remark = remark } // if (fromTree) { @@ -354,6 +360,8 @@ export default { ownerPhone: this.ownerPhone, rentFlag: this.rentFlag, sortType: this.sortType, + purpose: this.purpose, + remark: this.remark } const url = "/gov/org/house/houselist" @@ -547,6 +555,8 @@ export default { ownerName: this.ownerName, ownerPhone: this.ownerPhone, rentFlag: this.rentFlag, + purpose: this.purpose, + remark: this.remark, buildingId: this.agencyObj.id } @@ -624,11 +634,11 @@ export default { ownerName: this.ownerName, ownerPhone: this.ownerPhone, rentFlag: this.rentFlag, + purpose: this.purpose, + remark: this.remark, buildingId: this.agencyObj.id } - - app.ajax.exportFilePost( url, params, @@ -782,6 +792,14 @@ export default { type: String, default: '', }, + purpose: { + type: String, + default: '', + }, + remark: { + type: String, + default: '', + } } }