lcw
This commit is contained in:
@ -39,7 +39,6 @@
|
||||
<el-date-picker style="width: 100%;" v-model="timeRange" type="datetimerange" start-placeholder="开始时间" end-placeholder="结束时间"
|
||||
format="YYYY-MM-DD HH:mm:ss" @change="handleTimeRangeChange" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</el-popover>
|
||||
<el-popover v-else-if="value.label === '事件' && value.onChage" placement="top" :width="480" trigger="click"
|
||||
@ -195,8 +194,6 @@ getZdsj()
|
||||
const changeBut = (row) => {
|
||||
|
||||
if (row.label == '清除') {
|
||||
emitter.emit('deletePointArea', 'sj_flash')
|
||||
emitter.emit('deletePointArea', 'jq_flash')
|
||||
emitter.emit('deletePointArea', 'jq')
|
||||
emitter.emit('deletePointArea', 'sj')
|
||||
return
|
||||
@ -402,16 +399,16 @@ const updetDz = (row) => {
|
||||
}
|
||||
|
||||
const clickJq = (row) => {
|
||||
emitter.emit('deletePointArea', 'sj_flash')
|
||||
emitter.emit('deletePointArea', 'jq_flash')
|
||||
emitter.emit('deletePointArea', 'sj')
|
||||
emitter.emit('deletePointArea', 'jq')
|
||||
if (changeState.value) {
|
||||
// 添加新的闪烁点位
|
||||
emitter.emit('addPointArea', { flag: 'jq_flash', coords: [{ jd: row.fxdwjd, wd: row.fxdwwd }], flash: true, offset: [-1, 28] })
|
||||
emitter.emit('addPointArea', { flag: 'jq', coords: [{...row, jd: row.fxdwjd, wd: row.fxdwwd }], flash: true, offset: [-1, 28] })
|
||||
// 定位到该点
|
||||
emitter.emit('setMapCenter', { location: [row.fxdwjd, row.fxdwwd], zoomLevel: 15 })
|
||||
} else {
|
||||
// 添加新的闪烁点位
|
||||
emitter.emit('addPointArea', { flag: 'sj_flash', coords: [{ jd: row.jd, wd: row.wd }], flash: true, offset: [-1, 28] })
|
||||
emitter.emit('addPointArea', { flag: 'sj', coords: [{ ...row,jd: row.jd, wd: row.wd }], flash: true, offset: [-1, 28] })
|
||||
// 定位到该点
|
||||
emitter.emit('setMapCenter', { location: [row.jd, row.wd], zoomLevel: 15 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user