zhongrj
2023-11-21 472936047d9c72175ae26f47725c8a2214133c96
商超展示参数绑定修改
3 files modified
15 ■■■■■ changed files
subPackage/house/family/index.vue 2 ●●● patch | view | raw | blame | history
subPackage/house/houseNumber/index.vue 11 ●●●● patch | view | raw | blame | history
subPackage/house/list/index.vue 2 ●●● patch | view | raw | blame | history
subPackage/house/family/index.vue
@@ -139,7 +139,7 @@
                    code: this.currentId,
                    roleName: uni.getStorageSync('activeRole').roleName,
                    name: this.addressType == 1 ? "" : this.neiCode,
                    buildingName:this.addressType == 3 ?this.buildingName: "",
                    buildingName:this.addressType == 4 ?this.buildingName: "",
                    addressType: this.addressType
                }
                const res = await getHouseList(param)
subPackage/house/houseNumber/index.vue
@@ -198,12 +198,16 @@
                    lng: ''
                },
                marker: [],
                addressType:2
                addressType:2,
                placeId:""
            }
        },
        onLoad(option) {
            this.stdId = option.stdId
            this.addressType = option.addressType
            if(this.addressType ==4){
                this.placeId = this.stdId
            }
            this.getBuildingDetail()
        },
        methods: {
@@ -219,8 +223,9 @@
                    code,
                    data
                } = await getPlaceDetail({
                    houseCode: this.stdId,
                    addressType: this.addressType
                    houseCode: this.addressType==4?"":this.stdId,
                    addressType: this.addressType,
                    id: this.placeId
                })
                if (code !== 200) {
                    uni.showToast({
subPackage/house/list/index.vue
@@ -120,7 +120,7 @@
                    return
                }
                // addressType == 3 街路巷
                if (addressType == 1 || addressType == 3) {
                if (addressType == 1 || addressType == 3 || addressType == 4) {
                    if (id !== void 0) {
                        let url = `/subPackage/house/family/index?id=${id}&housingName=${this.curHouseTitle}
                        &buildingName=${title}&addressType=${addressType}&neiCode=${this.currentId}`