whyclj
2019-01-18 196a672da9a0ae25cf8749b7b3b407396d55bab0
gx_tieta/WebRoot/bts-comm-mon.jsp
@@ -15,7 +15,7 @@
      <meta http-equiv="expires" content="0">    
      <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
      <meta http-equiv="description" content="This is my page">
       <title>设备单体信息查询</title>
       <title><s:text name="Batt_conn_info_query"/></title>                  <!-- 电池组连接信息查询 -->
      <link rel="stylesheet" type="text/css" href="pages/css/base.css">
      <link rel="stylesheet" type="text/css" href="jqueryui/jquery-ui.css">
       <link rel="stylesheet" type="text/css" href="src/css/layui.css">
@@ -105,9 +105,12 @@
               ,cols: [[
                  {field: 'Staionanme', title: '机房名称', align: 'center', width: 450}
                  ,{field:'dev_id', title:'设备id', align:'center', width: 260}
                  ,{field:'battgroup_id', title:'电池组id', align:'center', width: 260}
                  ,{field:'battgroup_index', title:'电池组索引', align:'center', width: 260}
                  ,{field:'battgroup_mon_cnt', title:'电池组单体个数', align:'center', width: 260}
                  ,{field:'battgroup_id', title:'电池组id', align:'center', width: 200}
                  ,{field:'battgroup_index', title:'电池组索引', align:'center', width: 200}
                  ,{field:'battgroup_mon_cnt', title:'电池组单体个数', align:'center', width: 200}
                  ,{field:'battgroup_float_vol', title:'浮充电压', align:'center', width: 200}
                  ,{field:'battgroup_float_curr', title:'浮充电流', align:'center', width: 200}
                  ,{field:'battgroup_register_code', title:'注册码', align:'center', width: 200}
                  
                ]]
               ,data:[]
@@ -124,7 +127,7 @@
            //console.log(Page);
             
            // 查询后台数据
            /* search(createSearchParam(), true);
            search(createSearchParam(), true);
            function search(temp, newLoad) {
               var load;
               if(newLoad) {
@@ -134,12 +137,12 @@
               $.ajax({
                  type:'post',
                  async:true,
                  url: 'App_bts_comm_taskAction!serchByCondition',
                  url: 'App_bts_battgroupAction!serchByCondition',
                  data: "json="+JSON.stringify(temp),
                  dataType: 'json',
                  success:function(result) {
                     var model = JSON.parse(result.result);
                     //console.info(model);
                     console.info(model);
                     var arr_td = new Array();
                     if(model.code == 1){
                        for(var i=0;i<model.data.length;i++){
@@ -151,6 +154,9 @@
                           _tmp.battgroup_id = _data.battgroup_id;
                           _tmp.battgroup_index = _data.battgroup_index;
                           _tmp.battgroup_mon_cnt = _data.battgroup_mon_cnt;
                           _tmp.battgroup_float_vol = _data.battgroup_float_vol;
                           _tmp.battgroup_float_curr = _data.battgroup_float_curr;
                           _tmp.battgroup_register_code = _data.battgroup_register_code;
                           
                           arr_td.push(_tmp);
                           Page.setAll(_data.num);
@@ -168,7 +174,7 @@
               });
               
            }
             */