From 25eca015c9edb5a8ab3fd9d68a8fd785619c1372 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期一, 28 二月 2022 11:24:48 +0800 Subject: [PATCH] 仓库状态温湿度阈值警报字段 --- src/main/webapp/warehouse_mng.xhtml | 42 +++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/warehouse_mng.xhtml b/src/main/webapp/warehouse_mng.xhtml index 391df19..c8c96c7 100644 --- a/src/main/webapp/warehouse_mng.xhtml +++ b/src/main/webapp/warehouse_mng.xhtml @@ -68,6 +68,26 @@ value="#{'楼号:'.concat(row.location1).concat(' - 地址号:'.concat(row.location2))}"></h:outputText> </p:column> + <p:column headerText="温度最大值" width="50"> + <h:outputText + value="#{row.temperatureMax}"></h:outputText> + </p:column> + + <p:column headerText="温度最小值" width="50"> + <h:outputText + value="#{row.temperatureMin}"></h:outputText> + </p:column> + + <p:column headerText="湿度最大值" width="50"> + <h:outputText + value="#{row.humidityMax}"></h:outputText> + </p:column> + + <p:column headerText="湿度最小值" width="50"> + <h:outputText + value="#{row.humidityMin}"></h:outputText> + </p:column> + <p:column headerText="负责部门"> <h:outputText value="#{baseMetaService.getBaseMetaValue(row.department)}"/> </p:column> @@ -115,6 +135,26 @@ <f:selectItems value="#{baseMetaService.getBaseMetaList(constants.BASE_META_GROUP_USER_DEPARTMENT)}" var="item" itemLabel="#{item.metaValue}" itemValue="#{item.id}"></f:selectItems> </p:selectOneMenu> + + <p:outputLabel value="温度最大值"></p:outputLabel> + <p:inputNumber value="#{warehouseMngController.sysWarehouse.temperatureMax}" + modifyValueOnWheel="false" + decimalPlaces="4"/> + + <p:outputLabel value="温度最小值"></p:outputLabel> + <p:inputNumber value="#{warehouseMngController.sysWarehouse.temperatureMin}" + modifyValueOnWheel="false" + decimalPlaces="4"/> + + <p:outputLabel value="湿度最大值"></p:outputLabel> + <p:inputNumber value="#{warehouseMngController.sysWarehouse.humidityMax}" + modifyValueOnWheel="false" + decimalPlaces="4"/> + + <p:outputLabel value="湿度最大值"></p:outputLabel> + <p:inputNumber value="#{warehouseMngController.sysWarehouse.humidityMin}" + modifyValueOnWheel="false" + decimalPlaces="4"/> </p:panelGrid> <p:panel styleClass="btn"> <p:commandButton value="保存" @@ -126,4 +166,4 @@ </h:form> </p:dialog> </ui:composition> -</html> \ No newline at end of file +</html> -- Gitblit v1.9.2