| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-22 17:54:26 |
| | | * @LastEditTime: 2022-09-23 09:51:43 |
| | | * @FilePath: \srs-police-affairs\src\views\activity\index.vue |
| | | * @Description: 安保活动 |
| | | * |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <div class="row-box"> |
| | | <div class="row-box"> |
| | | <div class="category">分析范围:</div> |
| | | <div class="category-value"> |
| | | <el-input |
| | | @change="analyseChange" |
| | | @input="analyseChange" |
| | | size="mini" |
| | | type="number" |
| | | v-model="analyseInput" |
| | | placeholder="请输入范围" |
| | | ></el-input> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | let analyseLayer = null |
| | | let analysePolygon = null |
| | | |
| | | export default { |
| | | data () { |
| | |
| | | analyseLayer.addOverlay(point) |
| | | |
| | | let coords = global.DC.GeoTools.pointBuffer("116.027001,28.683111", 100) |
| | | let polygon = new global.DC.Polygon(coords) |
| | | analysePolygon = new global.DC.Polygon(coords) |
| | | |
| | | polygon.setStyle({ |
| | | analysePolygon.setStyle({ |
| | | material: global.DC.Color.RED.withAlpha(0.4) |
| | | }) |
| | | |
| | | analyseLayer.addOverlay(polygon) |
| | | analyseLayer.addOverlay(analysePolygon) |
| | | |
| | | this.$EventBus.$emit('mapClearLayer', { |
| | | layerName: 'polylineLayer', |
| | |
| | | }, |
| | | |
| | | analyseChange (e) { |
| | | console.log(e) |
| | | analyseLayer.removeOverlay(analysePolygon) |
| | | |
| | | let coords = global.DC.GeoTools.pointBuffer("116.027001,28.683111", e) |
| | | analysePolygon = new global.DC.Polygon(coords) |
| | | |
| | | analysePolygon.setStyle({ |
| | | material: global.DC.Color.RED.withAlpha(0.4) |
| | | }) |
| | | |
| | | analyseLayer.addOverlay(analysePolygon) |
| | | } |
| | | }, |
| | | destroyed () { |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2022-09-22 14:37:02 |
| | | * @LastEditTime: 2022-09-23 10:23:07 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | url: '/img/icon/map-panorama.png' |
| | | }], |
| | | |
| | | arr: [{ 'type': '孤寡老人', 'num': '0', 'radio': '0.00%' }, { 'type': '邪教人员', 'num': '1', 'radio': '2.00%' }, { 'type': '上访人员', 'num': '8', 'radio': '14.00%' }, { 'type': '涉毒', 'num': '15', 'radio': '27.00%' }, { 'type': '留守儿童', 'num': '6', 'radio': '11.00%' }, { 'type': '重点青少年', 'num': '5', 'radio': '9.00%' }], |
| | | arr: [ |
| | | { 'type': '邪教人员', 'num': '1', 'radio': '2.00%' }, |
| | | { 'type': '上访人员', 'num': '8', 'radio': '14.00%' }, |
| | | { 'type': '涉毒', 'num': '15', 'radio': '27.00%' }, |
| | | { 'type': '留守儿童', 'num': '6', 'radio': '11.00%' }, |
| | | { 'type': '重点青少年', 'num': '5', 'radio': '9.00%' } |
| | | ], |
| | | chooseData: {}, |
| | | oneSelected: '全部', |
| | | twoSelected: '', |