| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="draw-btn-box" v-show="arrangeVisible"> |
| | | <div> |
| | | <span>警力资源:</span> |
| | | <div v-show="dialogVisible" class="draw-btn-box"> |
| | | <div class="left"> |
| | | <h3>预案布置</h3> |
| | | <div> |
| | | <span>警力资源:</span> |
| | | |
| | | <ul> |
| | | <li> |
| | | <button @click="draw('billboard', 'policeman')" title="警员"> |
| | | <img |
| | | src="../../../public/img/icon/police-people-btn.png" |
| | | style="height:100%" |
| | | /> |
| | | </button> |
| | | </li> |
| | | <li> |
| | | <button @click="draw('billboard', 'policecar')" title="警车"> |
| | | <img src="../../../public/img/icon/car-btn.png" style="height:100%" /> |
| | | </button> |
| | | </li> |
| | | <!-- <li> |
| | | <ul> |
| | | <li> |
| | | <button @click="draw('billboard', 'policeman')" title="警员"> |
| | | <img |
| | | src="../../../public/img/icon/police-people-btn.png" |
| | | style="height:100%" |
| | | /> |
| | | </button> |
| | | </li> |
| | | <li> |
| | | <button @click="draw('billboard', 'policecar')" title="警车"> |
| | | <img src="../../../public/img/icon/car-btn.png" style="height:100%" /> |
| | | </button> |
| | | </li> |
| | | <!-- <li> |
| | | <button @click="draw('polyline', 'policecar')">巡逻路线</button> |
| | | </li>--> |
| | | </ul> |
| | | </div> |
| | | <div> |
| | | <span>作战标绘:</span> |
| | | </li>--> |
| | | </ul> |
| | | </div> |
| | | <div> |
| | | <span>作战标绘:</span> |
| | | |
| | | <ul> |
| | | <li> |
| | | <button @click="drawArrow('attack_arrow')" title="进攻箭头">进攻箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="drawArrow('double_arrow')" title="双箭头">双箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="drawArrow('fine_arrow')" title="直箭头">直箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="drawArrow('tailed_attack_arrow')" title="燕尾箭头">燕尾箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="removeAllArrow()">清除</button> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | <div> |
| | | <span>撤离路线:</span> |
| | | <ul> |
| | | <li> |
| | | <!-- <el-button |
| | | <ul> |
| | | <li> |
| | | <button @click="drawArrow('attack_arrow')" title="进攻箭头">进攻箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="drawArrow('double_arrow')" title="双箭头">双箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="drawArrow('fine_arrow')" title="直箭头">直箭头</button> |
| | | </li> |
| | | <li> |
| | | <button @click="drawArrow('tailed_attack_arrow')" title="燕尾箭头">燕尾箭头</button> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | <div> |
| | | <span>巡逻路线:</span> |
| | | <ul> |
| | | <li> |
| | | <!-- <el-button |
| | | title="路线绘制" |
| | | @click="draw('billboard', 'policeman')" |
| | | icon="el-icon-my-route" |
| | | ></el-button>--> |
| | | <button @click="draw('polyline', 'policecar')" title="撤离路线"> |
| | | <img src="../../../public/img/icon/route1.png" style="height:100%" /> |
| | | </button> |
| | | ></el-button>--> |
| | | <button @click="draw('polyline', 'policecar')" title="巡逻路线"> |
| | | <img src="../../../public/img/icon/route1.png" style="height:100%" /> |
| | | </button> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | <div class="right"> |
| | | <ul> |
| | | <li> |
| | | <button @click="removeAllArrow()">清除</button> |
| | | </li> |
| | | <li> |
| | | <button>保存</button> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | <div class="close" @click="arrangeVisible = false"></div> |
| | | </div> |
| | | |
| | | <div class="second-container" :class="{ 'spread': boxShow, 'take-back': !boxShow }"> |
| | |
| | | ></el-input> |
| | | </div> |
| | | </div>--> |
| | | |
| | | <div class="row-btn-box"> |
| | | <el-button @click="arrangeDraw">预案布置</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="plan-control" v-show="dialogVisible"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="row-box"> |
| | | <div class="category">作战标绘</div> |
| | | <div class="category-value"> |
| | | <el-switch |
| | | v-model="arrowBtnSwitch" |
| | | @change="switchArrowBtnChange" |
| | | active-color="#13ce66" |
| | | inactive-color="#ccc" |
| | | ></el-switch> |
| | | </div> |
| | | </div> |
| | | <div class="row-box"> |
| | | <div class="category">巡逻路线:</div> |
| | | <div class="category-value"> |
| | |
| | | label: 'label' |
| | | }, |
| | | dialogVisible: false, |
| | | arrangeVisible: false, |
| | | currentClickIndex: '', |
| | | polylineSwitch: false, |
| | | arrowBtnSwitch: false, |
| | | polylineBtnSwitch: false, |
| | | analyseInput: 100, |
| | | activityList: [], |
| | |
| | | } |
| | | }, |
| | | |
| | | // 切换作战标绘 |
| | | switchArrowBtnChange (e) { |
| | | |
| | | }, |
| | | |
| | | // 切换轨迹播放控件 |
| | | switchBtnChange (e) { |
| | | this.isTrackBtnShow = e |
| | |
| | | // 关闭活动详情弹窗 |
| | | closeActivityDetails () { |
| | | this.dialogVisible = false |
| | | this.arrangeVisible = false |
| | | this.currentClickIndex = '' |
| | | this.polylineSwitch = false |
| | | analyseLayer.clear() |
| | |
| | | |
| | | removeAllArrow () { |
| | | drawArrowLayers.clear() |
| | | }, |
| | | |
| | | arrangeDraw () { |
| | | this.arrangeVisible = true |
| | | }, |
| | | |
| | | // 播放轨迹 |
| | |
| | | |
| | | .draw-btn-box { |
| | | position: fixed; |
| | | display: flex; |
| | | left: 50%; |
| | | bottom: 40px; |
| | | color: #fff; |
| | |
| | | white-space: nowrap; |
| | | transform: translate(-50%, 0); |
| | | |
| | | & > div { |
| | | display: flex; |
| | | } |
| | | .left, |
| | | .right { |
| | | height: 100%; |
| | | |
| | | ul { |
| | | display: flex; |
| | | & > div { |
| | | display: flex; |
| | | } |
| | | |
| | | li { |
| | | button { |
| | | height: 30px; |
| | | margin: 0 5px; |
| | | background-color: $bg-color; |
| | | border: 1px solid #cecece; |
| | | border-radius: 4px; |
| | | color: #fff; |
| | | cursor: pointer; |
| | | outline: none; |
| | | ul { |
| | | display: flex; |
| | | |
| | | li { |
| | | button { |
| | | height: 30px; |
| | | margin: 0 5px; |
| | | background-color: $bg-color; |
| | | border: 1px solid #cecece; |
| | | border-radius: 4px; |
| | | color: #fff; |
| | | cursor: pointer; |
| | | outline: none; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | .close { |
| | | position: absolute; |
| | | top: 2%; |
| | | right: 2%; |
| | | height: 10px; |
| | | transform: translate(0, -50%); |
| | | cursor: pointer; |
| | | .left { |
| | | width: 80%; |
| | | h3 { |
| | | font-size: 16px; |
| | | height: 30px; |
| | | line-height: 30px; |
| | | width: 100%; |
| | | padding-left: 16%; |
| | | } |
| | | } |
| | | |
| | | .close::before { |
| | | content: '\e6db'; |
| | | font-family: element-icons; |
| | | .right { |
| | | width: 20%; |
| | | padding-top: 35px; |
| | | ul { |
| | | flex-direction: column; |
| | | li { |
| | | height: 50px; |
| | | button { |
| | | background-color: #2a56cf; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | .category-value { |
| | | flex: 1; |
| | | } |
| | | } |
| | | |
| | | .row-btn-box { |
| | | // height: 30px; |
| | | :deep(.el-button) { |
| | | // padding: 7px 20px; |
| | | font-size: 14px; |
| | | color: #fff; |
| | | background-color: rgba(8, 56, 185, 0.9); |
| | | border: 1px solid rgba(8, 56, 185, 0.9); |
| | | border-radius: 14px; |
| | | } |
| | | |
| | | :deep(.el-button:hover) { |
| | | background-color: #409eff; |
| | | } |
| | | } |
| | | } |