| | |
| | | treeEmptyText: "", |
| | | |
| | | contentShow: true, |
| | | unitOptions: [], |
| | | unitOptions: [{ value: 1, label: '1单元'}], |
| | | unitValue: 1, |
| | | searchHouse: '', |
| | | navType: 0, |
| | |
| | | if (res.data != null && houseData.nwwqd.features != []) { |
| | | let unitData = houseData.nwwqd.features |
| | | this.floorInfo.house_num = unitData.length |
| | | if (houseData.hwtxa.features.length > 1) { |
| | | this.isShowUnitChoose = true |
| | | } |
| | | // if (houseData.hwtxa.features.length > 1) { |
| | | this.isShowUnitChoose = true |
| | | // } |
| | | let allUnitDate = [] |
| | | this.unitOptions= [] |
| | | houseData.hwtxa.features.forEach((item, index) => { |
| | | this.unitOptions.push({ value: `${index + 2}`, label: `${item.properties.pgjmz}` }) |
| | | this.unitOptions.push({ value: `${index + 1}`, label: `${item.properties.pgjmz}` }) |
| | | let unitOptionData = [] |
| | | unitData.forEach(inItem => { |
| | | if (inItem.properties.pgjmz == item.properties.pgjmz) { |