cshenfu
2022-10-24 a18d81c9485e7f92f82761dec91355dfe24250d9
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,