企业端人员定位优化

pet
liujun 2024-11-01 17:50:31 +08:00
parent a3f070819a
commit b974030b5f
1 changed files with 19 additions and 20 deletions

View File

@ -93,11 +93,11 @@
:corp-info-id="CORP_INFO_ID"
:area="area"
:gangkou="gangkouActive"/>
<!-- <renyuan-->
<!-- v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"-->
<!-- :corp-info-id="CORP_INFO_ID"-->
<!-- :area="area"-->
<!-- :gangkou="gangkouActive"/>-->
<renyuan
v-if="gangkouActive && gangkouActive !== '00004' && gangkouActive !== '00002' && gangkouActive !== '00005' && bottomOptionsIndex === 4"
:corp-info-id="CORP_INFO_ID"
:area="area"
:gangkou="gangkouActive"/>
<renyuan-cfd
v-if="gangkouActive && gangkouActive === '00004' && bottomOptionsIndex === 1"
:corp-info-id="CORP_INFO_ID"
@ -147,6 +147,7 @@
:class="['option','option'+index,{active:centerOptionsIndex === index}]"
@click="centerOptionsClick(index,item.AREA)"
>
{{ item.label }}
</div>
</div>
</transition>
@ -1597,7 +1598,7 @@ export default {
const collection = new Cesium.CustomDataSource('trajectoryEntityCollection')
collection.entities.add(entity)
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'
_this.fwebsocket = new WebSocket(encodeURI(wsUrl))
_this.fwebsocket.onmessage = function(message) {
console.info('接收消息')
const peopleList = JSON.parse(message.data)
console.log(peopleList)
viewer.entities.suspendEvents()
for (let i = 0; i < peopleList.length; i++) {
const item = peopleList[i]