shuishen
2023-03-08 01b88b65c84d4d5a6701a9eb1016bd107d3c25c7
src/views/activity/components/drawBtnBox.vue
@@ -3,7 +3,7 @@
        <div class="left">
            <h3>预案布置</h3>
            <div>
                <span>警力资源:</span>
                <span>要素资源:</span>
                <ul>
                    <li>
                        <button @click="draw('billboard', 'policeman')" title="警员">
@@ -213,10 +213,10 @@
                    if (iconType == 'icon1') {
                        that.$parent.plotSaveType = 6
                        overlay.size = [24, 24]
                    }else if (iconType == 'icon2') {
                    } else if (iconType == 'icon2') {
                        that.$parent.plotSaveType = 7
                        overlay.size = [32, 32]
                    }else if (iconType == 'icon3') {
                    } else if (iconType == 'icon3') {
                        that.$parent.plotSaveType = 8
                    }
                    overlay.icon = `/img/icon/${iconType}.png`
@@ -229,7 +229,7 @@
                            document.oncontextmenu = function () {
                                if (flag) {
                                    that.$parent.choosePlotColor = iconType == 'icon3'?'#d81e06':'#409EFF'
                                    that.$parent.choosePlotColor = iconType == 'icon3' ? '#d81e06' : '#409EFF'
                                    that.$parent.choosePlotColorAlpha = 100
                                    that.$parent.polygonAddVisible = true
                                    that.$parent.isNeedName = false
@@ -344,8 +344,8 @@
                        type: 'error'
                    })
                }
                this.$parent.getSecurityPlotList(this.showingSecurityId, this.arrowBtnSwitch,'billboard')
                this.$parent.getSecurityPlotList(this.showingSecurityId, this.arrowBtnSwitch,'plot')
                this.$parent.getSecurityPlotList(this.showingSecurityId, this.arrowBtnSwitch, 'billboard')
                this.$parent.getSecurityPlotList(this.showingSecurityId, this.arrowBtnSwitch, 'plot')
            })
        },
    },