Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/srs-police-affairs
| | |
| | | |
| | | return |
| | | } |
| | | console.log(row, 'row111111111') |
| | | this.$store.commit('SET_MAPSEARCHPOPUP', true) |
| | | |
| | | this.$store.commit('SET_MAPSEARCHPOPUPDATA', { |
| | | name: row.realName |
| | | }) |
| | | |
| | | var popup = new global.DC.DivForms(global.viewer, { |
| | | domId: 'mapSearchPopup', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | | new global.DC.Position( |
| | | Number(row.X), |
| | | Number(row.Y), |
| | | 0 |
| | | ) |
| | | ) |
| | | ] |
| | | }) |
| | | |
| | | this.$EventBus.$emit('toPosition', { |
| | | layerName: 'carLayers', |
| | |
| | | let personInfo = await this.getPersonInfo() |
| | | keyPeopleDataLength = personInfo.length |
| | | if (this.userInfo.dept_id == '1596020515064381442') { |
| | | personInfo = [{ count: 8, name: '征地拆迁群体', value: 8 }, { count: 4, name: '非涉法涉诉重点个访人员', value: 4 }, { count: 4, name: '涉法涉诉重点个访人员', value: 4 }, { count: 1, name: '楼盘业主维权群体', value: 1 }] |
| | | personInfo = [{ count: 11, name: '征地拆迁群体', value: 11 }, { count: 3, name: '非涉法涉诉重点个访人员', value: 3 }, { count: 4, name: '涉法涉诉重点个访人员', value: 4 }, { count: 1, name: '楼盘业主维权群体', value: 1 },{ count: 1, name: '欠薪讨债群体', value: 1 }] |
| | | } |
| | | |
| | | keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo)) |
| | |
| | | top: 'middle', |
| | | left: '45%', |
| | | y: '1%', |
| | | itemGap: 20, |
| | | itemGap: 15, |
| | | textStyle: { |
| | | color: '#fff' |
| | | }, |
| | |
| | | } |
| | | } |
| | | let v = tarValue |
| | | return `${name} ${v} 人 ` |
| | | return `${name} ${v} 人 ` |
| | | }, |
| | | }, |
| | | series: [ |
| | |
| | | </div> |
| | | |
| | | <div class="table-box" v-show="!showMJL"> |
| | | <el-table size="small" :height="tableHeight" :data="schedulingList" style="width: 100%" |
| | | <el-table size="small" :height="tableHeight" :data="schedulingList" style="width: 100%;" |
| | | :header-cell-style="{ 'text-align': 'center' }" |
| | | :cell-style="{ 'text-align': 'center', borderColor: '#324e75' }" :row-class-name="tableRowClassName" |
| | | empty-text="暂无值班信息" v-loading="schedulingLoading" element-loading-text="拼命加载中" |
| | |
| | | <el-table-column prop="person" label="姓名"></el-table-column> |
| | | <el-table-column prop="contact" label="联系方式"></el-table-column> |
| | | </el-table> |
| | | <div class="pointList"> |
| | | <el-tooltip class="item" effect="dark" :content="item.dept" placement="top" |
| | | <div class="pointList" v-if="schedulingList==[]"> |
| | | <el-tooltip class="item" effect="dark" :content="item.dept" placement="top" |
| | | v-for="(item, index) in schedulingDeptList" :key="index"> |
| | | <div class="point" @click="getSchedlingList(item)"></div> |
| | | </el-tooltip> |
| | |
| | | </div> |
| | | |
| | | <div class="table-box" v-show="showMJL"> |
| | | <el-table size="small" :height="tableHeight" :data="schedulingList" style="width: 100%" |
| | | <el-table size="small" :height="tableHeight" :data="schedulingList" style="width: 100%" empty-text=" " |
| | | :show-header="false" :header-cell-style="{ 'text-align': 'center' }" |
| | | :cell-style="{ 'text-align': 'center', borderColor: '#324e75' }" :row-class-name="tableRowClassName" |
| | | v-loading="schedulingLoading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" |
| | |
| | | this.$refs.caseBox.offsetHeight - |
| | | this.$refs.crowdBox.offsetHeight - |
| | | this.$refs.alertBoxTitle.offsetHeight - |
| | | 86 |
| | | 55 |
| | | }) |
| | | }, |
| | | |
| | |
| | | const data = [ |
| | | { |
| | | person: |
| | | "徐星逸、任圣日、娄永攀、蔡善龙、陈小强、梅祥、吕镇、刘开勇、付建冬", |
| | | "徐星逸,任圣日,娄永攀,蔡善龙,陈小强,刘开勇,梅祥,吕镇,付建冬", |
| | | patrol: "章正椿,夏文翔,叶江明,黄俊龙,苏茯林,王顺祥", |
| | | }, |
| | | { |
| | | person: |
| | | "矢裕忠、戴饶平、余传公、杨敏、苏浩男、周安云、蒋丁岩、陈圣俊、雷智荐", |
| | | "矢裕忠,戴饶平,余传公,杨敏,苏浩男,周安云,蒋丁岩,陈圣俊,雷智荐", |
| | | patrol: "潘林彬,刘志祥,李志强,杨俊浩,黄天行,叶子淳", |
| | | }, |
| | | { |
| | |
| | | } |
| | | return arr |
| | | }) |
| | | |
| | | this.schedulingList = matrixData[0].map((col, i) => { |
| | | setTimeout(() => { |
| | | this.schedulingList = matrixData[0].map((col, i) => { |
| | | return [this.originTitle[i], ...matrixData.map((row) => { |
| | | return row[i] |
| | | })] |
| | | }) |
| | | |
| | | this.schedulingLoading = false |
| | | }, 1000) |
| | | |
| | | this.$nextTick(() => { |
| | | this.tableHeight = |
| | | this.$refs.Container.offsetHeight - |
| | |
| | | getSchedulingList(1, 100, params).then((res) => { |
| | | this.schedulingList = res.data.data.records |
| | | }) |
| | | |
| | | |
| | | setTimeout(() => { |
| | | this.schedulingLoading = false |
| | | }, 500) |
| | | } |
| | | setTimeout(() => { |
| | | this.schedulingLoading = false |
| | | }, 1000) |
| | | |
| | | }, |
| | | |
| | | echartsResize () { |
| | |
| | | width: 100%; |
| | | display: flex; |
| | | justify-content: space-evenly; |
| | | margin-top: 15px; |
| | | margin-top: -10px; |
| | | |
| | | .point { |
| | | width: 12px; |
| | |
| | | } |
| | | |
| | | :deep(.el-table .cell) { |
| | | white-space: pre-line; |
| | | // white-space: pre-line; |
| | | white-space: pre-wrap; |
| | | height: 100% !important; |
| | | line-height:3.4vh !important; |
| | | } |
| | | |
| | | :deep(.el-table .el-table__body-wrapper) { |
| | | height: 100% !important; |
| | | } |
| | | } |
| | | |
| | |
| | | <!-- |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-04-04 17:02:25 |
| | | * @LastEditors: song |
| | | * @LastEditTime: 2023-04-05 01:34:19 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | }) |
| | | |
| | | if (e == true) { |
| | | initMapPosition() |
| | | if (this.userInfo.dept_id == '1123598813738675201') { |
| | | //分局定位 |
| | | initMapPosition() |
| | | } |
| | | else { |
| | | //其他派出所定位 |
| | | const center = this.getAllRegionCenter(this.areaOptions) |
| | | |
| | | this.$EventBus.$emit('toPosition', { |
| | | siteJd: center[0] + 0.0046, |
| | | siteWd: center[1] - 0.04, |
| | | siteGd: 4000, |
| | | siteHeading: -3, |
| | | sitePitch: -45 |
| | | }) |
| | | } |
| | | |
| | | this.getEquipmentAll({ type: 0, deptId: this.policeStaionID == '' ? this.userInfo.dept_id : this.policeStaionID }) |
| | | } |
| | |
| | | }) |
| | | |
| | | if (e == true) { |
| | | initMapPosition() |
| | | |
| | | if (this.userInfo.dept_id == '1123598813738675201') { |
| | | //分局定位 |
| | | initMapPosition() |
| | | } |
| | | else { |
| | | //其他派出所定位 |
| | | const center = this.getAllRegionCenter(this.areaOptions) |
| | | |
| | | this.$EventBus.$emit('toPosition', { |
| | | siteJd: center[0] + 0.0046, |
| | | siteWd: center[1] - 0.04, |
| | | siteGd: 4000, |
| | | siteHeading: -3, |
| | | sitePitch: -45 |
| | | }) |
| | | } |
| | | |
| | | |
| | | this.getEquipmentAll({ type: 1, deptId: this.policeStaionID == '' ? this.userInfo.dept_id : this.policeStaionID }) |
| | | } |
| | |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'keypeopleslayer', |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'schoolJSONlayer', |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | if (cylinderLayer != null) { |
| | | cylinderLayer.remove() |
| | | cylinderLayer = null |