Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
| | |
| | | </div> |
| | | <div class="close" @click="closePopup" title="关闭"></div> |
| | | </div> |
| | | <div class="change-btn" v-show="showBtn"> |
| | | <div class="change-btn" v-show="detailsPopup.showBtn"> |
| | | <div |
| | | @click="currentBtn = '接警信息'" |
| | | :class="{ on: currentBtn == '接警信息' }" |
| | |
| | | ]) |
| | | }, |
| | | |
| | | watch: { |
| | | detailsPopup: { |
| | | handler (newData, oldData) { |
| | | if (newData.showBox == false) { |
| | | this.currentBtn = '接警信息' |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | mounted () { |
| | | |
| | | if (this.getWidth() > 7000) { |
| | |
| | | @media screen and (min-width: 1920px) { |
| | | @media screen and (max-height: 9000px) { |
| | | |
| | | html, |
| | | body { |
| | |
| | | |
| | | .el-table__body-wrapper { |
| | | height: calc(100% - countSizeVh(36)) !important; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | @media screen and (max-height: 975px) { |
| | | .left-container { |
| | | .mypath { |
| | | transform-origin: top; |
| | | transform: scale(1.1, 1); |
| | | } |
| | | } |
| | | } |
| | | |
| | | @media screen and (min-width: 7296px) { |
| | | |
| | | html, |
| | | body { |
| | | font-size: countSizeVh(16) !important; |
| | | |
| | | #app { |
| | | |
| | | .wrapper { |
| | | width: 100vw; |
| | | height: 100%; |
| | | |
| | | .main-header { |
| | | width: 100vw; |
| | | height: maxCountSizeVh(60); |
| | | |
| | | .user-infor { |
| | | width: maxCountSizeVh(60); |
| | | height: maxCountSizeVh(60); |
| | | line-height: maxCountSizeVh(60); |
| | | font-size: 2.16vh; |
| | | } |
| | | } |
| | | |
| | | .main-content { |
| | | |
| | | .left-container, |
| | | .right-container { |
| | | top: maxCountSizeVh(60); |
| | | width: countSizeVw(1520, 7296); |
| | | height: calc(100% - maxCountSizeVh(60)); |
| | | |
| | | .person-box, |
| | | .land-box, |
| | | .case-box, |
| | | .crowd-box { |
| | | height: maxCountSizeVh(320); |
| | | } |
| | | |
| | | |
| | | .person-box, |
| | | .house-box, |
| | | .land-box, |
| | | .case-box, |
| | | .alert-box, |
| | | .crowd-box { |
| | | |
| | | |
| | | .title { |
| | | height: 17.6%; |
| | | } |
| | | |
| | | .sub-title { |
| | | line-height: maxCountSizeVh(36); |
| | | } |
| | | |
| | | .sub-tab { |
| | | padding: maxCountSizeVh(10); |
| | | |
| | | .tab { |
| | | |
| | | &>div { |
| | | height: maxCountSizeVh(22); |
| | | line-height: maxCountSizeVh(22); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .person-box { |
| | | .back { |
| | | top: maxCountSizeVh(102); |
| | | } |
| | | } |
| | | } |
| | | |
| | | .bottom-container { |
| | | left: countSizeVw(1520, 7296); |
| | | width: calc(100% - countSizeVw(1520, 7296) * 2); |
| | | height: calc((100% - maxCountSizeVh(60)) / 3); |
| | | } |
| | | |
| | | .region-select { |
| | | top: maxCountSizeVh(80); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-13 10:11:42 |
| | | * @LastEditTime: 2023-02-14 15:28:15 |
| | | * @FilePath: \srs-police-affairs\src\views\activity\index.vue |
| | | * @Description: 安保活动 |
| | | * |
| | |
| | | layerName: 'newDrawLayers', |
| | | type: 'VectorLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | | layerName: 'polygonLayer', |
| | | type: 'VectorLayer' |
| | | }) |
| | | |
| | | if (item.activityArea && item.activityArea.length > 0) { |
| | | let polyGonData = item.activityArea.slice(11, item.activityArea.length - 1) |
| | | polyGonData = polyGonData.replace(/,/g, ";") |
| | | polyGonData = polyGonData.replace(/ /g, ",") |
| | | |
| | | this.$EventBus.$emit('layerPolygonAdd', { |
| | | layerName: 'polygonLayer', |
| | | positions: polyGonData, |
| | | material: global.DC.Namespace.Cesium.Color.fromBytes(139, 195, 74, 100) |
| | | }) |
| | | } |
| | | |
| | | this.getSecurityPoliceList(item.id, this.policeSwitch) |
| | | this.getSecurityCarList(item.id, this.policeSwitch, this.polylineBtnSwitch) |
| | | this.getSecurityPlotList(item.id, this.arrowBtnSwitch) |
| | |
| | | type: 'VectorLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | | layerName: 'polygonLayer', |
| | | type: 'VectorLayer' |
| | | }) |
| | | |
| | | analyseLayer.clear() |
| | | arrowsListLayer.clear() |
| | | |
| | |
| | | clickEquimentChart () { |
| | | equipmentmyChart.on('click', params => { |
| | | // 设备类型,摄像头弹窗显示,其他弹窗显示,【记录仪列显示,警车列显示,手台列显示】,遍历数组 |
| | | if (params.data.equimentType) { |
| | | if ('equimentType' in params.data) { |
| | | this.$emit('showequimentdetail', params.data.name, params.data.equimentType, 'type') |
| | | } else { |
| | | this.$emit('showequimentdetail', params.data.name, params.data.online, 'online') |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-13 09:58:57 |
| | | * @LastEditTime: 2023-02-14 10:29:23 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | }, |
| | | |
| | | destroyed () { |
| | | this.$store.commit('SET_DETAILSPOPUP', { |
| | | showBox: false, |
| | | showBtn: false |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'polygonLayer', |
| | | type: 'VectorLayer' |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-10 16:12:13 |
| | | * @LastEditTime: 2023-02-14 10:29:36 |
| | | * @FilePath: \srs-police-affairs\src\views\house\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | // this.$EventBus.$emit('removeMxTileset', { |
| | | // titlesetName: 'sdTilesetLayer' |
| | | // }) |
| | | this.$store.commit('SET_DETAILSPOPUP', { |
| | | showBox: false, |
| | | showBtn: false |
| | | }) |
| | | |
| | | this.$parent.$parent.resize('0px') |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:24 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-09 16:50:28 |
| | | * @LastEditTime: 2023-02-14 10:55:48 |
| | | * @FilePath: \srs-police-affairs\src\views\layout\index.vue |
| | | * @Description: |
| | | * |
| | |
| | | { |
| | | menuName: '安保活动', |
| | | path: '/layout/activity' |
| | | }, |
| | | { |
| | | menuName: '运维管理', |
| | | openExternal: true, |
| | | // 内网 |
| | | path: 'http://10.141.11.11:8081/#/security/security' |
| | | // 外网 |
| | | // path: 'http://192.168.0.109:1888/#/security/security' |
| | | } |
| | | ], |
| | | |
| | |
| | | created () { |
| | | this.currentUrl = this.$route.path |
| | | this.init() |
| | | |
| | | if (JSON.parse(getUserInfo()).dept_id == '1123598813738675201') { |
| | | this.menuRightList.push({ |
| | | menuName: '运维管理', |
| | | openExternal: true, |
| | | // 内网 |
| | | path: 'http://10.141.11.11:8081/#/security/security' |
| | | // 外网 |
| | | // path: 'http://192.168.0.109:1888/#/security/security' |
| | | }) |
| | | } |
| | | }, |
| | | |
| | | watch: { |