cshenfu
2022-10-27 fca9a405c53caeec1541f4b12865de2af319ee47
更改15分钟提示
12个文件已修改
33 ■■■■■ 已修改文件
data/getLayerListByUserid.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/changable_params.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/function.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/function_1001.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/function_1004.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
mobile/js/dataTime.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/dataTime/widget.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay/view.js 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxiRouteReplay/widget.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/taxi_layer_setting/widget.js 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_grid/view.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_grid/widget.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
data/getLayerListByUserid.json
@@ -231,7 +231,7 @@
            "style_selected":"pm25",
            "styleoptions": ["pm25", "pm10", "no", "no2", "nox", "co"],
            "regiontype":"00",
            "minimumLevel":11,
            "minimumLevel":8,
            "maximumLevel":12,
            "show":false,
            "zIndex":6
@@ -247,8 +247,8 @@
            "style_selected":"pm25",
            "styleoptions": ["pm25", "pm10", "no", "no2", "nox", "co"],
            "regiontype":"00",
            "minimumLevel":8,
            "maximumLevel":10,
            "minimumLevel":6,
            "maximumLevel":7,
            "show":false,
            "zIndex":7
js/changable_params.js
@@ -149,6 +149,7 @@
        grid = array[3]
      }
    }
    console.log(grid,"grid")
    return grid + "米网格 <br/><br /> grid_id:"+item["grid_id"]+
      "<br />数据时间:" + 
      item["datatime"] + 
