1
guanqb
2022-12-01 53db9c8706335ef177aaa9a955376b6ab66697a0
1
1 files modified
8 ■■■■■ changed files
src/views/activity/index.vue 8 ●●●●● patch | view | raw | blame | history
src/views/activity/index.vue
@@ -527,7 +527,7 @@
                    } else if (item.type == 2) {
                        let positionNewArr = this.convertPolylineOrPolygonPositionDate(item.position, item.type)
                        this.$EventBus.$emit('layerPolygonAdd', {
                            layerName: 'polygonLayer',
                            layerName: 'newDrawLayers',
                            positions: positionNewArr,
                            material: global.DC.Color.RED,
                            params: {
@@ -578,8 +578,6 @@
        // 修改活动警员
        updateActivityPolice (id, policemanId) {
            updateActivityPolice(id, policemanId).then(res => {
                console.log(id, policemanId, '触发了更新', res)
                this.getSecurityPoliceList(this.showingSecurityId)
            })
        },
@@ -786,7 +784,7 @@
        },
        // 地图元素绘制
        draw (type) {
        draw (type,) {
            let flag = false
            const that = this
            this.policeType = ''
@@ -902,7 +900,7 @@
        // 地图绘制元素点击事件
        overlayTypeClick (e) {
            console.log('点击了元素', e.overlay.attrParams)
            // console.log('点击了元素', e.overlay.attrParams)
            this.policeIconIsCreated = true
            this.policeIconId = e.overlay.attrParams.id
            this.policeType = e.overlay.attrParams.policemanId