guanqb
2022-11-16 5581ff1fde8370011f899228f2049a0b91960665
设备弹窗数据
9 files modified
527 ■■■■ changed files
src/assets/data/equimentsDate/car.js 40 ●●●● patch | view | raw | blame | history
src/assets/data/equimentsDate/phone.js 40 ●●●● patch | view | raw | blame | history
src/assets/data/equimentsDate/recorder.js 40 ●●●● patch | view | raw | blame | history
src/assets/data/policeSituationArr/historyArr.js 20 ●●●● patch | view | raw | blame | history
src/assets/data/policeSituationArr/realtimeArr.js 24 ●●●● patch | view | raw | blame | history
src/components/map/components/mapPopup.vue 269 ●●●● patch | view | raw | blame | history
src/views/home/components/bottomContainer.vue 8 ●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue 53 ●●●●● patch | view | raw | blame | history
src/views/home/index.vue 33 ●●●●● patch | view | raw | blame | history
src/assets/data/equimentsDate/car.js
@@ -1,22 +1,22 @@
export default [
    { 'carID': '#11111', 'carType': '大众', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '运行' },
    { 'carID': '#22222', 'carType': '宝马', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '备用' },
    { 'carID': '#33333', 'carType': '奔驰', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '检修' },
    { 'carID': '#44444', 'carType': '红旗', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '禁用' },
    { 'carID': '#55555', 'carType': '大众', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '运行' },
    { 'carID': '#66666', 'carType': '宝马', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '备用' },
    { 'carID': '#77777', 'carType': '奔驰', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '检修' },
    { 'carID': '#88888', 'carType': '红旗', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '禁用' },
    { 'carID': '*99911', 'carType': '大众', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '运行' },
    { 'carID': '*99922', 'carType': '宝马', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '备用' },
    { 'carID': '*99933', 'carType': '奔驰', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '检修' },
    { 'carID': '*99944', 'carType': '红旗', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '禁用' },
    { 'carID': '*99955', 'carType': '大众', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '运行' },
    { 'carID': '*99966', 'carType': '宝马', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '备用' },
    { 'carID': '*99977', 'carType': '奔驰', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '检修' },
    { 'carID': '*99988', 'carType': '红旗', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '禁用' },
    { 'carID': '#11***', 'carType': '大众', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '运行' },
    { 'carID': '#22***', 'carType': '宝马', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '备用' },
    { 'carID': '#33***', 'carType': '奔驰', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '检修' },
    { 'carID': '#44***', 'carType': '红旗', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '禁用' }
    { 'equimentType': '警车', 'carID': '#11111', 'carType': '大众', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '运行' },
    { 'equimentType': '警车', 'carID': '#22222', 'carType': '宝马', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '备用' },
    { 'equimentType': '警车', 'carID': '#33333', 'carType': '奔驰', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '检修' },
    { 'equimentType': '警车', 'carID': '#44444', 'carType': '红旗', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '禁用' },
    { 'equimentType': '警车', 'carID': '#55555', 'carType': '大众', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '运行' },
    { 'equimentType': '警车', 'carID': '#66666', 'carType': '宝马', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '备用' },
    { 'equimentType': '警车', 'carID': '#77777', 'carType': '奔驰', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '检修' },
    { 'equimentType': '警车', 'carID': '#88888', 'carType': '红旗', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '禁用' },
    { 'equimentType': '警车', 'carID': '*99911', 'carType': '大众', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '运行' },
    { 'equimentType': '警车', 'carID': '*99922', 'carType': '宝马', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '备用' },
    { 'equimentType': '警车', 'carID': '*99933', 'carType': '奔驰', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '检修' },
    { 'equimentType': '警车', 'carID': '*99944', 'carType': '红旗', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '禁用' },
    { 'equimentType': '警车', 'carID': '*99955', 'carType': '大众', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '运行' },
    { 'equimentType': '警车', 'carID': '*99966', 'carType': '宝马', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '备用' },
    { 'equimentType': '警车', 'carID': '*99977', 'carType': '奔驰', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '检修' },
    { 'equimentType': '警车', 'carID': '*99988', 'carType': '红旗', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '禁用' },
    { 'equimentType': '警车', 'carID': '#11***', 'carType': '大众', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '运行' },
    { 'equimentType': '警车', 'carID': '#22***', 'carType': '宝马', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '备用' },
    { 'equimentType': '警车', 'carID': '#33***', 'carType': '奔驰', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '检修' },
    { 'equimentType': '警车', 'carID': '#44***', 'carType': '红旗', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '禁用' }
]
src/assets/data/equimentsDate/phone.js
@@ -1,22 +1,22 @@
export default [
    { 'phoneID': '188XXX11111', 'phoneType': '魅族', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '检修' },
    { 'phoneID': '188XXX22222', 'phoneType': '华为', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '禁用' },
    { 'phoneID': '188XXX33333', 'phoneType': '一加', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '运行' },
    { 'phoneID': '188XXX44444', 'phoneType': '华为', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '运行' },
    { 'phoneID': '188XXX55555', 'phoneType': '三星', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'phoneID': '188XXX66666', 'phoneType': '华为', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'phoneID': '188XXX77777', 'phoneType': '小米', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'phoneID': '188XXX88888', 'phoneType': '华为', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '检修' },
    { 'phoneID': '133XXX11111', 'phoneType': '魅族', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '检修' },
    { 'phoneID': '133XXX22222', 'phoneType': '华为', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '禁用' },
    { 'phoneID': '133XXX33333', 'phoneType': '一加', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '运行' },
    { 'phoneID': '133XXX44444', 'phoneType': '华为', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '备用' },
    { 'phoneID': '133XXX55555', 'phoneType': '三星', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'phoneID': '133XXX66666', 'phoneType': '华为', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'phoneID': '133XXX77777', 'phoneType': '小米', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'phoneID': '133XXX88888', 'phoneType': '华为', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '备用' },
    { 'phoneID': '175XXX11111', 'phoneType': '魅族', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '检修' },
    { 'phoneID': '175XXX22222', 'phoneType': '华为', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '禁用' },
    { 'phoneID': '175XXX33333', 'phoneType': '一加', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '运行' },
    { 'phoneID': '175XXX44444', 'phoneType': '华为', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '运行' }
    { 'equimentType': '手台', 'phoneID': '188XXX11111', 'phoneType': '魅族', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '手台', 'phoneID': '188XXX22222', 'phoneType': '华为', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '手台', 'phoneID': '188XXX33333', 'phoneType': '一加', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '手台', 'phoneID': '188XXX44444', 'phoneType': '华为', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '手台', 'phoneID': '188XXX55555', 'phoneType': '三星', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '手台', 'phoneID': '188XXX66666', 'phoneType': '华为', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '手台', 'phoneID': '188XXX77777', 'phoneType': '小米', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '手台', 'phoneID': '188XXX88888', 'phoneType': '华为', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '检修' },
    { 'equimentType': '手台', 'phoneID': '133XXX11111', 'phoneType': '魅族', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '手台', 'phoneID': '133XXX22222', 'phoneType': '华为', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '手台', 'phoneID': '133XXX33333', 'phoneType': '一加', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '手台', 'phoneID': '133XXX44444', 'phoneType': '华为', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '备用' },
    { 'equimentType': '手台', 'phoneID': '133XXX55555', 'phoneType': '三星', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '手台', 'phoneID': '133XXX66666', 'phoneType': '华为', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '手台', 'phoneID': '133XXX77777', 'phoneType': '小米', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '手台', 'phoneID': '133XXX88888', 'phoneType': '华为', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '备用' },
    { 'equimentType': '手台', 'phoneID': '175XXX11111', 'phoneType': '魅族', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '手台', 'phoneID': '175XXX22222', 'phoneType': '华为', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '手台', 'phoneID': '175XXX33333', 'phoneType': '一加', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '手台', 'phoneID': '175XXX44444', 'phoneType': '华为', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '运行' }
]
src/assets/data/equimentsDate/recorder.js
@@ -1,22 +1,22 @@
export default [
    { 'recorderID': 'ABC111', 'recorderType': '爱国', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '检修' },
    { 'recorderID': 'ABC222', 'recorderType': '百步', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '禁用' },
    { 'recorderID': 'ABC333', 'recorderType': '飞利', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '运行' },
    { 'recorderID': 'ABC444', 'recorderType': '途强', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '备用' },
    { 'recorderID': 'ABC555', 'recorderType': '鹰眼', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'recorderID': 'ABC666', 'recorderType': '致业', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'recorderID': 'ABC777', 'recorderType': '联想', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'recorderID': 'ABC888', 'recorderType': '高新', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '备用' },
    { 'recorderID': 'FFF111', 'recorderType': '爱国', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '检修' },
    { 'recorderID': 'FFF222', 'recorderType': '百步', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '禁用' },
    { 'recorderID': 'FFF333', 'recorderType': '飞利', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '运行' },
    { 'recorderID': 'FFF444', 'recorderType': '途强', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '备用' },
    { 'recorderID': 'FFF555', 'recorderType': '鹰眼', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'recorderID': 'FFF666', 'recorderType': '致业', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'recorderID': 'FFF777', 'recorderType': '联想', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'recorderID': 'FFF888', 'recorderType': '高新', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '禁用' },
    { 'recorderID': 'GGG111', 'recorderType': '爱国', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '检修' },
    { 'recorderID': 'GGG222', 'recorderType': '百步', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '禁用' },
    { 'recorderID': 'GGG333', 'recorderType': '飞利', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '运行' },
    { 'recorderID': 'GGG444', 'recorderType': '途强', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC111', 'recorderType': '爱国', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC222', 'recorderType': '百步', 'policeStation': '车站派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC333', 'recorderType': '飞利', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC444', 'recorderType': '途强', 'policeStation': '车站派出所', 'area': '责任区2', 'state': '备用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC555', 'recorderType': '鹰眼', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC666', 'recorderType': '致业', 'policeStation': '沙溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC777', 'recorderType': '联想', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '执法记录仪', 'recorderID': 'ABC888', 'recorderType': '高新', 'policeStation': '沙溪派出所', 'area': '责任区2', 'state': '备用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF111', 'recorderType': '爱国', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF222', 'recorderType': '百步', 'policeStation': '北门派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF333', 'recorderType': '飞利', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF444', 'recorderType': '途强', 'policeStation': '北门派出所', 'area': '责任区2', 'state': '备用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF555', 'recorderType': '鹰眼', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF666', 'recorderType': '致业', 'policeStation': '灵溪派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF777', 'recorderType': '联想', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '执法记录仪', 'recorderID': 'FFF888', 'recorderType': '高新', 'policeStation': '灵溪派出所', 'area': '责任区2', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'GGG111', 'recorderType': '爱国', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '检修' },
    { 'equimentType': '执法记录仪', 'recorderID': 'GGG222', 'recorderType': '百步', 'policeStation': '江光派出所', 'area': '责任区1', 'state': '禁用' },
    { 'equimentType': '执法记录仪', 'recorderID': 'GGG333', 'recorderType': '飞利', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '运行' },
    { 'equimentType': '执法记录仪', 'recorderID': 'GGG444', 'recorderType': '途强', 'policeStation': '江光派出所', 'area': '责任区2', 'state': '禁用' },
]
src/assets/data/policeSituationArr/historyArr.js
@@ -1,12 +1,12 @@
export default [
    { 'num': '1', 'type': '聚众斗殴', 'state': '紧急', 'comingPhone': '13466669999', 'dealTime': '2022-10-01 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '车站派出所', 'position': [115.968301, 28.692978] },
    { 'num': '2', 'type': '聚众斗殴', 'state': '常规', 'comingPhone': '13466669999', 'dealTime': '2022-10-12 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '车站派出所', 'position': [116.001740, 28.652388] },
    { 'num': '3', 'type': '聚众斗殴', 'state': '紧急', 'comingPhone': '13466669999', 'dealTime': '2022-10-15 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '沙溪派出所', 'position': [115.986928, 28.534698] },
    { 'num': '4', 'type': '聚众斗殴', 'state': '常规', 'comingPhone': '13466669999', 'dealTime': '2022-10-20 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '沙溪派出所', 'position': [116.063849, 28.592397] },
    { 'num': '5', 'type': '聚众斗殴', 'state': '紧急', 'comingPhone': '13466669999', 'dealTime': '2022-11-01 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '灵溪派出所', 'position': [116.088476, 28.584286] },
    { 'num': '6', 'type': '聚众斗殴', 'state': '常规', 'comingPhone': '13466669999', 'dealTime': '2022-11-03 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '灵溪派出所', 'position': [116.130909, 28.571193] },
    { 'num': '7', 'type': '聚众斗殴', 'state': '紧急', 'comingPhone': '13466669999', 'dealTime': '2022-11-05 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '北门派出所', 'position': [116.169778, 28.615767] },
    { 'num': '8', 'type': '聚众斗殴', 'state': '常规', 'comingPhone': '13466669999', 'dealTime': '2022-11-07 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '北门派出所', 'position': [116.288719, 28.685802] },
    { 'num': '9', 'type': '聚众斗殴', 'state': '紧急', 'comingPhone': '13466669999', 'dealTime': '2022-11-09 23:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '江光派出所', 'position': [116.116809, 28.786638] },
    { 'num': '10', 'type': '聚众斗殴', 'state': '常规', 'comingPhone': '13466669999', 'dealTime': '2022-11-10 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '江光派出所', 'position': [116.190200, 28.759358] },
    { 'num': '1', 'type': '聚众斗殴', 'state': '处理中', 'comingPhone': '13466669999', 'dealTime': '2022-10-01 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '车站派出所', 'position': [115.968301, 28.692978] },
    { 'num': '2', 'type': '聚众斗殴', 'state': '已处理', 'comingPhone': '13466669999', 'dealTime': '2022-10-12 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '车站派出所', 'position': [116.001740, 28.652388] },
    { 'num': '3', 'type': '聚众斗殴', 'state': '处理中', 'comingPhone': '13466669999', 'dealTime': '2022-10-15 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '沙溪派出所', 'position': [115.986928, 28.534698] },
    { 'num': '4', 'type': '聚众斗殴', 'state': '已处理', 'comingPhone': '13466669999', 'dealTime': '2022-10-20 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '沙溪派出所', 'position': [116.063849, 28.592397] },
    { 'num': '5', 'type': '聚众斗殴', 'state': '处理中', 'comingPhone': '13466669999', 'dealTime': '2022-11-01 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '灵溪派出所', 'position': [116.088476, 28.584286] },
    { 'num': '6', 'type': '聚众斗殴', 'state': '已处理', 'comingPhone': '13466669999', 'dealTime': '2022-11-03 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '灵溪派出所', 'position': [116.130909, 28.571193] },
    { 'num': '7', 'type': '聚众斗殴', 'state': '处理中', 'comingPhone': '13466669999', 'dealTime': '2022-11-05 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '北门派出所', 'position': [116.169778, 28.615767] },
    { 'num': '8', 'type': '聚众斗殴', 'state': '已处理', 'comingPhone': '13466669999', 'dealTime': '2022-11-07 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '北门派出所', 'position': [116.288719, 28.685802] },
    { 'num': '9', 'type': '聚众斗殴', 'state': '处理中', 'comingPhone': '13466669999', 'dealTime': '2022-11-09 23:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '江光派出所', 'position': [116.116809, 28.786638] },
    { 'num': '10', 'type': '聚众斗殴', 'state': '已处理', 'comingPhone': '13466669999', 'dealTime': '2022-11-10 08:30:55', 'dealPolice': '王警官', 'callPeople': '张某三', 'callPhone': '15511112222', 'callContent': '他们先动的手', 'policeName': '江光派出所', 'position': [116.190200, 28.759358] },
]
src/assets/data/policeSituationArr/realtimeArr.js
@@ -1,14 +1,14 @@
export default [
    { 'num': '1', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-01 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': [115.956092, 28.655133] },
    { 'num': '1', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-01 09:19:36', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': '' },
    { 'num': '1', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-02 22:44:15', 'dealPolice': '王警官', 'callPeople': '张X  X', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': '' },
    { 'num': '2', 'type': '民事纠纷', 'state': '常规', 'comingPhone': '15511112222', 'dealTime': '2022-10-04 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': [115.988650, 28.672257] },
    { 'num': '3', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-09 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '沙溪派出所', 'position': [115.991405, 28.614604] },
    { 'num': '4', 'type': '民事纠纷', 'state': '常规', 'comingPhone': '15511112222', 'dealTime': '2022-10-12 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '沙溪派出所', 'position': [116.035493, 28.555238] },
    { 'num': '5', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '灵溪派出所', 'position': [116.131969, 28.547531] },
    { 'num': '6', 'type': '民事纠纷', 'state': '常规', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '灵溪派出所', 'position': [116.228057, 28.574474] },
    { 'num': '7', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '北门派出所', 'position': [116.125402, 28.626082] },
    { 'num': '8', 'type': '民事纠纷', 'state': '常规', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '北门派出所', 'position': [116.254688, 28.633999] },
    { 'num': '9', 'type': '民事纠纷', 'state': '紧急', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '江光派出所', 'position': [116.125914, 28.731029] },
    { 'num': '10', 'type': '民事纠纷', 'state': '常规', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '江光派出所', 'position': [116.022654, 28.758122] },
    { 'num': '1', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-01 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': [115.956092, 28.655133] },
    { 'num': '1', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-01 09:19:36', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': '' },
    { 'num': '1', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-02 22:44:15', 'dealPolice': '王警官', 'callPeople': '张X  X', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': '' },
    { 'num': '2', 'type': '民事纠纷', 'state': '已处理', 'comingPhone': '15511112222', 'dealTime': '2022-10-04 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '车站派出所', 'position': [115.988650, 28.672257] },
    { 'num': '3', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-09 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '沙溪派出所', 'position': [115.991405, 28.614604] },
    { 'num': '4', 'type': '民事纠纷', 'state': '已处理', 'comingPhone': '15511112222', 'dealTime': '2022-10-12 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '沙溪派出所', 'position': [116.035493, 28.555238] },
    { 'num': '5', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '灵溪派出所', 'position': [116.131969, 28.547531] },
    { 'num': '6', 'type': '民事纠纷', 'state': '已处理', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '灵溪派出所', 'position': [116.228057, 28.574474] },
    { 'num': '7', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '北门派出所', 'position': [116.125402, 28.626082] },
    { 'num': '8', 'type': '民事纠纷', 'state': '已处理', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '北门派出所', 'position': [116.254688, 28.633999] },
    { 'num': '9', 'type': '民事纠纷', 'state': '处理中', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '江光派出所', 'position': [116.125914, 28.731029] },
    { 'num': '10', 'type': '民事纠纷', 'state': '已处理', 'comingPhone': '15511112222', 'dealTime': '2022-10-19 08:30:14', 'dealPolice': '刘警官', 'callPeople': '张某某', 'callPhone': '13466669999', 'callContent': '他先动的手', 'policeName': '江光派出所', 'position': [116.022654, 28.758122] },
]
src/components/map/components/mapPopup.vue
@@ -1,41 +1,72 @@
<template>
    <div>
        <div v-if="detailsPopup" id="divFormsDomBox" class="container">
            <div class="title">
                详细信息
                <div class="close" @click="closePopup"></div>
            </div>
            <div class="item">
                <div>所属派出所:</div>
                <div>{{dataPopup.policeName}}</div>
            </div>
            <div class="item">
                <div>警情类别:</div>
                <div>{{dataPopup.type}}</div>
            </div>
            <div class="item">
                <div>警情状态:</div>
                <div>{{dataPopup.state}}</div>
            </div>
            <div class="item">
                <div>报警电话:</div>
                <div>{{dataPopup.comingPhone}}</div>
            </div>
            <div class="item">
                <div>接警时间:</div>
                <div>{{dataPopup.dealTime}}</div>
            </div>
            <div class="item">
                <div>经办民警:</div>
                <div>{{dataPopup.dealPolice}}</div>
            </div>
            <div class="item">
                <div>报警人:</div>
                <div>{{dataPopup.callPeople}}</div>
            </div>
            <div class="item">
                <div>报警人联系人:</div>
                <div>{{dataPopup.callPhone}}</div>
            <div v-if="detailsPopup" class="divForms-dom" id="divFormsDomBox">
                <div class="box">
                    <div class="divForms divForms-theme">
                        <div class="divForms-wrap">
                            <div class="area">
                                <div class="arrow-lt"></div>
                                <div class="b-t"></div>
                                <div class="b-r"></div>
                                <div class="b-b"></div>
                                <div class="b-l"></div>
                                <div class="arrow-rb"></div>
                                <div class="label-wrap">
                                    <div class="title">
                                        详细信息
                                        <div class="close" @click="closePopup" title="关闭"></div>
                                    </div>
                                    <div class="label-content">
                                        <div class="item">
                                            <div>警情类别:</div>
                                            <div>{{dataPopup.type}}</div>
                                        </div>
                                        <div class="item">
                                            <div>接警时间:</div>
                                            <div>{{dataPopup.dealTime}}</div>
                                        </div>
                                        <div class="item">
                                            <div>警情状态:</div>
                                            <div>{{dataPopup.state}}</div>
                                        </div>
                                        <div class="item">
                                            <div>经办民警:</div>
                                            <div>{{dataPopup.dealPolice}}</div>
                                        </div>
                                        <div class="item">
                                            <div>报警人:</div>
                                            <div>{{dataPopup.callPeople}}</div>
                                        </div>
                                        <div class="item">
                                            <div>报警电话:</div>
                                            <div>{{dataPopup.comingPhone}}</div>
                                        </div>
                                        <div class="item">
                                            <div>报警人联系人:</div>
                                            <div>{{dataPopup.callPhone}}</div>
                                        </div>
                                        <div class="item">
                                            <div>所属派出所:</div>
                                            <div>{{dataPopup.policeName}}</div>
                                        </div>
                                        <div class="item">
                                            <div>经度:</div>
                                            <div>{{ dataPopup.position[0] }}</div>
                                        </div>
                                        <div class="item">
                                            <div>纬度:</div>
                                            <div>{{ dataPopup.position[1] }}</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="b-t-l"></div>
                            <div class="b-b-r"></div>
                        </div>
                        <div class="arrow"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@@ -66,7 +97,7 @@
    z-index: 1 !important;
    width: 280px;
    height: 360px;
    background: $bg-color;
    // background: $bg-color;
    color: #fff;
    display: flex;
    flex-direction: row;
@@ -75,13 +106,18 @@
    align-content: flex-start;
    .title {
        height: 40px;
        line-height: 30px;
        line-height: 42px;
        width: 100%;
        position: relative;
        background-image: linear-gradient(
            135deg,
            transparent 25px,
            #29baf1 25px
        );
        .close {
            position: absolute;
            right: 5px;
            top: -5px;
            top: -2px;
        }
        .close::before {
            font-family: element-icons;
@@ -97,8 +133,8 @@
        display: flex;
        flex-direction: row;
        width: calc(100% - 20px);
        height: 36px;
        line-height: 36px;
        height: 30px;
        line-height: 30px;
        margin: 0 10px;
        text-align: left;
@@ -115,4 +151,157 @@
        }
    }
}
.divForms-dom {
    position: fixed;
    left: 0;
    z-index: 1 !important;
}
.box {
    width: 100%;
    height: 100%;
    transform: translate(0, 25%);
}
.divForms .arrow {
    position: absolute;
    bottom: 40%;
    left: 0;
    width: 45px;
    height: 2px;
    transform: rotate(-45deg) translate(5px, -15px);
    background-color: #28bbf0;
}
.divForms-theme .area {
    background-image: linear-gradient(
            135deg,
            transparent 30px,
            #28bbf09a 30px,
            #28bbf0a6 50%,
            transparent 50%
        ),
        linear-gradient(
            -45deg,
            transparent 30px,
            #28bbf09a 30px,
            #28bbf0a6 50.1%,
            transparent 50%
        );
}
.divForms .area {
    position: relative;
    min-width: 320px;
}
.divForms-wrap {
    position: relative;
    overflow: hidden;
    padding: 30px;
}
.divForms-theme .b-b,
.divForms-theme .b-b-r,
.divForms-theme .b-l,
.divForms-theme .b-r,
.divForms-theme .b-t,
.divForms-theme .b-t-l {
    background-color: #29baf1;
    box-shadow: 0 0 10px 2px #29baf1;
}
.divForms .b-t {
    position: absolute;
    top: 0;
    left: 44px;
    right: 0;
    height: 1px;
    z-index: 10;
}
.divForms .b-r {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 44px;
    width: 1px;
    z-index: 10;
}
.divForms .b-l {
    position: absolute;
    top: 44px;
    left: 0;
    bottom: 0;
    width: 1px;
    z-index: 10;
}
.divForms .b-b {
    position: absolute;
    left: 0;
    right: 44px;
    bottom: 0;
    height: 1px;
    z-index: 10;
}
.divForms .b-b-r {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1px;
    height: 62px;
    transform: rotate(45deg) translate(-52px, 22px);
    z-index: 10;
}
.divForms .b-t-l {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 62px;
    transform: rotate(45deg) translate(52px, -22px);
    z-index: 10;
}
.divForms .label-wrap {
    padding: 0 12px;
    color: #fff;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
}
.divForms-theme .title {
    background-image: linear-gradient(135deg, transparent 25px, #29baf1 25px);
}
.divForms .title {
    margin-top: 20px;
    padding: 0 12px 0 30px;
    height: 36px;
    line-height: 36px;
    position: relative;
}
.divForms .label-content {
    padding: 4px 0;
}
.divForms-theme .arrow,
.divForms-theme .title::before {
    background-color: #28bbf0;
}
.divForms .title::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    z-index: 10;
    height: 2px;
}
</style>
src/views/home/components/bottomContainer.vue
@@ -33,11 +33,11 @@
                <li style="color: #fff; background: rgb(1, 76, 137);">
                    <span class="num">序号</span>
                    <span class="type">警情类别</span>
                    <span class="state">警情状态</span>
                    <span class="comingPhone">报警电话</span>
                    <span class="dealTime">接警时间</span>
                    <span class="state">警情状态</span>
                    <span class="dealPolice">经办民警</span>
                    <span class="callPeople">报警人</span>
                    <span class="comingPhone">报警电话</span>
                    <span class="callPhone">报警人联系人</span>
                    <span class="callContent">报警内容</span>
                </li>
@@ -56,11 +56,11 @@
                        <!-- <span class="num" v-text="item.num"></span> -->
                        <span class="num" v-text="index + 1"></span>
                        <span class="type" v-text="item.type"></span>
                        <span class="state" v-text="item.state"></span>
                        <span class="comingPhone" v-text="item.comingPhone"></span>
                        <span class="dealTime" v-text="item.dealTime"></span>
                        <span class="state" v-text="item.state"></span>
                        <span class="dealPolice" v-text="item.dealPolice"></span>
                        <span class="callPeople" v-text="item.callPeople"></span>
                        <span class="comingPhone" v-text="item.comingPhone"></span>
                        <span class="callPhone" v-text="item.callPhone"></span>
                        <span class="callContent" v-text="item.callContent"></span>
                    </li>
src/views/home/components/rightContainer.vue
@@ -122,7 +122,21 @@
            phoneNewArr: [],
            carNewArr: [],
            recorderNewArr: [],
            workingSaveArr: [],
            spareSaveArr: [],
            overhaulSaveArr: [],
            disableSaveArr: [],
            workingNewArr: [],
            spareNewArr: [],
            overhaulNewArr: [],
            disableNewArr: [],
        }
    },
    created () {
        this.workingSaveArr = this.workingSaveArr.concat(this.getEquimentChartStateData(phoneArr).workingArr).concat(this.getEquimentChartStateData(carArr).workingArr).concat(this.getEquimentChartStateData(recorderArr).workingArr)
        this.spareSaveArr = this.spareSaveArr.concat(this.getEquimentChartStateData(phoneArr).spareArr).concat(this.getEquimentChartStateData(carArr).spareArr).concat(this.getEquimentChartStateData(recorderArr).spareArr)
        this.overhaulSaveArr = this.overhaulSaveArr.concat(this.getEquimentChartStateData(phoneArr).overhaulArr).concat(this.getEquimentChartStateData(carArr).overhaulArr).concat(this.getEquimentChartStateData(recorderArr).overhaulArr)
        this.disableSaveArr = this.disableSaveArr.concat(this.getEquimentChartStateData(phoneArr).disableArr).concat(this.getEquimentChartStateData(carArr).disableArr).concat(this.getEquimentChartStateData(recorderArr).disableArr)
    },
    mounted () {
@@ -396,6 +410,7 @@
        clickEquimentChart () {
            equipmentmyChart.on('click', params => {
                // 设备类型,监控弹窗显示,其他弹窗显示,【记录仪列显示,警车列显示,手台列显示】,遍历数组
                this.$emit('showequimentdetail', params.name, false, true, [false, false, false], [])
                if (params.name == '摄像头') {
                    this.$emit('showequimentdetail', params.name, true, false, [false, false, false], [])
@@ -405,6 +420,14 @@
                    this.$emit('showequimentdetail', params.name, false, true, [false, true, false], this.carNewArr)
                } else if (params.name == '执法记录仪') {
                    this.$emit('showequimentdetail', params.name, false, true, [true, false, false], this.recorderNewArr)
                } else if (params.name == '运行') {
                    this.$emit('showequimentdetail', params.name, false, true, [false, false, false, true], this.workingNewArr)
                } else if (params.name == '备用') {
                    this.$emit('showequimentdetail', params.name, false, true, [false, false, false, true], this.spareNewArr)
                } else if (params.name == '检修') {
                    this.$emit('showequimentdetail', params.name, false, true, [false, false, false, true], this.overhaulNewArr)
                } else if (params.name == '禁用') {
                    this.$emit('showequimentdetail', params.name, false, true, [false, false, false, true], this.disableNewArr)
                }
            })
        },
@@ -469,9 +492,15 @@
            let carCount = 0
            let recorderCount = 0
            let monitorCount = 0
            // 设备种类
            this.phoneNewArr = []
            this.carNewArr = []
            this.recorderNewArr = []
            // 设备状态
            this.workingNewArr = []
            this.spareNewArr = []
            this.overhaulNewArr = []
            this.disableNewArr = []
            let phoneState = {}
            let carState = {}
            let recorderState = {}
@@ -485,6 +514,10 @@
                recorderCount = recorderArr.length
                this.recorderNewArr = recorderArr
                monitorCount = 10
                this.workingNewArr = this.workingSaveArr
                this.spareNewArr = this.spareSaveArr
                this.overhaulNewArr = this.overhaulSaveArr
                this.disableNewArr = this.disableSaveArr
            } else {
                this.phoneNewArr = this.getEquimentDataCountandArr(phoneArr, policeStationName).arr
                phoneCount = this.getEquimentDataCountandArr(phoneArr, policeStationName).count
@@ -493,6 +526,10 @@
                this.recorderNewArr = this.getEquimentDataCountandArr(recorderArr, policeStationName).arr
                recorderCount = this.getEquimentDataCountandArr(recorderArr, policeStationName).count
                monitorCount = 10
                this.workingNewArr = this.getEquimentDataCountandArr(this.workingSaveArr, policeStationName).arr
                this.spareNewArr = this.getEquimentDataCountandArr(this.spareSaveArr, policeStationName).arr
                this.overhaulNewArr = this.getEquimentDataCountandArr(this.overhaulSaveArr, policeStationName).arr
                this.disableNewArr = this.getEquimentDataCountandArr(this.disableSaveArr, policeStationName).arr
            }
            phoneState = this.getEquimentChartStateData(this.phoneNewArr)
            carState = this.getEquimentChartStateData(this.carNewArr)
@@ -526,18 +563,32 @@
            let spare = 0
            let overhaul = 0
            let disable = 0
            let workingArr = []
            let spareArr = []
            let overhaulArr = []
            let disableArr = []
            newArr.forEach(item => {
                for (let p in item) {
                    if (p.indexOf('ID') != -1) {
                        item['id'] = item[p]
                    }
                }
                if (item.state == '运行') {
                    working++
                    workingArr.push(item)
                } else if (item.state == '备用') {
                    spare++
                    spareArr.push(item)
                } else if (item.state == '检修') {
                    overhaul++
                    overhaulArr.push(item)
                } else if (item.state == '禁用') {
                    disable++
                    disableArr.push(item)
                }
            })
            return { 'working': working, 'spare': spare, 'overhaul': overhaul, 'disable': disable }
            return { 'working': working, 'spare': spare, 'overhaul': overhaul, 'disable': disable, 'workingArr': workingArr, 'spareArr': spareArr, 'overhaulArr': overhaulArr, 'disableArr': disableArr }
        },
        getEquimentChartTypeData (phoneState, carState, recorderState, monitorState) {
src/views/home/index.vue
@@ -266,8 +266,11 @@
                                label="记录仪机型"
                                v-if="recorderArrShow"
                            ></el-table-column>
                            <el-table-column prop="id" label="设备号" v-if="stateArrShow"></el-table-column>
                            <el-table-column prop="equimentType" label="设备类型" v-if="stateArrShow"></el-table-column>
                            <el-table-column prop="policeStation" label="所属派出所"></el-table-column>
                            <el-table-column prop="area" label="所属责任区"></el-table-column>
                            <el-table-column prop="state" label="状态"></el-table-column>
                        </el-table>
                        <div class="pages">
                            <el-pagination
@@ -371,14 +374,6 @@
                <div>报警人联系人:</div>
                <div>{{ policeSituationDetailArr.callPhone }}</div>
            </div>
            <!-- <div class="item">
                <div>经度:</div>
                <div>{{ policeSituationDetailArr.lng }}</div>
            </div>
            <div class="item">
                <div>纬度:</div>
                <div>{{ policeSituationDetailArr.lat }}</div>
            </div>-->
            <div class="dialog-content">
                <div>报警内容:</div>
                <div>{{ policeSituationDetailArr.callContent }}</div>
@@ -618,6 +613,7 @@
            carArrShow: false,
            phoneArrShow: false,
            recorderArrShow: false,
            stateArrShow: false,
            currentPage: 1,
            pagesize: 9,
            landDetailArr: [],
@@ -929,7 +925,7 @@
                    let center = new global.DC.Position(item.lng, item.lat)
                    let point = new global.DC.PointPrimitive(center)
                    let num = 0
                    if (item.state == '紧急') {
                    if (item.state == '处理中') {
                        timer[index] = setInterval(() => {
                            num++
                            if (num >= 10) {
@@ -1039,13 +1035,25 @@
        policeSituationSiteClick (e) {
            if ('overlay' in e) {
                this.policeSituationDetailArr = e.overlay.attrParams
                this.policeSituationTitle = e.overlay.attrParams.name
                this.$store.commit('SET_DETAILSPOPUP', true)
                this.$store.commit('SET_DATAPOPUP', e.overlay.attrParams)
                var popup = new global.DC.DivForms(global.viewer, {
                    domId: 'divFormsDomBox',
                    position: [
                        global.DC.Transform.transformWGS84ToCartesian(
                            new global.DC.Position(
                                Number(e.overlay.attrParams.position[0]),
                                Number(e.overlay.attrParams.position[1]),
                                0
                            )
                        )
                    ]
                })
            } else {
                this.policeSituationDetailArr = e
                this.policeSituationTitle = e.num + '号警情'
                this.policeSituationVisible = true
            }
            this.policeSituationVisible = true
        },
        equimentBeforeClose () {
@@ -1418,6 +1426,7 @@
            this.recorderArrShow = booleans[0]
            this.carArrShow = booleans[1]
            this.phoneArrShow = booleans[2]
            this.stateArrShow = booleans[3]
            this.saveArr = arr
            this.showArr = arr
            // 动态改变树形控件数据