js/function.js
@@ -189,6 +189,7 @@
function addGraphictoHighlightLayer() {
  mars3d.global_variables.tmpHighlightGraphics.forEach((item) => {
    mars3d.global_variables.tmpHighlightGraphicLayer.addGraphic(item);
    console.log(item,"高亮")
  });
}
js/function_1001.js
@@ -7,6 +7,7 @@
function addWMSLayer(item) {
  console.log(item,"查看griditem")
  var wmsLyer = new mars3d.layer.WmsLayer({
    id: item.id,
@@ -214,8 +215,6 @@
  }
}
function timetype_change3(){ 
  console.log(mars3d,"mars3d");
  debugger;
  if(mars3d.global_variables.timetype == "min"){
    $(".menu3").attr('onclick'," ");  //$("#名称").attr("属性名","属性值");
    haoutil.msg("请切换至天或时查看数据!!!");
js/function_1004.js
@@ -12,6 +12,7 @@
  
function addTaxiLayer(item) {
  taxi_layer = new mars3d.layer.GraphicLayer({
    id: item.id,
    name: item.name,
@@ -49,6 +50,7 @@
}
function setTaxiLayerMapClock() {
  console.log(mars3d.global_variables.queryDataTStartTaxi,mars3d.global_variables.queryDataTEnd,"时间")
  map.clock.shouldAnimate = true;
  map.clock.startTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTStartTaxi));
  map.clock.currentTime = Cesium.JulianDate.fromDate(new Date(mars3d.global_variables.queryDataTStartTaxi));
mobile/js/dataTime.js
@@ -120,6 +120,7 @@
    //reLoadLayers();
    //refreshWidgets();
  });
  console.log(this,"this setDate")
  $("#appDateHour").datetimepicker("setDate", new Date(getDefaultDateTimeLocal()));
  $('#appDateHour').datetimepicker('setEndDate', new Date(this.defaultDateTime));
}
widgetsTS/dataTime/widget.js
@@ -102,6 +102,7 @@
          mars3d.global_variables.queryDataTStartGeo = tmpDatetime;
          mars3d.global_variables.queryDataType = value;
          mars3d.global_variables.timetype = "hour";
          console.log(mars3d.global_variables.queryDataTStart,"start",mars3d.global_variables.queryDataTEnd,"end",mars3d.global_variables.DefaultDateTimeStart,"一天的时间")
          reLoadLayers();
          refreshWidgets();
          timetype_change1();
@@ -115,6 +116,7 @@
          $('#appDateHour').hide()
          $('#appDate').show()
          var tmpDatetime =  $('#appDate').val() + " 00:00:00";
          tmpDatetime = tmpDatetime.replace(/\:/g,"").replace(/-/g,"").replace(/\s+/g,"");
          mars3d.global_variables.queryDataTStart =  $('#appDate').val() + " 00:00:00";
          mars3d.global_variables.queryDataTEnd = $('#appDate').val()+ " 00:15:00";
@@ -122,6 +124,7 @@
          mars3d.global_variables.queryDataTStartGeo = tmpDatetime;
          mars3d.global_variables.queryDataType = value;
          mars3d.global_variables.timetype = "day";
          console.log(tmpDatetime,mars3d.global_variables.queryDataTStart,mars3d.global_variables.queryDataTEnd ,mars3d.global_variables.DefaultDateTimeStart,"一天的时间")
          reLoadLayers();
          refreshWidgets();
          timetype_change1();
widgetsTS/taxiRouteReplay/view.js
@@ -7,6 +7,7 @@
  thisWidget = _thisWidget;
  DatePicker("#appDateHourStart", '#appDateHourEnd');
  console.log($("#appDateHourStart").val(),$('#appDateHourEnd').val(),"rywsjbh")
  $("#appDateHourStart").datetimepicker("setDate", new Date(thisWidget.appDateHourStart));
  $('#appDateHourEnd').datetimepicker('setDate', new Date(thisWidget.appDateHourEnd));
  $("#taxisn").val(thisWidget.taxi_sn);
@@ -163,12 +164,6 @@
                ev.stopPropagation();
                var startTime = ev.date;
                $(endSelector).datetimepicker('setStartDate',startTime);
                // $(endSelector).val("");
      // if (ev.date) {
      //   $(endSelector).datetimepicker('setStartDate', new Date(ev.date.valueOf()))
      // } else {
      //   $(endSelector).datetimepicker('setStartDate', null);
      // }
      thisWidget.appDateHourStart = $(beginSelector).val();
    })
  $(endSelector).datetimepicker(
widgetsTS/taxiRouteReplay/widget.js
@@ -220,7 +220,7 @@
    //每个窗口创建完成后调用
    winCreateOK(opt, result) {
      this.viewWindow = result;
      console.log(this.config.params,"this.taxi_sn")
      console.log(this,"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;
@@ -230,6 +230,7 @@
    }
    //打开激活
    activate() {
      console.log(this,"this  detail")
      this.map.addLayer(this.groupLayer);
      this.map.clock.shouldAnimate = false;
      this.old_map_clock_startTime = this.map.clock.startTime;
widgetsTS/taxi_layer_setting/widget.js
@@ -15,6 +15,7 @@
    }
    //打开激活
    activate() {
      haoutil.oneMsg("移动监测点只可查询十五分钟车辆数据! ! !");
      console.log(map,"mapmapmap")
      map.viewer.animation.container.style.display = "block";
    }
widgetsTS/widget_grid/view.js
@@ -65,6 +65,7 @@
    $("#style_radio2 label").eq(5).html('<input type="radio" name="style_option2" value="co">CO');
    $('input[type=radio][name=style_option]').change(function () {
        console.log(this.value,"this.value   grid")
        thisWidget.update_grid_style(this.value);
    });
    $('input[type=radio][name=style_option2]').change(function () {
@@ -155,6 +156,7 @@
}
function addImageToMap(grid_item) {
    console.log(grid_item,"grid_item")
    if (grid_item.layer == null) {
        grid_item.layer = new mars3d.layer.ImageLayer({
widgetsTS/widget_grid/widget.js
@@ -18,6 +18,7 @@
    }
    //初始化[仅执行1次]
    create() {
      this.grid_500 = this.map.getLayerById(3000);
      this.grid_1000 = this.map.getLayerById(3001);
      this.grid_3000 = this.map.getLayerById(3002);
@@ -28,12 +29,14 @@
      this.nodejs_url_predix = mars3d.global_variables.nodejs_url_predix;
      this.heatmapGroupLayer = new mars3d.layer.GroupLayer({ id: 5000, pid: 50, name: "", show: false });
      this.map.addLayer(this.heatmapGroupLayer);
      console.log(this.grid_500,this.grid_5000,this.grid_3000,this,"grid this")
    }
 
 
 
    //每个窗口创建完成后调用
    winCreateOK(opt, result) {
      console.log(this.map,"this.map.grid")
      //this.grid_500.show = true;
      //this.grid_1000.show = true;
      //this.grid_3000.show = true;