guanqb
2023-04-03 678764d3c2a7bfe4c6135d24983af010e5fc2bfa
社区丰图接口修改
3 files modified
16 ■■■■■ changed files
src/components/map/index.vue 3 ●●●● patch | view | raw | blame | history
src/views/house/index.vue 9 ●●●●● patch | view | raw | blame | history
vue.config.js 4 ●●●● patch | view | raw | blame | history
src/components/map/index.vue
@@ -226,7 +226,8 @@
                // '/mx/tileset.json'
                'https://tuan-gis.sit.fengtu.com.cn/361102/wanda/tileset.json'
            )
            curTileset.setHeight(20)
            // curTileset.setHeight(20)
            curTileset.setHeight(0)
            curTilesetLayer.addOverlay(curTileset)
            global.viewer.setPitchRange(-90, -45)
src/views/house/index.vue
@@ -187,7 +187,7 @@
                                                <!-- :class="[{ 'chuzu': value.houseType == '出租' }, { 'zizhu': value.houseType == '自住' }, { 'kongzhi': value.houseType == '空置' }, { 'shangye': value.houseType == '商业' }]" -->
                                                {{ value.properties.fojcu }}
                                                <!-- <div class="flow"></div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <div class="warning"></div>-->
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="warning"></div>-->
                                            </div>
                                        </div>
                                    </div>
@@ -772,7 +772,6 @@
                }
                // 小区名称类型地址
                let villageData = res.data.result[0]
@@ -835,6 +834,7 @@
                            siteWd: `${item.y}`,
                            siteGd: 360,
                            build_id: `${item.std_addr_id.split("|")[1]}`,
                            // build_id: `${item.uid}`,
                            floor_num: `${item.floor_num}`,
                            elev: `${item.elev}`,
                        })
@@ -853,6 +853,10 @@
        // 楼栋单元楼层户室查询
        getHouses (build_id, adcode, aoiArr) {
            getHouses(build_id, adcode).then((res) => {
                if (res.data.data == null) {
                    this.pictLoading = false
                    this.isShowHouseBox = false
                }
                let maxHeight =
                    res.data.data.properties.hwtxa.features[0].properties.mbfdr -
                    res.data.data.properties.hwtxa.features[0].properties.yjpca
@@ -1475,7 +1479,6 @@
                }
                let wall = new global.DC.Wall(positionStr)
                console.log('/sf3d/area/info', res.data.data)
                wall.setStyle({
                    material: new global.DC.WallTrailMaterialProperty({
                        color: global.DC.Namespace.Cesium.Color.fromBytes(
vue.config.js
@@ -161,8 +161,8 @@
        proxy: {
            "/api": {
                // target用于配置你允许访问数据的计算机名称,即是你的api接口的服务器地址
                target: "http://localhost:82",
                // target: "http://192.168.0.100:82",
                // target: "http://localhost:82",
                target: "http://192.168.0.100:82",
                // target: "http://17.20.10.3:82",
                // target: "http://10.141.11.11:8081/api",
                // ws: true, //启用webSocket6566