GULIMMO
2023-11-11 ac35cb68a0ce4d48600e3b82c7e8142185f7680b
场所采集更新
2 files modified
49 ■■■■■ changed files
subPackage/workbench/views/cscj.vue 47 ●●●●● patch | view | raw | blame | history
subPackage/workbench/views/csjl.vue 2 ●●● patch | view | raw | blame | history
subPackage/workbench/views/cscj.vue
@@ -367,7 +367,8 @@
        onLoad(option) {
            const {
                houseCode,
                id
                id,
                type
            } = option
            this.houseCode = houseCode
            this.currentId = id
@@ -375,7 +376,11 @@
                this.getBuildingDetail()
            }
            if (!!type || type != void 0) {
                uni.setNavigationBarTitle({
                    title: '详情'
                })
            }
        },
        onShow() {
            this.getLabel()
@@ -453,11 +458,11 @@
                            icon: 'error'
                        })
                        return
                    }
                    const dpaEntity = data?.doorplateAddressEntity || {}
                    this.form.buildingCode = dpaEntity?.buildingCode || ''
                    }
                    const dpaEntity = data?.doorplateAddressEntity || {}
                    this.form.buildingCode = dpaEntity?.buildingCode || ''
                    let buildingNameArr = [
                        dpaEntity?.townStreetName,
                        dpaEntity?.neiName,
@@ -468,17 +473,17 @@
                    let arr = buildingNameArr.filter(e => {
                        return e != null || e != ''
                    })
                    this.form.placeName = data['placeName'] || ''
                    Object.keys(this.form).forEach(key => {
                        if (!data[key]) {
                            this.form[key] = dpaEntity[key] || '未完善'
                        } else {
                            this.form[key] = data[key] || '未完善'
                        }
                        if (key === "images") {
                            this.form[key] = []
                        }
                    this.form.placeName = data['placeName'] || ''
                    Object.keys(this.form).forEach(key => {
                        if (!data[key]) {
                            this.form[key] = dpaEntity[key] || '未完善'
                        } else {
                            this.form[key] = data[key] || '未完善'
                        }
                        if (key === "images") {
                            this.form[key] = []
                        }
                    })
                    this.form.building = arr.join("")
@@ -488,21 +493,21 @@
                            if (!data[item.name]) {
                                item.value = dpaEntity[item.name] || '未完善'
                            } else {
                                item.value = data[item.name]|| '未完善'
                                item.value = data[item.name] || '未完善'
                            }
                        })
                        this.publicData[key].forEach(item => {
                            if (!data[item.name]) {
                                item.value = dpaEntity[item.name] || '未完善'
                            } else {
                                item.value = data[item.name]|| '未完善'
                                item.value = data[item.name] || '未完善'
                            }
                        })
                    })
                    data.placePoiLabelVOList.forEach(item => {
                        let label = this.labelList[0].children.find(sl => sl.text === item.labelName) || {}
                        console.log(label);
                        console.log(label);
                        label['isClose'] = false
                        this.showLabelList.push(label)
                    })
subPackage/workbench/views/csjl.vue
@@ -131,7 +131,7 @@
                    })
                    return
                }
                let url = "/subPackage/workbench/views/cscj?id=" + id
                let url = "/subPackage/workbench/views/cscj?id=" + id + "&type=1"
                this.$u.func.globalNavigator(url)
            }
        }