guanqb
2023-02-22 0b73213b11bd084ef567401597937a0afad28510
Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
13 files modified
1 files renamed
2 files added
18340 ■■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
package-lock.json 17969 ●●●●● patch | view | raw | blame | history
public/index.html 4 ●●●● patch | view | raw | blame | history
public/sryx.zip patch | view | raw | blame | history
public/static/config copy.js 17 ●●●●● patch | view | raw | blame | history
public/static/config.js 46 ●●●●● patch | view | raw | blame | history
src/components/map/index.vue 23 ●●●● patch | view | raw | blame | history
src/store/modules/user.js 1 ●●●● patch | view | raw | blame | history
src/utils/store.js 1 ●●●● patch | view | raw | blame | history
src/views/activity/index.vue 2 ●●● patch | view | raw | blame | history
src/views/home/components/bottomContainer.vue 8 ●●●●● patch | view | raw | blame | history
src/views/home/components/leftContainer.vue 3 ●●●●● patch | view | raw | blame | history
src/views/home/index.vue 260 ●●●● patch | view | raw | blame | history
src/views/house/index.vue 1 ●●●● patch | view | raw | blame | history
src/views/layout/index.vue 1 ●●●● patch | view | raw | blame | history
src/views/police/index.vue 3 ●●●● patch | view | raw | blame | history
.gitignore
@@ -3,6 +3,7 @@
/dist
/dist.zip
/public/sd
/public/sryx
/vue.config.js
# local env files
package-lock.json
Diff too large
public/index.html
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-09-07 09:34:58
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-20 10:09:19
 * @LastEditTime: 2023-02-21 14:16:53
 * @FilePath: \srs-police-affairs\public\index.html
 * @Description: 
 * 
@@ -20,7 +20,7 @@
        信州公安VR指挥平台
    </title>
    <script src="./config.js"></script>
    <script src="./static/config.js"></script>
    <script src="./depend/vue.min.js"></script>
public/sryx.zip
Binary files differ
public/static/config copy.js
File was renamed from public/config.js
@@ -1,3 +1,13 @@
/*
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-02-21 14:16:56
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-21 15:02:36
 * @FilePath: \srs-police-affairs\public\static\config copy.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
 */
window.BASE_URL_CONFIG = {
    // 丰图数据
    // 本地开发
@@ -28,5 +38,10 @@
    // 后台管理跳转地址
    VUE_APP_OUTER_NET_HTURL: 'http://192.168.0.109:1888',
    VUE_APP_INTRANET_HTURL: 'http://10.141.11.11:8081'
    VUE_APP_INTRANET_HTURL: 'http://10.141.11.11:8081',
    // 栅格地图的
    VUE_APP_MAP_YX: 'http://10.141.11.12:18088',
    VUE_APP_MAP_SL: 'http://10.141.11.11:8090',
}
public/static/config.js
New file
@@ -0,0 +1,46 @@
/*
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-02-21 14:16:56
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-21 16:27:46
 * @FilePath: \srs-police-affairs\public\static\config.js
 * @Description:
 *
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
 */
window.BASE_URL_CONFIG = {
    // 丰图数据
    // 本地开发
    VUE_APP_OUTER_NET: 'http://192.168.0.112:18080',
    // 内网部署
    VUE_APP_INTRANET: 'http://10.141.11.11:80/twapi',
    // 大搜
    // 本地开发
    VUE_APP_OUTER_NET_SEARCH: 'http://192.168.0.112:9091',
    // 内网部署
    VUE_APP_INTRANET_SEARCH: 'http://10.141.11.11:80/bsapi',
    // 视频监控平台
    // 本地开发
    VUE_APP_OUTER_NET_VIDEO: 'http://192.168.0.126:18185/api',
    // VUE_APP_OUTER_NET_VIDEO: 'http://192.168.0.129:18185/api',
    // 内网部署
    VUE_APP_INTRANET_VIDEO: 'http://10.141.11.11:18185/api',
    // 设备通道号
    VUE_APP_OUTER_NET_EQUIPMENT: '36110000002009999000',
    VUE_APP_INTRANET_EQUIPMENT: '36110000002009999000',
    // 模型地址
    VUE_APP_OUTER_NET_TILEURL: 'http://192.168.0.112:18080',
    VUE_APP_INTRANET_TILEURL: 'http://10.141.11.11:80/mxapi',
    // 后台管理跳转地址
    VUE_APP_OUTER_NET_HTURL: 'http://192.168.0.109:1888',
    VUE_APP_INTRANET_HTURL: 'http://10.141.11.11:8081',
    // 栅格地图的
    VUE_APP_MAP_YX: 'http://10.141.11.11:80/ysapi',
    VUE_APP_MAP_SL: 'http://10.141.11.11:80/slapi',
}
src/components/map/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 17:00:30
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-20 09:01:16
 * @LastEditTime: 2023-02-21 16:27:22
 * @FilePath: \srs-police-affairs\src\components\map\index.vue
 * @Description: 公用地图组件
 * 
