<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE html
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
xmlns:p="http://primefaces.org/ui"
|
xmlns:h="http://java.sun.com/jsf/html"
|
xmlns:f="http://java.sun.com/jsf/core"
|
xmlns:c="http://java.sun.com/jsp/jstl/core">
|
<head></head>
|
<ui:composition>
|
<h:form id="sysAlarmMngForm">
|
<p:panel styleClass="center-header">
|
<p:outputLabel styleClass="title" value="货柜预警"></p:outputLabel>
|
|
<p:panelGrid styleClass="filter" columns="7">
|
<p:outputLabel value="货柜条码:"></p:outputLabel>
|
<p:inputText value="#{sysAlarmsController.containerCode}"></p:inputText>
|
|
<p:outputLabel value="报警时间:"></p:outputLabel>
|
<p:calendar value="#{sysAlarmsController.startTime}" converter="timestampConvert"
|
pattern="yyyy-MM-dd HH:mm:ss" locale="zh_CN"></p:calendar>
|
<p:outputLabel value=" ~ " style="margin-left: 10px;margin-right: 10px"></p:outputLabel>
|
<p:calendar value="#{sysAlarmsController.endTime}" converter="timestampConvert"
|
pattern="yyyy-MM-dd HH:mm:ss" locale="zh_CN"></p:calendar>
|
|
<p:commandLink styleClass="search" process="@form" update="@form"></p:commandLink>
|
</p:panelGrid>
|
</p:panel>
|
<p:panel styleClass="center-body">
|
<p:dataTable id="sysAlarmsMngDataTable" styleClass="data-table"
|
paginator="true" paginatorAlwaysVisible="false" paginatorPosition="bottom"
|
lazy="true" value="#{sysAlarmsController.dataModel}" var="row" rowKey="#{row.id}"
|
emptyMessage="无数据" selection="#{sysAlarmsController.selectedList}"
|
rows="20" pageLinks="5">
|
<p:column selectionMode="multiple" style="width: 30px;text-align: center;"/>
|
|
|
<p:column headerText="主控条码">
|
<h:outputText value="#{row.controllerCode}"></h:outputText>
|
</p:column>
|
<p:column headerText="货柜条码">
|
<h:outputText value="#{row.containerCode}"></h:outputText>
|
</p:column>
|
<p:column headerText="货柜类型">
|
<h:outputText value="#{row.type}"></h:outputText>
|
</p:column>
|
<p:column headerText="报警类别">
|
<h:outputText value="#{row.warningName}"></h:outputText>
|
</p:column>
|
<p:column headerText="报警时间">
|
<h:outputText value="#{row.warningTime}">
|
<f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss" locale="zh_CN"></f:convertDateTime>
|
</h:outputText>
|
</p:column>
|
|
|
</p:dataTable>
|
</p:panel>
|
</h:form>
|
</ui:composition>
|
</html>
|