| | |
| | | </table>
|
| | | <table class="condi-opt">
|
| | | <tr>
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_POFF_ComError" name="" value="" class="" />停电</td> <!-- 停电 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_FADIAN_ComError" name="" value="" class="" />发电</td> <!-- 发电 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_DIAOZHAN_ComError" name="" value="" class="">掉站</td> <!-- 掉站 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_DOOROPEN_ComError" name="" value="" class="" >开门异常</td> <!-- 开门,开关电源异常 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_POFF_ComError" name="" value=2 class="" />停电</td> <!-- 停电 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_XUHANG_ComError" name="" value=4 class="">续航</td> <!-- 掉站 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_FADIAN_ComError" name="" value=8 class="" />发电</td> <!-- 发电 -->
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_DOOROPEN_ComError" name="" value=16 class="" >开门异常</td>
|
| | | <td><input type="checkbox" id="ALM_TYPE_BTS9100S_DIAOZHAN_ComError" name="" value=32 class="">掉站</td> <!-- 掉站 -->
|
| | | <!-- 开门,开关电源异常 -->
|
| | | |
| | | <input type="hidden" id="ALM_TYPE_BTS9100S_TEMPUP_ComError" name="" value="" class="">
|
| | | <input type="hidden" id="ALM_TYPE_BTS9100S_TEMPLOW_ComError" name="" value="" class=""> <!-- 温度异常 -->
|
| | | <input type="hidden" id="ALM_TYPE_BTS9100S_DAMPUP_ComError" name="" value="" class="">
|
| | |
| | | record_datetime:timearr[0],
|
| | | record_datetime_end:timearr[1],
|
| | | station_event_type:0, //1:基站停电 2:基站续航 3:基站发电 4:基站开门 5:基站掉站 6:基站温度上限 7:基站温度下限 8:基站湿度上限 9:基站湿度下限
|
| | | |
| | | page:{
|
| | | pageSize:10, //每页的行数
|
| | | pageCurr:1 //当前页码数
|
| | |
| | | // 构造查询条件
|
| | | function createSearchForm(){
|
| | | var stationid = $('#station_name3').find("option:selected").attr('Stationid');
|
| | | var battgroupid = batt_condition();
|
| | | var temp={
|
| | | StationName1:$('#station_name1').val(), // 省
|
| | | StationName2:$('#city').val(), // 市
|
| | |
| | | StationId: stationid?stationid:0,
|
| | | BattInUseDate:$('#startalm').val()+" 00:00:00",
|
| | | BattInUseDate1:$('#endTalm').val()+" 23:59:59",
|
| | | BattGroupNum:$('#statistics').val() |
| | | BattGroupNum:$('#statistics').val(),
|
| | | BattGroupId:battgroupid, |
| | | };
|
| | | //console.info(temp);
|
| | | return temp;
|
| | | }
|
| | |
|
| | | function batt_condition(){
|
| | | var POFF_ComError = 0;
|
| | | var XUHANG_ComError = 0;
|
| | | var FADIAN_ComError = 0;
|
| | | var DIAOZHAN = 0;
|
| | | var DOOROPEN_ComError = 0;
|
| | | var condition = 0;
|
| | | if($('#ALM_TYPE_BTS9100S_POFF_ComError').attr("checked")){
|
| | | POFF_ComError = $('#ALM_TYPE_BTS9100S_POFF_ComError').val();
|
| | | condition+=parseInt(POFF_ComError);
|
| | | }
|
| | | if($('#ALM_TYPE_BTS9100S_XUHANG_ComError').attr("checked")){
|
| | | XUHANG_ComError = $('#ALM_TYPE_BTS9100S_XUHANG_ComError').val();
|
| | | condition+=parseInt(XUHANG_ComError);
|
| | | }
|
| | | if($('#ALM_TYPE_BTS9100S_FADIAN_ComError').attr("checked")){
|
| | | FADIAN_ComError = $('#ALM_TYPE_BTS9100S_FADIAN_ComError').val();
|
| | | condition+=parseInt(FADIAN_ComError);
|
| | | }
|
| | | if($('#ALM_TYPE_BTS9100S_DIAOZHAN_ComError').attr("checked")){
|
| | | DIAOZHAN = $('#ALM_TYPE_BTS9100S_DIAOZHAN_ComError').val();
|
| | | condition+=parseInt(DIAOZHAN);
|
| | | }
|
| | | if($('#ALM_TYPE_BTS9100S_DOOROPEN_ComError').attr("checked")){
|
| | | DOOROPEN_ComError = $('#ALM_TYPE_BTS9100S_DOOROPEN_ComError').val();
|
| | | condition+=parseInt(DOOROPEN_ComError);
|
| | | }
|
| | | //condition = POFF_ComError+XUHANG_ComError+DIAOZHAN+DOOROPEN_ComError+FADIAN_ComError;
|
| | | //console.info(condition);
|
| | | return condition;
|
| | | }
|
| | | //点击查询按钮
|
| | | $('#paging .search').click(function(){
|
| | | serachBattStatistical();
|