shuishen
2023-07-13 4a2f6046de5c015e96025b5779913022f72ebe27
分局边界去除,首页辖区颜色调整,流动墙高度调整
3 files modified
84 ■■■■■ changed files
src/views/activity/components/publicIndex.vue 2 ●●● patch | view | raw | blame | history
src/views/home/index.vue 78 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/activity/components/publicIndex.vue
@@ -467,7 +467,7 @@
                        outlineWidth: 4.0,
                    })
                } else {
                    positions = position.split(';').map((item, index) => `${item},140`)
                    positions = position.split(';').map((item, index) => `${item},20`)
                    positions.push(positions[0])
                    positions = positions.join(';')
                    coverage = new global.DC.Wall(positions)
src/views/home/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-07-12 16:02:39
 * @LastEditTime: 2023-07-13 10:45:37
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -517,7 +517,6 @@
let circleLayer = null
let DataSourcesArray = []
let loading = null
let xinzhouLayer = null
let treeData = [
    {
@@ -581,33 +580,33 @@
            }],
    }]
let positionColor = [
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 97, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 142, 97, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 192, 97, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 242, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(0, 185, 209, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(250, 84, 28, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(221, 255, 97, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(51, 255, 0, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 255, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 255, 181, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 181, 252, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 129, 58, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 252, 236, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 184, 255, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 58, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 113, 255, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(81, 252, 58, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(126, 97, 255, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(168, 252, 58, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(171, 97, 255, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 249, 58, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(210, 97, 255, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 174, 58, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 226, 97, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 176, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 252, 155, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 155, 50),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 97, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 142, 97, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 192, 97, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 242, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(0, 185, 209, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(250, 84, 28, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(221, 255, 97, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(51, 255, 0, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 255, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 255, 181, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 181, 252, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 129, 58, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 252, 236, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 184, 255, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 58, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 113, 255, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(81, 252, 58, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(126, 97, 255, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(168, 252, 58, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(171, 97, 255, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 249, 58, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(210, 97, 255, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 174, 58, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 226, 97, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 176, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 252, 155, 20),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 155, 20),
]
let timer = []
@@ -935,15 +934,7 @@
                },
                []
            )
            xinzhouLayer = new global.DC.VectorLayer('xinzhouLayer')
            global.viewer.addLayer(xinzhouLayer)
            let xinzhouPolyline = new global.DC.Polyline(xinzhouRange)
            xinzhouPolyline.setStyle({
                width: 10,
                material: global.DC.Namespace.Cesium.Color.fromBytes(255, 134, 62, 255),
                clampToGround: true
            })
            xinzhouLayer.addOverlay(xinzhouPolyline)
        })
        this.$EventBus.$on('closeLoading', () => {
@@ -1453,7 +1444,6 @@
                    layerName: 'polygonLayer',
                    flag: true
                })
                xinzhouLayer.show = true
            } else {
                DataSourcesArray.forEach(i => i.show = false)
@@ -1466,8 +1456,6 @@
                    layerName: 'polygonLayer',
                    flag: false
                })
                xinzhouLayer.show = false
            }
        },
@@ -1926,10 +1914,6 @@
                if (flag) {
                    global.viewer.canvas.style.cursor = 'default'
                }
            }
            if (e.layer && 'id' in e.layer && e.layer.id == xinzhouLayer.id) {
                global.viewer.canvas.style.cursor = 'default'
            }
        },
@@ -2586,10 +2570,6 @@
        if (cylinderLayer != null) {
            cylinderLayer.remove()
            cylinderLayer = null
        }
        if (xinzhouLayer != null) {
            xinzhouLayer.remove()
            xinzhouLayer = null
        }
        circleLayer.remove()
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-06-20 20:11:38
 * @LastEditTime: 2023-07-13 10:47:59
 * @FilePath: \srs-police-affairs\src\views\house\index.vue
 * @Description: 小区-栋-层-房屋
 * 
@@ -2273,7 +2273,7 @@
            getResidentialQuartersInfo(area_id, adcode).then((res) => {
                let positionStr = ""
                res.data.data.geometry.coordinates[0].forEach((item) => {
                    positionStr += item[0] + "," + item[1] + "," + "100;"
                    positionStr += item[0] + "," + item[1] + "," + "20;"
                })
                if (wallLayer != null) {