From 2b41a088ffcd22a34b24ccb8d96be040de840b79 Mon Sep 17 00:00:00 2001 From: LiJun <LiJun@192.168.10.18> Date: 星期三, 07 十一月 2018 16:03:28 +0800 Subject: [PATCH] 从其他页面跳转到实时告警和历史告警页面选中指定的机房或者电池组 --- gx_tieta/WebRoot/pages/js/common.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js index 65f2cf7..cf9e222 100644 --- a/gx_tieta/WebRoot/pages/js/common.js +++ b/gx_tieta/WebRoot/pages/js/common.js @@ -459,6 +459,11 @@ gl.CMD.sys.restart = 0x10; gl.CMD.sys.set = 0x81; gl.CMD.sys.get = 0x80; + + //CMD涓媑prs + gl.namespace('CMD.gprs'); + gl.CMD.gprs.param = 145; + gl.CMD.gprs.signal = "CSQ"; })(jQuery, window, document, GLOBAL); // 鍦板浘淇℃伅 @@ -552,13 +557,12 @@ function searchStationSignal(param,callback){ $.ajax({ type:"post", - url: "Bts_gprs_stateAction_action_update", + url: "Bts_gprs_stateAction_action_update?t="+(new Date().getTime()), async:true, dataType:'json', data:'json='+JSON.stringify(param), success: function(data){ var model = eval('('+data.result+')'); - console.info(model); if(callback && typeof callback == 'function'){ callback(model); } -- Gitblit v1.9.1