From 01b88b65c84d4d5a6701a9eb1016bd107d3c25c7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 08 Mar 2023 10:34:38 +0800
Subject: [PATCH] 视频逻辑更改,安保变量处理

---
 src/views/activity/components/drawBtnBox.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/activity/components/drawBtnBox.vue b/src/views/activity/components/drawBtnBox.vue
index 2308743..85d20fd 100644
--- a/src/views/activity/components/drawBtnBox.vue
+++ b/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')
             })
         },
     },

--
Gitblit v1.9.3