From 67f94373998265eabd0726b74ad488937e5c851c Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期一, 24 十月 2022 01:02:33 +0800
Subject: [PATCH] 添加权限
---
mobile/js/widget_search_view.js | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/mobile/js/widget_search_view.js b/mobile/js/widget_search_view.js
index 66afbe9..090158b 100644
--- a/mobile/js/widget_search_view.js
+++ b/mobile/js/widget_search_view.js
@@ -29,9 +29,9 @@
}
monitortype();
-//鍔犺浇count
+//鍔犺浇count,"regionCode":mars3d.global_variables.regionCode
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;
+ var backend_url = default_system_params.nodejs_url_predix_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + default_system_params.userid+"®ionCode="+mars3d.global_variables.regionCode;
$.ajax({
type: 'get',
dataType: 'json',
@@ -90,8 +90,10 @@
datatime_ = document.getElementById("appDateHour").value;
querytype_ = 'hour';
}
- 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;
+ 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
+ + "®ionCode="+mars3d.global_variables.regionCode;
$.ajax({
type: "GET",
url: backend_url,
--
Gitblit v1.9.1