guanqb
2023-02-16 981be5f96d95ac80e00354458011babeed5560ca
Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
1 files modified
20 ■■■■■ changed files
src/views/house/index.vue 20 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-16 15:21:21
 * @LastEditTime: 2023-02-16 17:10:34
 * @FilePath: \srs-police-affairs\src\views\house\index.vue
 * @Description: 小区-栋-层-房屋
 * 
@@ -693,7 +693,7 @@
            treeEmptyText: "",
            contentShow: true,
            unitOptions: [{ value: 1, label: '1单元'}],
            unitOptions: [{ value: 1, label: '1单元' }],
            unitValue: 1,
            searchHouse: '',
            navType: 0,
@@ -935,16 +935,18 @@
            if (current.hasChildren == true) return
            this.filterText = ''
            this.prop = current.name
            circleLayer.clear()
            circleLayer.remove()
            circleLayer = null
            this.getResidentialQuartersInfo(current.id, '361102')
            this.getSearchExtensivelyBgAoiDeepdata('ebf48ecaa1fd436fa3d40c4600aa051f', '361100', current.id, '1|3')
            this.getVillageInfo(current.id)
            circleLayer.clear()
            circleLayer.remove()
            circleLayer = null
            this.$refs.searchTreeInput.blur()
            this.searchTreeName = ''
            this.searchLazyFlag = true
        },
        navClick (e) {
@@ -1028,11 +1030,11 @@
                if (res.data != null && houseData.nwwqd.features != []) {
                    let unitData = houseData.nwwqd.features
                    this.floorInfo.house_num = unitData.length
                    // if (houseData.hwtxa.features.length > 1) {
                    if (houseData.hwtxa.features.length > 1) {
                        this.isShowUnitChoose = true
                    // }
                    }
                    let allUnitDate = []
                    this.unitOptions= []
                    this.unitOptions = []
                    houseData.hwtxa.features.forEach((item, index) => {
                        this.unitOptions.push({ value: `${index + 1}`, label: `${item.properties.pgjmz}` })
                        let unitOptionData = []