wangrong
2022-10-24 7a76f297e76fe0fde9a7dc5cf95a84fe24a5ec55
添加权限
3个文件已修改
35 ■■■■■ 已修改文件
js/function.js 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/function_1001.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_search/view.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
js/function.js
@@ -272,28 +272,4 @@
});
map.addLayer(geoJsonLayer);
    }
<<<<<<< HEAD
    debugger;
    //geojson 各行政区边界线
      geoJsonLayer = new mars3d.layer.GeoJsonLayer({
        url: "./data/"+regionCode+".geojson",
        mask: true, //标识为遮罩层【重点参数】
        symbol: {
          styleOptions: {
            fill: true,
            color: "rgb(2,26,79)",
            outline: true,
            outlineColor: "#39E09B",
            outlineWidth: 3,
            outlineOpacity: 0.5,
            arcType: Cesium.ArcType.GEODESIC,
            clampToGround: true,
          },
        },
      });
      map.addLayer(geoJsonLayer);
=======
>>>>>>> 165c834d414f2c5f56ad6d259b5f18c26921cc94
}
js/function_1001.js
@@ -120,7 +120,7 @@
function getGuokongPointFromServer(tmplayer) {
  $.getJSON(mars3d.global_variables.nodejs_url_predix + "dataapi/Bdata?bid=get_1001_list&datatype=" + mars3d.global_variables.queryDataType + "&datatime=" + mars3d.global_variables.queryDataTStart + "&qindex=pm25&pageno=1&pagesize=1000", (result) => {
  $.getJSON(mars3d.global_variables.nodejs_url_predix + "dataapi/Bdata?bid=get_1001_list&datatype=" + mars3d.global_variables.queryDataType + "&datatime=" + mars3d.global_variables.queryDataTStart + "&regionCode="+mars3d.global_variables.regionCode+"&qindex=pm25&pageno=1&pagesize=1000", (result) => {
    data_list_1001 = result.data.result;
    addGuokongPointResutToLayer(tmplayer, result.data.result);
  });
widgetsTS/widget_search/view.js
@@ -62,7 +62,7 @@
//加载count
function loadCountByUserid() {
    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid;
    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid + "&regionCode="+mars3d.global_variables.regionCode;
    $.ajax({
        type: 'get',
        dataType: 'json',
@@ -86,7 +86,7 @@
        error: function (request, textStatus) {
        }
    });
    var backend_url_taxi = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_count_all&datatype=" + thisWidget.datatype + "&datatime="+ thisWidget.datatime;
    var backend_url_taxi = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_count_all&datatype=" + thisWidget.datatype + "&datatime="+ thisWidget.datatime+"regionCode"+mars3d.global_variables.regionCode;
    $.ajax({
        type: 'get',
        dataType: 'json',
@@ -153,7 +153,10 @@
function reloadData(page){
    $("#searchInfo").empty();
    var avgnam = 30; //每页显示个数
    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_" + current_selected_monitor_type + "_list_keyword&datatype=" + thisWidget.datatype + "&datatime=" + thisWidget.datatime +"&userid=" + thisWidget.userid+ "&qindex=" + current_selected_monitor_qindex +"&keyword=" + current_selected_monitor_keyword + "&pageno="+page+"&pagesize="+avgnam;
    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_" + current_selected_monitor_type + "_list_keyword&datatype=" + thisWidget.datatype
            + "&datatime=" + thisWidget.datatime +"&userid=" + thisWidget.userid+ "&qindex=" + current_selected_monitor_qindex
            + "&keyword=" + current_selected_monitor_keyword + "&pageno="+page+"&pagesize="+avgnam
            + "regionCode="+mars3d.global_variables.regionCode;
        $.ajax({
          type:"GET",
          url:backend_url,