From a3edf279a91d6b1791221ea9d3a69e43409915af Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期五, 21 十月 2022 15:19:35 +0800
Subject: [PATCH] 添加黑地图,轨迹查询自动变成车号,车辆出上海边界不显示

---
 widgetsTS/taxiRouteReplay/widget.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/widgetsTS/taxiRouteReplay/widget.js b/widgetsTS/taxiRouteReplay/widget.js
index 2784a61..ef35981 100644
--- a/widgetsTS/taxiRouteReplay/widget.js
+++ b/widgetsTS/taxiRouteReplay/widget.js
@@ -13,8 +13,10 @@
     }
  
     reloadData(new_taxi_sn) {
-      this.viewWindow.resetStartQueryTaxiDataText(new_taxi_sn);
+      console.log(new_taxi_sn,"reload")
       this.taxi_sn = new_taxi_sn;
+      this.viewWindow.resetStartQueryTaxiDataText(this.taxi_sn);
+      
  
       if (this.startGraphic) {
         this.startGraphic.remove();
@@ -75,7 +77,7 @@
           position2 = Cesium.Cartesian3.fromDegrees(lng2, lat2);
         }
         item = changeNullAndundefinedToEmpty(item)
-        console.log(item,"璺嚎item",item[this.qindex])
+        // console.log(item,"璺嚎item",item[this.qindex])
       let graphic = new mars3d.graphic.PolylineEntity({
         positions: [position,position2],
         style: {
@@ -218,6 +220,7 @@
     //姣忎釜绐楀彛鍒涘缓瀹屾垚鍚庤皟鐢�
     winCreateOK(opt, result) {
       this.viewWindow = result;
+      console.log(this.config.params,"this.taxi_sn")
       this.appDateHourStart = mars3d.global_variables.queryDataTStartTaxi;
       this.appDateHourEnd = mars3d.global_variables.queryDataTEnd;
       this.nodejs_url_predix = mars3d.global_variables.nodejs_url_predix;

--
Gitblit v1.9.1