企业端人员定位优化
parent
a3f070819a
commit
b974030b5f
|
@ -93,11 +93,11 @@
|
||||||
:corp-info-id="CORP_INFO_ID"
|
:corp-info-id="CORP_INFO_ID"
|
||||||
:area="area"
|
:area="area"
|
||||||
:gangkou="gangkouActive"/>
|
:gangkou="gangkouActive"/>
|
||||||
<!-- <renyuan-->
|
<renyuan
|
||||||
<!-- v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"-->
|
v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"
|
||||||
<!-- :corp-info-id="CORP_INFO_ID"-->
|
:corp-info-id="CORP_INFO_ID"
|
||||||
<!-- :area="area"-->
|
:area="area"
|
||||||
<!-- :gangkou="gangkouActive"/>-->
|
:gangkou="gangkouActive"/>
|
||||||
<renyuan-cfd
|
<renyuan-cfd
|
||||||
v-if="gangkouActive && gangkouActive === '00004' && bottomOptionsIndex === 1"
|
v-if="gangkouActive && gangkouActive === '00004' && bottomOptionsIndex === 1"
|
||||||
:corp-info-id="CORP_INFO_ID"
|
:corp-info-id="CORP_INFO_ID"
|
||||||
|
@ -147,6 +147,7 @@
|
||||||
:class="['option','option'+index,{active:centerOptionsIndex === index}]"
|
:class="['option','option'+index,{active:centerOptionsIndex === index}]"
|
||||||
@click="centerOptionsClick(index,item.AREA)"
|
@click="centerOptionsClick(index,item.AREA)"
|
||||||
>
|
>
|
||||||
|
{{ item.label }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
@ -1597,7 +1598,7 @@ export default {
|
||||||
const collection = new Cesium.CustomDataSource('trajectoryEntityCollection')
|
const collection = new Cesium.CustomDataSource('trajectoryEntityCollection')
|
||||||
collection.entities.add(entity)
|
collection.entities.add(entity)
|
||||||
viewer.dataSources.add(collection)
|
viewer.dataSources.add(collection)
|
||||||
trajectoryEntityCollection = collection
|
trajectoryEntityCollection = Object.freeze(collection)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -3000,9 +3001,7 @@ export default {
|
||||||
const wsUrl = config.noDwSysUrl + '/ltLocation/DW_' + new Date().getTime() + '_98'
|
const wsUrl = config.noDwSysUrl + '/ltLocation/DW_' + new Date().getTime() + '_98'
|
||||||
_this.fwebsocket = new WebSocket(encodeURI(wsUrl))
|
_this.fwebsocket = new WebSocket(encodeURI(wsUrl))
|
||||||
_this.fwebsocket.onmessage = function(message) {
|
_this.fwebsocket.onmessage = function(message) {
|
||||||
console.info('接收消息')
|
|
||||||
const peopleList = JSON.parse(message.data)
|
const peopleList = JSON.parse(message.data)
|
||||||
console.log(peopleList)
|
|
||||||
viewer.entities.suspendEvents()
|
viewer.entities.suspendEvents()
|
||||||
for (let i = 0; i < peopleList.length; i++) {
|
for (let i = 0; i < peopleList.length; i++) {
|
||||||
const item = peopleList[i]
|
const item = peopleList[i]
|
||||||
|
|
Loading…
Reference in New Issue