From 3bc79850da426a40002a5d07ceb63fcbcdc2d93d Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期三, 16 六月 2021 09:39:51 +0800
Subject: [PATCH] 危废处理取消和恢复

---
 src/main/webapp/sys_hazardous_waste.xhtml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/sys_hazardous_waste.xhtml b/src/main/webapp/sys_hazardous_waste.xhtml
index 58f27e9..92ce344 100644
--- a/src/main/webapp/sys_hazardous_waste.xhtml
+++ b/src/main/webapp/sys_hazardous_waste.xhtml
@@ -58,6 +58,8 @@
                 <p:panel styleClass="center-body">
                     <p:panelGrid columns="5" styleClass="btn">
                         <p:commandButton value="导出" styleClass="new-btn"   ajax="false" actionListener="#{hazardousWasteController.export2Excel}" />
+                        <p:commandButton value="取消" styleClass="del-btn"   ajax="false" actionListener="#{hazardousWasteController.cancelOne}" />
+                        <p:commandButton value="恢复" styleClass="edit-btn"   ajax="false" actionListener="#{hazardousWasteController.recoverOne}" />
                     </p:panelGrid>
                     <p:dataTable id="hazardousWasteInfoMngDataTable"
                                  styleClass="data-table"
@@ -65,6 +67,7 @@
                                  paginatorAlwaysVisible="false"
                                  paginatorPosition="bottom"
                                  lazy="true" value="#{hazardousWasteController.dataModel}"
+                                 selection="#{hazardousWasteController.selectedOne}"
                                  var="row"
                                  rowKey="#{row.id}"
                                  emptyMessage="无数据"

--
Gitblit v1.9.2