同步时未异步bug修复

20240528Test
liujun 2024-04-24 14:02:36 +08:00
parent 6b3fa0a96d
commit 1862bc1eea
1 changed files with 11 additions and 2 deletions

View File

@ -650,6 +650,16 @@ export default {
checkImg: require('../../assets/map/gangkou_index/buttom/ico21_on.png'), checkImg: require('../../assets/map/gangkou_index/buttom/ico21_on.png'),
containAuthorization: [], containAuthorization: [],
eliminateAuthorization: [] eliminateAuthorization: []
},
{
label: '摄像头',
dialog_width: '1200px',
check: false,
type: 'platcamera',
img: require('../../assets/map/gangkou_index/buttom/ico26.png'),
checkImg: require('../../assets/map/gangkou_index/buttom/ico26_on.png'),
containAuthorization: [],
eliminateAuthorization: []
} }
// { // {
// label: '', // label: '',
@ -1401,7 +1411,6 @@ export default {
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars
var _this = this var _this = this
const collection = new Cesium.CustomDataSource('clickEntityCollection') const collection = new Cesium.CustomDataSource('clickEntityCollection')
debugger
poin.forEach(item => { poin.forEach(item => {
if (!this.poinEntity.hasOwnProperty(item.id)) { if (!this.poinEntity.hasOwnProperty(item.id)) {
const entity = drag.addEntity(item) const entity = drag.addEntity(item)
@ -1752,7 +1761,7 @@ export default {
this.cfdBottomOptionsList[pindex].list[index].check = true this.cfdBottomOptionsList[pindex].list[index].check = true
this.bottomOptionsList[pindex].list[index].check = false this.bottomOptionsList[pindex].list[index].check = false
} }
console.log('~~~~~~~~~' + urlType, pointUrl)
if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '035958e685cf4850bc40151c5e0617a6' && urlType === 'peoplePosition') { if (this.gangkouActive === '00003' && this.CORP_INFO_ID === '035958e685cf4850bc40151c5e0617a6' && urlType === 'peoplePosition') {
!this.connecting ? this.createConnection(this.CORP_INFO_ID) : this.doSubscribe() !this.connecting ? this.createConnection(this.CORP_INFO_ID) : this.doSubscribe()
} else { } else {