航次地图轨迹增加按船舶筛选
This commit is contained in:
parent
efe6cd18a3
commit
5207a0662f
|
|
@ -240,7 +240,7 @@ export default {
|
||||||
// 航次统计
|
// 航次统计
|
||||||
gitShipVoyage(params = {}) {
|
gitShipVoyage(params = {}) {
|
||||||
shipVoyage(params).then(res => {
|
shipVoyage(params).then(res => {
|
||||||
if (params.start || params.end) {
|
if (params.start || params.end || params.ship_name) {
|
||||||
// 按年份筛选数据,先隐藏所有图层,再根据筛选结果显示对应图层
|
// 按年份筛选数据,先隐藏所有图层,再根据筛选结果显示对应图层
|
||||||
setMapLayoutProperty('voyageMap_ship', 'none')
|
setMapLayoutProperty('voyageMap_ship', 'none')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue