|
@@ -202,11 +202,11 @@ export default {
|
|
|
{"name": "润扬大桥光谱2", "locations": [[119.369724, 32.204459]]},
|
|
|
],
|
|
|
ship: [
|
|
|
- // {"name": "一号船", "locations": [[118.639711, 31.96602]], 'type': 1},
|
|
|
- // {"name": "二号船", "locations": [[118.649839, 31.970352]], 'type': 2},
|
|
|
- // {"name": "三号船", "locations": [[118.638466, 31.970716]], 'type': 1},
|
|
|
- // {"name": "四号船", "locations": [[118.643402, 31.961505]], 'type': 3},
|
|
|
- // {"name": "五号船", "locations": [[118.64941, 31.973519]], 'type': 2},
|
|
|
+ {"name": "一号船", "locations": [[118.639711, 31.96602]], 'type': 1},
|
|
|
+ {"name": "二号船", "locations": [[118.649839, 31.970352]], 'type': 2},
|
|
|
+ {"name": "三号船", "locations": [[118.638466, 31.970716]], 'type': 1},
|
|
|
+ {"name": "四号船", "locations": [[118.643402, 31.961505]], 'type': 3},
|
|
|
+ {"name": "五号船", "locations": [[118.64941, 31.973519]], 'type': 2},
|
|
|
]
|
|
|
}
|
|
|
}, mounted() {
|
|
@@ -231,7 +231,7 @@ export default {
|
|
|
var obj = response.rows[index];
|
|
|
var points ='['+obj.configValue+']';
|
|
|
console.log(JSON.parse(points));
|
|
|
- this.$refs.mapv.addline(JSON.parse(points));
|
|
|
+ this.$refs.mapv.addline(JSON.parse(points));
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -279,7 +279,7 @@ export default {
|
|
|
ship["type"] = ship.illegalStatus;
|
|
|
shipdatalist.push(ship);
|
|
|
}
|
|
|
- this.ship = shipdatalist;
|
|
|
+ // this.ship = shipdatalist;
|
|
|
this.addshipPoint();
|
|
|
});
|
|
|
|
|
@@ -313,7 +313,7 @@ export default {
|
|
|
} else if (obj.type == 3) {
|
|
|
img = 'wg.png'
|
|
|
}
|
|
|
- this.$refs.mapv.addpoint(obj.locations, obj, img, 'ship');
|
|
|
+ this.$refs.mapv.addpoint(obj.locations, obj, img, 'ship',360-index*20);
|
|
|
}
|
|
|
},
|
|
|
getSo2Time() {
|