@@ -102,6 +102,7 @@
    'EPSG:4490_test:16',
    'EPSG:4490_test:17',
    'EPSG:4490_test:18',
    'EPSG:4490_test:19',
    'EPSG:4490_test:20',
    'EPSG:4490_test:21',
    'EPSG:4490_test:22',
@@ -215,16 +216,28 @@
            // global.viewer.addTerrain(terrain)
            // 内网
            // that.switchImg()
            that.switchImg()
            // 外网
            global.viewer.imageryLayers.addImageryProvider(
                new global.DC.Namespace.Cesium.UrlTemplateImageryProvider({
                    url: 'http://t{s}.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=e45274b0235bb913eceb393aabbf9c9c',
                    url: 'http://t{s}.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=e45274b0235bb913eceb393aabbf9c9c',
                    subdomains: ['0', '1', '2', '3', '4', '5', '6', '7'],
                    format: 'image/jpeg',
                    show: true,
                    maximumLevel: 18
                })
            )
            global.viewer.imageryLayers.addImageryProvider(
                new global.DC.Namespace.Cesium.UrlTemplateImageryProvider({
                    url: '/sryx/{z}/{x}/{y}.png',
                })
            )
            global.viewer.imageryLayers.addImageryProvider(
                new global.DC.Namespace.Cesium.UrlTemplateImageryProvider({
                    url: '/sryx/{z}/{x}/{y}.png',
                })
            )
