zhaoxing
2022-10-21 a3edf279a91d6b1791221ea9d3a69e43409915af
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;