guanqb
2023-02-17 635e9d84782d3d965a37cdc2214bf1e7d749da7d
Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
3 files modified
125 ■■■■ changed files
src/styles/index.scss 46 ●●●●● patch | view | raw | blame | history
src/views/home/index.vue 68 ●●●●● patch | view | raw | blame | history
src/views/police/index.vue 11 ●●●● patch | view | raw | blame | history
src/styles/index.scss
@@ -3,4 +3,48 @@
@import "./icon/index.scss";
@import "./tool/index.scss";
@import "./element-ui/element-ui.scss";
@import "./media/index.scss";
@import "./media/index.scss";
body {
    color: rgb(255, 97, 97);
    color: rgb(255, 142, 97);
    color: rgb(255, 192, 97);
    color: rgb(252, 58, 242);
    color: rgb(0, 185, 209);
    color: rgb(208, 167, 255);
    color: rgb(221, 255, 97);
    color: rgb(51, 255, 0);
    color: rgb(255, 97, 255);
    color: rgb(97, 255, 181);
    color: rgb(58, 181, 252);
    color: rgb(252, 129, 58);
    color: rgb(58, 252, 236);
    color: rgb(97, 184, 255);
    color: rgb(252, 58, 58);
    color: rgb(97, 113, 255);
    color: rgb(81, 252, 58);
    color: rgb(126, 97, 255);
    color: rgb(168, 252, 58);
    color: rgb(171, 97, 255);
    color: rgb(252, 249, 58);
    color: rgb(210, 97, 255);
    color: rgb(252, 174, 58);
    color: rgb(255, 226, 97);
    color: rgb(255, 97, 176);
    color: rgb(58, 252, 155);
    color: rgb(252, 58, 155);
}
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-17 13:57:42
 * @LastEditTime: 2023-02-17 16:43:28
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -600,35 +600,39 @@
                    id: '16',
                }]
            }]
    }
]
    }]
let positionColor = [
    global.DC.Namespace.Cesium.Color.fromBytes(3, 255, 13, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(102, 176, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(230, 162, 60, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(168, 45, 177, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(245, 108, 108, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(139, 195, 74, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(244, 67, 54, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 127, 80, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(100, 149, 237, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(220, 20, 60, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(0, 0, 139, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(189, 183, 107, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(148, 0, 211, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 20, 147, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(216, 191, 216, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(238, 130, 238, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(245, 222, 179, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(154, 205, 50, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(64, 224, 208, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(70, 130, 180, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 99, 71, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 97, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 142, 97, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 192, 97, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 242, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(0, 185, 209, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(208, 167, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(221, 255, 97, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(51, 255, 0, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 255, 181, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 181, 252, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 129, 58, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 252, 236, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 184, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 58, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(97, 113, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(81, 252, 58, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(126, 97, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(168, 252, 58, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(171, 97, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 249, 58, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(210, 97, 255, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 174, 58, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 226, 97, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(255, 97, 176, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(58, 252, 155, 150),
    global.DC.Namespace.Cesium.Color.fromBytes(252, 58, 155, 150),
]
let timer = []
import flvjs from 'flv.js'
import axios from "axios"
import geoJson from './444.json'
@@ -756,7 +760,9 @@
            policeStaionID: '',
            // 现有地搜索条件-小区名称
            landSearchAoiName: ''
            landSearchAoiName: '',
            destroyFlag: true
        }
    },
@@ -812,6 +818,7 @@
        // 加载首页下拉列表数据
        getPoliceStationTree (type, id = '') {
            getPoliceStationTree(type, id).then(res => {
                if (this.destroyFlag == false) return
                if (type == 1) {
                    this.policeStationOptions = res.data.data
@@ -1628,7 +1635,6 @@
                if (res.data.data.list.length > 0) {
                    this.equimentTableData = res.data.data.list
                    console.log(this.equimentTableData[0], 22323)
                    this.equimentPagingTotal = res.data.data.total
                } else {
@@ -1993,6 +1999,13 @@
            showBtn: false
        })
        global.viewer.dataSources.removeAll()
        this.$EventBus.$emit('mapRemoveLayer', {
            layerName: 'polygonLayer',
            type: 'VectorLayer'
        })
        this.$EventBus.$emit('mapRemoveLayer', {
            layerName: 'carLayers',
            type: 'VectorLayer'
@@ -2022,6 +2035,7 @@
            layerName: 'activityLayers',
            type: 'ClusterLayer'
        })
        if (cylinderLayer != null) {
            cylinderLayer.clear()
            cylinderLayer.remove()
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 10:23:23
 * @LastEditTime: 2023-02-17 16:59:08
 * @FilePath: \srs-police-affairs\src\views\police\index.vue
 * @Description: 辖区管理
 * 
@@ -420,6 +420,7 @@
        },
        async play (row) {
            console.log(row, 456)
            if (this.flvPlayer != null) {
                this.flvPlayer.pause()
                this.flvPlayer.unload()
@@ -472,13 +473,7 @@
        },
        siteClick (e) {
            this.dialogTitle = e.overlay.attrParams.name
            this.dialogVisible = true
            if (this.$refs.videoElement && this.$refs.videoElement != null) {
                this.$refs.videoElement.currentTime = 0
                this.$refs.videoElement.play()
            }
            this.play(e.overlay.attrParams)
        },
        dialogBeforeClose () {