|
@@ -878,7 +878,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
queryParams1: {
|
|
|
- pageNum: 1,
|
|
|
+ pageNum: 0,
|
|
|
pageSize: 10,
|
|
|
district: undefined,
|
|
|
areaId: undefined,
|
|
@@ -1184,7 +1184,7 @@ export default {
|
|
|
buildingHasChanged(buildingId, areaId) {
|
|
|
console.log(buildingId)
|
|
|
this.queryParams.unitId = null
|
|
|
- getUnits(areaId || this.queryParams.areaId, buildingId).then(res => {
|
|
|
+ getUnits(buildingId).then(res => {
|
|
|
this.unitOptions = res.data
|
|
|
})
|
|
|
},
|
|
@@ -1234,7 +1234,7 @@ export default {
|
|
|
getUnitList1(buildingId) {
|
|
|
if (buildingId === undefined || buildingId == null || buildingId === '')
|
|
|
return
|
|
|
- getUnits(this.queryParams.areaId, buildingId).then(res => this.unitList = res.data)
|
|
|
+ getUnits(buildingId).then(res => this.unitList = res.data)
|
|
|
},
|
|
|
/** 查询民用工程列表 */
|
|
|
getList() {
|
|
@@ -1307,7 +1307,7 @@ export default {
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
- this.queryParams.pageNum = 1;
|
|
|
+ this.queryParams1.pageNum = 0;
|
|
|
this.getList();
|
|
|
},
|
|
|
/** 重置按钮操作 */
|