Merge branch 'dev_lxw' of https://whychdw@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw
| | |
| | | <div class="batt-state">
|
| | |
|
| | | <div class="list">
|
| | | <div class="list-contain"><s:text name='Computer_room'/><s:text name='Power_cut'/><s:text name='Num'/>:<a href="batt-state-manage.jsp" class="badge default" id="poweroff_num">0</a></div> <!-- 机房停电数 -->
|
| | | <div class="list-contain"><s:text name='Computer_room'/><s:text name='Power_cut'/><s:text name='Num'/>:<a href="batt-state-manage.jsp?station_state=2" class="badge default" id="poweroff_num">0</a></div> <!-- 机房停电数 -->
|
| | | </div>
|
| | | <div class="list">
|
| | | <div class="list-contain"><s:text name="Batt"/><s:text name="Alarm"/><s:text name="Num"/>:<a href="elewarn.jsp" class="badge danger" id="batt_alarm_num">0</a></div> <!-- 电池告警数 -->
|
| | |
| | |
|
| | | // 根据表格的头部生成表格选项和表格的状态数组
|
| | | $(function() {
|
| | | |
| | | //当从其他页面跳转到当前页面选中指定的异常类型并且查询记录
|
| | | var station_state = getQueryString('station_state');
|
| | | if(station_state){
|
| | | //alert(station_state);
|
| | | |
| | | $('#search_form .condi-opt [value='+station_state+']:checkbox').attr("checked", true);
|
| | | }
|
| | | |
| | | |
| | | centerDiv($('#cardOption'));
|
| | | // 遍历表格头部生成状态数组
|
| | | for(var i = 0; i < arrTh.length; i++) {
|
| | |
| | | ,defaultToolbar: ['exports', 'filter']
|
| | | ,cellMinWidth: 80
|
| | | ,cols: [[
|
| | | {field:'note', title:'告警时间段', align:'center'}
|
| | | ,{field:'stationName', title:'机房名称', align:'center'}
|
| | | {field:'note', title:'告警时间段', align:'center',width:380}
|
| | | ,{field:'stationName', title:'机房名称', align:'center',width:450}
|
| | | ,{field:'station_event_type_poff', title:'停电次数', align:'center'}
|
| | | ,{field:'station_event_type_fadian', title:'发电次数', align:'center'}
|
| | | ,{field:'station_event_type_diaozhan', title:'掉站次数', align:'center'}
|