Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-05-08 18:54:34 |
| | | * @LastEditTime: 2023-05-08 20:10:24 |
| | | * @FilePath: \srs-police-affairs\src\views\policeInfor\index.vue |
| | | * @Description: 辖区管理 |
| | | * |
| | |
| | | <div style="margin-left: 8px;"> |
| | | <el-checkbox v-model="heatMapShow" @change="heatMapChange">热力图</el-checkbox> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="search-item-box" v-show="areaChangeShow"> |
| | | <span>辖区选择:</span> |
| | | |
| | | <el-select |
| | | style="flex: 1;" |
| | | size="small" |
| | | v-model="areaChangeValue" |
| | | @change="areaValueChange" |
| | | placeholder="请选择" |
| | | > |
| | | <el-option |
| | | v-for="item in areaListData" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | ></el-option> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="search-item-box"> |
| | |
| | | } |
| | | ], |
| | | |
| | | areaChangeShow: true, |
| | | areaChangeValue: '1123598813738675201', |
| | | areaListData: [ |
| | | { |
| | | label: '信州分局', |
| | | value: '1123598813738675201' |
| | | }, |
| | | { |
| | | label: '东市派出所', |
| | | value: '1596019492522426369' |
| | | }, |
| | | { |
| | | label: '水南派出所', |
| | | value: '1596020272834936833' |
| | | }, |
| | | { |
| | | label: '西市派出所', |
| | | value: '1596020342712041474' |
| | | }, |
| | | { |
| | | label: '北门派出所', |
| | | value: '1596020390174785537' |
| | | }, |
| | | { |
| | | label: '车站派出所', |
| | | value: '1596020461461176321' |
| | | }, |
| | | { |
| | | label: '茅家岭派出所', |
| | | value: '1596020515064381442' |
| | | }, |
| | | { |
| | | label: '沙溪派出所', |
| | | value: '1596020574275371010' |
| | | }, |
| | | { |
| | | label: '朝阳派出所', |
| | | value: '1596020623172567041' |
| | | }, |
| | | { |
| | | label: '灵溪派出所', |
| | | value: '1596020683096588290' |
| | | }, |
| | | { |
| | | label: '秦峰派出所', |
| | | value: '1596020727883366401' |
| | | }, |
| | | { |
| | | label: '凤凰派出所', |
| | | value: '1596020775790706690' |
| | | }, |
| | | { |
| | | label: '石狮派出所', |
| | | value: '1614543582897971202' |
| | | }, |
| | | { |
| | | label: '大院派出所', |
| | | value: '1614543698551709698' |
| | | }, |
| | | { |
| | | label: '师院派出所', |
| | | value: '1614543791782699010' |
| | | } |
| | | ], |
| | | |
| | | heatMap: null, |
| | | |
| | | heatMapShow: false, |
| | |
| | | this.$EventBus.$on('PoliceInforSiteClick', (params) => { |
| | | that.siteClick(params) |
| | | }) |
| | | |
| | | if (this.userInfo.dept_id != '1123598813738675201') { |
| | | console.log(this.userInfo.dept_id) |
| | | this.areaChangeShow = false |
| | | } |
| | | |
| | | window.addEventListener("mousemove", this.tableMouse) |
| | | }, |
| | |
| | | }, |
| | | |
| | | policeTypeChange () { |
| | | this.navClick() |
| | | }, |
| | | |
| | | areaValueChange () { |
| | | this.navClick() |
| | | }, |
| | | |
| | |
| | | this.heatMap.show(false) |
| | | } |
| | | |
| | | getAlarmList({ ...params, size: 999, jjdwbh: this.userInfo.dept_id, type: 3, bjlx: this.policeInforValue }).then(res => { |
| | | let jjdwbh = '' |
| | | if (this.userInfo.dept_id == '1123598813738675201') { |
| | | jjdwbh = this.areaChangeValue |
| | | } else { |
| | | jjdwbh = this.userInfo.dept_id |
| | | } |
| | | |
| | | getAlarmList({ ...params, size: 999, jjdwbh, type: 3, bjlx: this.policeInforValue }).then(res => { |
| | | if (res.data.data.length > 0) { |
| | | this.historyPoliceInforData = res.data.data.map((item, index) => { |
| | | const bjlxText = BjlxData.filter(i => item.BJLX == i.BJLX)[0] ? BjlxData.filter(i => item.BJLX == i.BJLX)[0].VALUE : '' |