| | |
| | | if (Cesium.defined(picked) && id) { |
| | | const entity = picked?.id; |
| | | const simStore = useSimStore() |
| | | |
| | | if (entity && !simStore.openDia) { |
| | | if (entity && !simStore.openDia && entity.attrs.type == '泥位计') { |
| | | let obj = { |
| | | deviceName: entity.attrs.deviceName, |
| | | latitude: entity.attrs.latitude, |
| | |
| | | getAllCode().then((res) => { |
| | | // 北京市所有村以及街道code |
| | | simStore.townCodeAll = extractAllChildrenInfoUnique(res.data[0].children); |
| | | console.log(simStore.townCodeAll,'aaaaaaaaa') |
| | | }); |
| | | setupTokenRefresh(); // 获取宏图token |
| | | // getSimData(); //测试tr后端 |