From 7d8b1bf5fbfff1e8e3b4284b9b84b6774b95c8a0 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期二, 25 十月 2022 08:47:06 +0800
Subject: [PATCH] delete regioncode

---
 widgetsTS/widget_detail/view.js  |    4 ++--
 mobile/js/widget_search_view.js  |    7 +++----
 widgetsTS/widget_summary/view.js |    6 +++---
 widgetsTS/widget_search/view.js  |    7 +++----
 4 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/mobile/js/widget_search_view.js b/mobile/js/widget_search_view.js
index 090158b..5d6a323 100644
--- a/mobile/js/widget_search_view.js
+++ b/mobile/js/widget_search_view.js
@@ -29,9 +29,9 @@
 }
 monitortype();
 
-//鍔犺浇count,"regionCode":mars3d.global_variables.regionCode
+//鍔犺浇count
 function loadCountByUserid() {
-    var backend_url = default_system_params.nodejs_url_predix_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + default_system_params.userid+"&regionCode="+mars3d.global_variables.regionCode;
+    var backend_url = default_system_params.nodejs_url_predix_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + default_system_params.userid;
     $.ajax({
         type: 'get',
         dataType: 'json',
@@ -92,8 +92,7 @@
     }
     var avgnam = 50; //姣忛〉鏄剧ず涓暟  
     var backend_url = default_system_params.nodejs_url_predix + "dataapi/Bdata?bid=get_" + current_selected_monitor_type + "_list_keyword&datatype=" + querytype_ + "&datatime=" + datatime_ 
-        + "&qindex=" + current_selected_monitor_qindex + "&keyword=" + current_selected_monitor_keyword + "&pageno="+page+"&pagesize="+avgnam
-        + "&regionCode="+mars3d.global_variables.regionCode;
+        + "&qindex=" + current_selected_monitor_qindex + "&keyword=" + current_selected_monitor_keyword + "&pageno="+page+"&pagesize="+avgnam;
     $.ajax({
         type: "GET",
         url: backend_url,
diff --git a/widgetsTS/widget_detail/view.js b/widgetsTS/widget_detail/view.js
index 29a974e..526ca6e 100644
--- a/widgetsTS/widget_detail/view.js
+++ b/widgetsTS/widget_detail/view.js
@@ -26,8 +26,8 @@
     }
     var backend_url = tmpQueryParams.nodejs_url_predix + "dataapi/Bdata?bid=get_" + tmpQueryParams.layerid + "_single_path&datatype=" + tmpQueryParams.datatype 
         + "&siteid=" + tmpQueryParams.siteid + "&datatime1=" + tmpQueryParams.appDateHourStart + "&datatime2=" + tmpQueryParams.appDateHourEnd 
-        + "&regionCode="+mars3d.global_variables.regionCode+"&count=10";
-    // all 1006xx layer has the same legend 锛侊紒  "regionCode":mars3d.global_variables.regionCode
+        +"&count=10";
+    // all 1006xx layer has the same legend 锛侊紒  
     console.log(tmpQueryParams)
     echart_show(backend_url,tmpQueryParams)
 
diff --git a/widgetsTS/widget_search/view.js b/widgetsTS/widget_search/view.js
index f93751e..517290f 100644
--- a/widgetsTS/widget_search/view.js
+++ b/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 + "&regionCode="+mars3d.global_variables.regionCode;
+    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid ;
     $.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+"regionCode"+mars3d.global_variables.regionCode;
+    var backend_url_taxi = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_count_all&datatype=" + thisWidget.datatype + "&datatime="+ thisWidget.datatime;
     $.ajax({
         type: 'get',
         dataType: 'json',
@@ -155,8 +155,7 @@
     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
-            + "regionCode="+mars3d.global_variables.regionCode;
+            + "&keyword=" + current_selected_monitor_keyword + "&pageno="+page+"&pagesize="+avgnam;
         $.ajax({
           type:"GET",
           url:backend_url,
diff --git a/widgetsTS/widget_summary/view.js b/widgetsTS/widget_summary/view.js
index a963a7b..eb7aedd 100644
--- a/widgetsTS/widget_summary/view.js
+++ b/widgetsTS/widget_summary/view.js
@@ -50,7 +50,7 @@
 }
 //鍔犺浇count
 function loadCountByUserid() {
-    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid+"regionCode="+mars3d.global_variables.regionCode;
+    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid;
     $.ajax({
         type: 'get',
         dataType: 'json',
@@ -77,7 +77,7 @@
         }
     });
     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;
+        + "&datatime="+ thisWidget.datatime;
     $.ajax({
         type: 'get',
         dataType: 'json',
@@ -146,7 +146,7 @@
     $("#top10Tb").empty();
     var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_" + current_selected_monitor_type + "_list&datatype=" + thisWidget.datatype 
         + "&datatime=" + thisWidget.datatime+ "&userid=" + thisWidget.userid + "&qindex=" + current_selected_monitor_qindex 
-        + "&pageno=1&pagesize=" + default_system_params.summary_topN_count+"regionCode="+mars3d.global_variables.regionCode;
+        + "&pageno=1&pagesize=" + default_system_params.summary_topN_count;
     //鍔犲叆cntId
     $.ajax({
         type: 'get',

--
Gitblit v1.9.1