Newer
Older
alarm / WebRoot / content / alarm / alarm-msg-heat.jsp
zhout on 2 Mar 2022 4 KB first commit
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/taglibs.jsp"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="${ctx}/s/jquery-easyui-1.4.3/themes/bootstrap/easyui.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/s/jquery-easyui-1.4.3/themes/icon.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/s/jquery-easyui-1.3.2/themes/frm.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/form.css" />

    <style type="text/css">
        table,td,tr {
            font-size: 12px;
        }
        input {
            width: 140px;
        }
        .textbox-text {
            padding-top:2px !important;
        }

    </style>

    <script type="text/javascript" src="${ctx}/s/jquery-easyui-1.3.2/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="${ctx}/s/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="${ctx}/s/jquery-easyui-1.4.3/locale/easyui-lang-zh_CN.js"></script>


</head>

<body>
<input type="hidden" id="context" value="${ctx}">
<div id='Loading' style="position: absolute; z-index: 1000; top: 0px; left: 0px;
     width: 100%; height: 100%; background: #ffffff; text-align: center;">
</div>
<%@include file="/content/alarm/com_alarm.jsp"%>

<div id="tb" style="padding:5px;height:auto">

    <form id="workListQuery" style="margin: 0px" METHOD="GET">
        <tr>
            <td>设备类型:</td>
            <td>
                <select id="dev-type-add" name="deviceType"  editable="false" class="easyui-combobox">
                    <option value="全部">全部</option>
                    <option value="保温层下腐蚀环境监测仪">保温层下腐蚀环境监测仪</option>
                    <option value="保温层下腐蚀速率监测仪">保温层下腐蚀速率监测仪</option>
                </select>

            </td>

            <%--<td>设备名称:</td>
            <td><input id="deviceName"  type="text" style="border: solid 1px #D4D4D4;"></td>--%>
            <td>设备编号:</td>
            <td><input id="deviceCode"  class="easyui-textbox" style="border: solid 1px #D4D4D4;"></td>
            <td>开始日期:</td>
            <td><input type="text" editable="false" id="startTime" class="easyui-datebox"/></td>

            <td>结束日期:</td>
            <td><input type="text" editable="false" id="endTime" class="easyui-datebox"/></td>

            <td><a href="#" class="easyui-linkbutton" iconCls="icon-search" id="queryBtn">查询</a></td>

        </tr>

    </form>

</div>
<table id="dg_alarm" toolbar="#tb" data-options="
                    fit: true,
                    pagePosition: 'bottom',
                    pagination: true,
                    rownumbers: true,
                    singleSelect: true,
                    fitColumns:true,
                    pageList: [5, 10, 20, 30, 40, 50],
                    pageSize: 5">
    <thead>
    <tr>
        <th data-options="field:'devCode',width:100,align:'center'">设备编号</th>
        <th data-options="field:'devTypeName',width:100,align:'center'">设备类型</th>
        <th data-options="field:'pos',width:120,align:'center'">报警位置</th>
        <%--<th data-options="field:'itemValue',width:80,align:'center'">报警值</th>--%>
        <%--<th data-options="field:'thresh',width:80,align:'center'">阈值</th>--%>
        <th data-options="field:'message',width:100,align:'center'">报警消息</th>
        <th data-options="field:'alarmTime',width:100,align:'center'">报警时间</th>

    </tr>
    </thead>
</table>
</body>
</html>

<script type="text/javascript" src="${ctx}/s/alarm/alarm-msg-heat.js"></script>
<script type="text/javascript" src="${ctx}/s/alarm/com_alarm.js"></script>
<script>

    function closes() {
        $("#Loading").fadeOut("normal", function () {
            $(this).remove();
        });
    }
    jQuery(document).ready(function(){
        alarmMsgHeat.init();
    });

    document.onreadystatechange = function () { // 当页面加载状态改变的时候执行这个方法

        if (document.readyState == "complete") { // 当页面加载完成之后执行

            closes();
            parent.IndexJS.setSouthPanelTitle("报警管理");
            parent.IndexJS.expendSouthPanel(250);
        }
    }
</script>