25
This commit is contained in:
@@ -233,7 +233,7 @@ let tabsIndex = ref(0)
|
|||||||
console.log(item,'item')
|
console.log(item,'item')
|
||||||
if (item.lng && item.lat) {
|
if (item.lng && item.lat) {
|
||||||
if (item.status == '行驶') {
|
if (item.status == '行驶') {
|
||||||
if(item.type==1){
|
if(item.accstatus==1){
|
||||||
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
|
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
@@ -241,7 +241,7 @@ let tabsIndex = ref(0)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.status == '离线') {
|
if (item.status == '离线') {
|
||||||
if(item.type==1){
|
if(item.accstatus==1){
|
||||||
addMarker(shipOfflineIcon, [item.lng, item.lat], [36, 50])
|
addMarker(shipOfflineIcon, [item.lng, item.lat], [36, 50])
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
@@ -251,7 +251,7 @@ let tabsIndex = ref(0)
|
|||||||
}
|
}
|
||||||
if (item.status == '静止') {
|
if (item.status == '静止') {
|
||||||
|
|
||||||
if(item.type==1){
|
if(item.accstatus==1){
|
||||||
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
|
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
|
||||||
}else{
|
}else{
|
||||||
addMarker(carStopIcon, [item.lng, item.lat], [36, 50])
|
addMarker(carStopIcon, [item.lng, item.lat], [36, 50])
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ import PubSub from 'pubsub-js'
|
|||||||
console.log(item,'item')
|
console.log(item,'item')
|
||||||
if (item.lng && item.lat) {
|
if (item.lng && item.lat) {
|
||||||
if (item.status == '行驶') {
|
if (item.status == '行驶') {
|
||||||
if(item.type==1){
|
if(item.accstatus==1){
|
||||||
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
|
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
@@ -228,7 +228,7 @@ import PubSub from 'pubsub-js'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.status == '离线') {
|
if (item.status == '离线') {
|
||||||
if(item.type==1){
|
if(item.accstatus==1){
|
||||||
addMarker(shipOfflineIcon, [item.lng, item.lat], [36, 50])
|
addMarker(shipOfflineIcon, [item.lng, item.lat], [36, 50])
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
@@ -238,7 +238,7 @@ import PubSub from 'pubsub-js'
|
|||||||
}
|
}
|
||||||
if (item.status == '静止') {
|
if (item.status == '静止') {
|
||||||
|
|
||||||
if(item.type==1){
|
if(item.accstatus==1){
|
||||||
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
|
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user