@@ -443,7 +456,7 @@
            baseLayers != null && global.viewer.imageryLayers.remove(baseLayers)
            baseLayers = global.viewer.imageryLayers.addImageryProvider(
                new global.DC.Namespace.Cesium.WebMapTileServiceImageryProvider({
                    url: "http://10.141.11.11:80/ysapi/geoserver/gwc/service/wmts",
                    url: `${window.VUE_APP_MAP_YX}/geoserver/gwc/service/wmts`,
                    layer: "test",
                    style: "",
                    format: "image/png",
@@ -464,7 +477,7 @@
            baseLayers != null && global.viewer.imageryLayers.remove(baseLayers)
            baseLayers = global.viewer.imageryLayers.addImageryProvider(
                new global.DC.Namespace.Cesium.WebMapTileServiceImageryProvider({
                    url: "http://10.141.11.11:8090/MapTileService/wmts?STORETYPE=merged-dat&PROJECTION=4326",
                    url: ` ${window.VUE_APP_MAP_SL}/MapTileService/wmts?STORETYPE=merged-dat&PROJECTION=4326`,
                    layer: "wmts_4326_361100",
                    style: "default",
                    format: "image/png",
src/store/modules/user.js
@@ -77,7 +77,6 @@
        },
        //刷新token
        refreshToken ({ state, commit }, userInfo) {
            window.console.log('handle refresh token')
            return new Promise((resolve, reject) => {
                refreshToken(state.refreshToken, state.tenantId,
                    !validatenull(userInfo) ? userInfo.deptId : state.userInfo.dept_id,
src/utils/store.js
@@ -32,7 +32,6 @@
    let obj = {},
        content
    obj = window.sessionStorage.getItem(name)
    console.log(obj, 456)
    if (validatenull(obj)) obj = window.localStorage.getItem(name)
    if (validatenull(obj)) return
    try {
src/views/activity/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-14 15:28:15
 * @LastEditTime: 2023-02-21 16:54:00
 * @FilePath: \srs-police-affairs\src\views\activity\index.vue
 * @Description: 安保活动
 *
src/views/home/components/bottomContainer.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-01-13 15:52:59
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-15 16:01:18
 * @LastEditTime: 2023-02-21 17:20:18
 * @FilePath: \srs-police-affairs\src\views\home\components\bottomContainer.vue
 * @Description: 
 * 
@@ -475,8 +475,8 @@
            })
            // this.policeSituationRealtimeArr = [{
            //     ZDDWXZB: 112,
            //     ZDDWYZB: 25,
            //     ZDDWXZB: 117.97,
            //     ZDDWYZB: 28.45,
            //     JJDWMC: '信州公安局派出所',
            //     JJYXM: '欧阳西门',
            //     BJSJ: '2022-12-12 12:12:12',
@@ -557,6 +557,8 @@
            // this.policeSituationRealtimeArr = this.policeSituationRealtimeArr.map((item, index) => {
            //     return { ...item, index: index + 1, lng: item.ZDDWXZB, lat: item.ZDDWYZB }
            // })
            // this.$emit('policeSituationChange')
        },
        // 获取历史接警记录
src/views/home/components/leftContainer.vue
@@ -940,9 +940,6 @@
                        countArr.push({ value: item.count, id: item.id })
                    })
                    landData = [nameArr, countArr]
                    this.$emit('createCyLinder', res.data.data)
                } else if (type == 1) {
                    // this.areaNum = res.data.data.areaNum
                    // this.villageNum = res.data.data.villageNum
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-02-20 09:19:10
 * @LastEditTime: 2023-02-21 16:52:21
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -13,7 +13,6 @@
    <div class="home-page container">
        <left-container
            class="left-container"
            @createCyLinder="createCyLinder"
            @showpeopledetail="showpeopledetail"
            @showlanddetail="showlanddetail"
            @showkeypersondetail="showkeypersondetail"
@@ -37,9 +36,12 @@
        ></bottom-container>
        <div class="center-container">
            <div class="layers-control-btn house">
                <el-checkbox v-model="houseLayerShow" @change="houseChange">小区</el-checkbox>
            <div class="layers-control-btn area">
                <el-checkbox v-model="areaPolygonLayerShow" @change="areaPolygonChange">辖区</el-checkbox>
            </div>
            <!-- <div class="layers-control-btn house">
                <el-checkbox v-model="houseLayerShow" @change="houseChange">小区</el-checkbox>
            </div>-->
            <div class="layers-control-btn car">
                <el-checkbox v-model="carLayerShow" @change="carChange">警车</el-checkbox>
            </div>
@@ -684,6 +686,8 @@
    data () {
        return {
            // 是否显示辖区
            areaPolygonLayerShow: true,
            selectAllClass: false,
            // 是否显示第一级select
            houseLayerShow: true,
@@ -691,7 +695,7 @@
            cameraLayerShow: false,
            monitoringLayerShow: false,
            panoramaLayerShow: false,
            policeSituationLayerShow: false,
            policeSituationLayerShow: true,
            panoramaTitle: '',
            panoramaVrUrl: '',
            equimentTitle: '',
@@ -729,7 +733,7 @@
                name: '1号全景',
                lng: 116.027625,
                lat: 28.677213,
                alt: 100,
                alt: 1,
                url: '/img/icon/map-panorama.png'
            }],
            activityList: [],
@@ -864,7 +868,6 @@
                            if (item.id == this.userInfo.dept_id) currentItem = item
                        })
                        this.initAreaOptionLayer(currentItem)
                        this.getPoliceStationTree(2, this.userInfo.dept_id)
                        this.policeStaionChecked = currentItem
@@ -876,6 +879,8 @@
                } else if (type == 2) {
                    this.areaOptions = res.data.data
                    this.initAreaOptionLayer()
                    this.areaOptions.unshift({
                        name: '全部',
@@ -893,7 +898,7 @@
                            params: {
                                lng: positionArr[0],
                                lat: positionArr[1],
                                alt: 50,
                                alt: 1,
                                url: '/img/icon/house.png',
                                id: item.id
                            },
@@ -978,7 +983,7 @@
                let position = []
                res.data.data.forEach(item => {
                    position = JSON.parse(item.geom).coordinates
                    this.houseList.push({ name: `${item.aoi_name}`, lng: `${position[0]}`, lat: `${position[1]}`, alt: 200, url: '/img/icon/house.png' })
                    this.houseList.push({ name: `${item.aoi_name}`, lng: `${position[0]}`, lat: `${position[1]}`, alt: 1, url: '/img/icon/house.png' })
                })
                this.houseChange(true)
            })
@@ -1005,10 +1010,9 @@
                this.policeStaionID = ''
            } else {
                cylinderLayer.clear()
                this.initAreaOptionLayer(item)
                this.getPoliceStationTree(2, item.id)
                this.areaCheckValue = '请选择责任区'
                this.housingCheckValue = '请选择小区'
                this.getPoliceStationTree(2, item.id)
                this.policeStaionID = item.id
            }
@@ -1029,14 +1033,14 @@
        areaSelect (item) {
            this.areaCheckValue = item.name
            if (item.name == "全部") {
                this.initAreaOptionLayer(this.policeStaionChecked)
                this.initAreaOptionLayer()
                this.housingOptions = []
                this.housingCheckValue = '请选择小区'
            } else {
                this.housingCheckValue = '请选择小区'
                this.getPoliceStationTree(3, item.id)
                this.areaChecked = item
                this.initAreaOptionLayer(item)
                this.initAreaOptionLayer()
            }
        },
@@ -1071,6 +1075,19 @@
        },
        /**
        * @description: 辖区是否展示,默认展示
        * @param {*} e
        * @return {*}
        */
        areaPolygonChange (e) {
            if (e == true) {
                DataSourcesArray.forEach(i => i.show = true)
            } else {
                DataSourcesArray.forEach(i => i.show = false)
            }
        },
        /**
         * @description: 小区是否展示
         * @param {*} e
         * @return {*}
@@ -1093,10 +1110,6 @@
            }
        },
        createCyLinder (res) {
            console.log(res, 9599999)
        },
        houseSiteClick (e) {
            this.$router.push({ path: '/layout/house', query: { id: e.overlay.attrParams.id } })
        },
@@ -1114,7 +1127,7 @@
                                    ...item,
                                    lng: item.longitude,
                                    lat: item.latitude,
                                    alt: 100,
                                    alt: 1,
                                    url: '/img/icon/car.png'
                                },
                                incident: this.phoneSiteClick
@@ -1143,7 +1156,7 @@
                                    ...item,
                                    lng: item.longitude,
                                    lat: item.latitude,
                                    alt: 100,
                                    alt: 1,
                                    url: '/img/icon/camera.png'
                                },
                                incident: this.siteClick
@@ -1197,13 +1210,16 @@
            }
        },
        policeSituationChange () {
            this.policeSituationSelectChange()
            circleLayer.clear()
            circleLayer.remove()
            circleLayer = null
            circleLayer = new global.DC.PrimitiveLayer('circleLayer')
            global.viewer.addLayer(circleLayer)
        async policeSituationChange () {
            await this.policeSituationSelectChange()
            if (circleLayer && circleLayer != null && circleLayer != '' && circleLayer != undefined) {
                circleLayer.clear()
                circleLayer.remove()
                circleLayer = null
                circleLayer = new global.DC.PrimitiveLayer('circleLayer')
                global.viewer.addLayer(circleLayer)
            }
            if (this.policeSituationLayerShow == true) {
                this.policeSituationList.forEach((item, index) => {
                    let center = new global.DC.Position(item.lng, item.lat)
@@ -1235,19 +1251,21 @@
        policeSituationSelectChange () {
            let showArr = []
            if (this.policeSituationHistoryType == 0) {
                showArr = this.$refs.bottomContainer.chooseRealData()
            } else {
                showArr = this.$refs.bottomContainer.chooseTimeDate()
            }
            this.$nextTick(() => {
                if (this.policeSituationHistoryType == 0) {
                    showArr = this.$refs.bottomContainer.chooseRealData()
                } else {
                    showArr = this.$refs.bottomContainer.chooseTimeDate()
                }
            showArr.forEach((item, index) => {
                item.lng = Number(item.lng)
                item.lat = Number(item.lat)
                item.url = '/img/icon/jq.png'
                showArr.forEach((item, index) => {
                    item.lng = Number(item.lng)
                    item.lat = Number(item.lat)
                    item.url = '/img/icon/jq.png'
                })
                this.policeSituationList = showArr
            })
            this.policeSituationList = showArr
        },
        siteClick (e) {
@@ -1346,7 +1364,7 @@
                        params: {
                            lng: center[0],
                            lat: center[1],
                            alt: 0,
                            alt: 1,
                            text: item.housingsName
                        },
                        distanceDisplayCondition: { "near": 0, "far": 200000 }
@@ -1426,11 +1444,37 @@
            arr.push(arr[0])
            return this.$turf.centroid(this.$turf.polygon([arr])).geometry.coordinates
            if (arr.length == 1) {
                return arr[0]
            } else if (arr.length == 2) {
                return this.$turf.centroid(this.$turf.midpoint(this.$turf.point(arr[0]), this.$turf.point(arr[1]))).geometry.coordinates
            } else {
                arr.push(arr[0])
                return this.$turf.centroid(this.$turf.polygon([arr])).geometry.coordinates
            }
        },
        drawText (style) {
            const text = style.text
            var c = document.createElement("canvas")
            const d = (text + "").length * style.fontSize
            c.width = d
            c.height = style.fontSize
            var ctx = c.getContext("2d")
            ctx.fillStyle = style.color
            ctx.font = "bold " + style.fontSize + "px 微软雅黑" //设置字体
            ctx.textBaseline = 'hanging' //在绘制文本时使用的当前文本基线
            //绘制文本
            ctx.fillText(text, 0, 0)
            return c
        },
        // 加载面数据的方法
        initPoliceStationLayer () {
            const that = this
            cylinderLayer = new global.DC.PrimitiveLayer('cylinderLayer')
            global.viewer.addLayer(cylinderLayer)
@@ -1450,6 +1494,7 @@
                            strokeWidth: 0,
                        }).then(function (dataSource) {
                            DataSourcesArray.push(dataSource)
                            that.areaPolygonLayerShow == false ? dataSource.show = false : dataSource.show = true
                            global.viewer.dataSources.add(dataSource)
                        })
@@ -1457,18 +1502,7 @@
                    const center = this.getRegionCenter(item.position)
                    this.$EventBus.$emit('layerPointAdd', {
                        layerName: 'polygonLayer',
                        type: 'label',
                        params: {
                            lng: center[0],
                            lat: center[1],
                            alt: 1,
                            text: item.name,
                            outW: 20
                        },
                        distanceDisplayCondition: { "near": 0, "far": 200000 }
                    })
                    // this.$EventBus.$emit('layerPointAdd', {
                    //     layerName: 'polygonLayer',
@@ -1477,14 +1511,46 @@
                    //         lng: center[0],
                    //         lat: center[1],
                    //         alt: 0,
                    //         text: item.policeStationName,
                    //         text: `${item.name}`,
                    //         outW: 20
                    //     },
                    //     distanceDisplayCondition: { "near": 0, "far": 200000 }
                    // })
                    // let cylinder = new global.DC.LightCylinderPrimitive(new global.DC.Position(center[0] + 0.02, center[1] - 0.01), 1200, 1, 600)
                    this.$EventBus.$emit('layerPolygonAdd', {
                        layerName: 'polygonLayer',
                        positions: `${center[0] - 0.01},${center[1] - 0.0020};
                                    ${center[0] + 0.01},${center[1] - 0.0020};
                                    ${center[0] + 0.01},${center[1] + 0.0020};
                                    ${center[0] - 0.01},${center[1] + 0.0020};`,
                        material: new global.DC.Namespace.Cesium.ImageMaterialProperty({
                            image: that.drawText({
                                fontSize: 16,
                                color: 'red',
                                text: item.name
                            }),
                            transparent: true,
                            color: global.DC.Namespace.Cesium.Color.WHITE
                        }),
                    })
                    // this.$EventBus.$emit('layerPointAdd', {
                    //     layerName: 'personNumLayer',
                    //     type: 'label',
                    //     params: {
                    //         lng: center[0],
                    //         lat: center[1],
                    //         alt: 1,
                    //         text: `${item.num}`,
                    //         outW: 20
                    //     },
                    //     distanceDisplayCondition: { "near": 0, "far": 160000 }
                    // })
                    // let cylinder = new global.DC.LightCylinderPrimitive(new global.DC.Position(center[0], center[1]), 600, 1, 300)
                    // cylinder.setStyle({
                    //     color: global.DC.Namespace.Cesium.Color.fromBytes(
                    //         102, 176, 255,
                    //         2, 27, 121,
                    //         255
                    //     )
                    // })
@@ -1492,8 +1558,6 @@
                }
            })
            const center = this.getAllRegionCenter(this.policeStationOptions)
@@ -1508,30 +1572,59 @@
            this.houseChange(true)
        },
        initAreaOptionLayer (item) {
        initAreaOptionLayer () {
            const that = this
            this.clearPolygonLayer()
            item.position.forEach((sourceItem, index) => {
            this.areaOptions.forEach((item, index) => {
                item.position.forEach(sourceItem => {
                    const Json = { ...JSON.parse(sourceItem) }
                    global.DC.Namespace.Cesium.GeoJsonDataSource.load(Json, {
                        stroke: positionColor[index],
                        fill: positionColor[index], //注意:颜色必须大写,即不能为blue
                        strokeWidth: 0,
                    }).then(function (dataSource) {
                        DataSourcesArray.push(dataSource)
                const Json = { ...JSON.parse(sourceItem) }
                global.DC.Namespace.Cesium.GeoJsonDataSource.load(Json, {
                    stroke: positionColor[index],
                    fill: positionColor[index], //注意:颜色必须大写,即不能为blue
                    strokeWidth: 0,
                }).then(function (dataSource) {
                    DataSourcesArray.push(dataSource)
                    global.viewer.dataSources.add(dataSource)
                        that.areaPolygonLayerShow == false ? dataSource.show = false : dataSource.show = true
                        global.viewer.dataSources.add(dataSource)
                    })
                })
                // const center = this.getRegionCenter(item.position)
                // this.$EventBus.$emit('layerPointAdd', {
                //     layerName: 'personNumLayer',
                //     type: 'label',
                //     params: {
                //         lng: center[0],
                //         lat: center[1],
                //         alt: 200,
                //         text: `${item.num}`,
                //         outW: 20
                //     },
                //     distanceDisplayCondition: { "near": 0, "far": 160000 }
                // })
                // let cylinder = new global.DC.LightCylinderPrimitive(new global.DC.Position(center[0], center[1]), 200, 1, 50)
                // cylinder.setStyle({
                //     color: global.DC.Namespace.Cesium.Color.fromBytes(
                //         2, 27, 121,
                //         255
                //     )
                // })
                // cylinderLayer.addOverlay(cylinder)
            })
            const center = this.getRegionCenter(item.position)
            const center = this.getAllRegionCenter(this.areaOptions)
            this.$EventBus.$emit('toPosition', {
                siteJd: center[0],
                siteWd: center[1],
                siteGd: 15000,
                siteJd: center[0] + 0.008,
                siteWd: center[1] - 0.13,
                siteGd: 12000,
                siteHeading: -3,
                sitePitch: -90
                sitePitch: -45
            })
        },
@@ -1598,6 +1691,13 @@
                layerName: 'polygonLayer',
                type: 'VectorLayer'
            })
            this.$EventBus.$emit('mapClearLayer', {
                layerName: 'personNumLayer',
                type: 'VectorLayer'
            })
            // cylinderLayer.clear()
        },
        getAreaCenter (name) {
@@ -1844,7 +1944,7 @@
                    data.forEach(e => {
                        e.lng = e.longitude
                        e.lat = e.latitude
                        e.alt = 100
                        e.alt = 1
                        e.url = '/img/icon/map-panorama.png'
                    })
                    this.panoramaList = data
@@ -2032,6 +2132,8 @@
    destroyed () {
        this.clearPolygonLayer()
        // cylinderLayer != null && cylinderLayer != undefined && cylinderLayer != '' && cylinderLayer.remove()
        this.$store.commit('SET_DETAILSPOPUP', {
            showBox: false,
            showBtn: false
@@ -2160,6 +2262,20 @@
            }
        }
        .area {
            :deep(.el-checkbox__inner) {
                background: rgb(190, 143, 89);
                border-color: rgb(190, 143, 89);
            }
            :deep(.is-checked) {
                .el-checkbox__inner {
                    background: rgb(182, 97, 0);
                    border-color: rgb(182, 97, 0);
                }
            }
        }
        .car {
            :deep(.el-checkbox__inner) {
                background: rgb(79, 114, 252);
src/views/house/index.vue
@@ -1076,7 +1076,6 @@
                        this.allHouseFloorList.push(newArr)
                    })
                    this.unitHouseChoosed = this.allHouseFloorList[0]
                    console.log(this.unitHouseChoosed, 2222)
                    if (aoiArr) {
                        this.unitHouseChoosed.forEach((item, index) => {
                            let aoiHeight = aoiArr[1]
src/views/layout/index.vue
@@ -337,7 +337,6 @@
                    debug: true
                }) || {}
                const date = calcDate(token.datetime, new Date().getTime())
                console.log(6688, date, token)
                if (validatenull(date)) return
                if (date.seconds >= 3000 && !this.refreshLock) {
                    this.refreshLock = true
src/views/police/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-17 16:59:08
 * @LastEditTime: 2023-02-21 16:54:24
 * @FilePath: \srs-police-affairs\src\views\police\index.vue
 * @Description: 辖区管理
 * 
@@ -420,7 +420,6 @@
        },
        async play (row) {
            console.log(row, 456)
            if (this.flvPlayer != null) {
                this.flvPlayer.pause()
                this.flvPlayer.unload()