| | |
| | | <div class="left"> |
| | | <h3>预案布置</h3> |
| | | <div> |
| | | <span>警力资源:</span> |
| | | <span>要素资源:</span> |
| | | <ul> |
| | | <li> |
| | | <button @click="draw('billboard', 'policeman')" title="警员"> |
| | |
| | | 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` |
| | |
| | | |
| | | 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 |
| | |
| | | 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') |
| | | }) |
| | | }, |
| | | }, |