From 3da43e60cd97ad330dcc0911d76bb3c395a65b0c Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: 星期五, 02 七月 2021 12:09:38 +0800
Subject: [PATCH] 修改危废统计

---
 src/main/webapp/user_mng.xhtml |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/user_mng.xhtml b/src/main/webapp/user_mng.xhtml
index fd849e5..4764996 100644
--- a/src/main/webapp/user_mng.xhtml
+++ b/src/main/webapp/user_mng.xhtml
@@ -35,9 +35,9 @@
             </p:panelGrid>
         </p:panel>
         <p:panel styleClass="center-body">
-            <p:panelGrid columns="5" styleClass="btn">
+            <p:panelGrid columns="6" styleClass="btn">
                 <p:commandButton value="新建" styleClass="new-btn"
-                                 process="@this"
+                                 process="@form"
                                  actionListener="#{userMngController.onNewBtnClick}"
                                  oncomplete="PF('dialog').show();"
                                  update=":dialog,:dialogForm"
@@ -60,6 +60,8 @@
                 <p:outputLabel rendered="#{userMngController.isAccess('导入')}">
                     <a href="resources/template/用户导入模板.xlsx" style="display: inline-block;"><img src="resources/images/xlsx.png" width="30px;" alt=""/></a>
                 </p:outputLabel>
+                <p:commandButton value="导出" styleClass="new-btn" ajax="false"  actionListener="#{userMngController.exportLab2Excel}"
+                />
                 <script>
                     function importUser(){
                         $("#userMngForm\\:importUserBtn_input").click();
@@ -195,12 +197,11 @@
                 <p:outputLabel value="账号"></p:outputLabel>
                 <p:inputText value="#{userMngController.sysUser.account}" maxlength="100"
                              required="true" requiredMessage="请输入账号"
-                             disabled="#{userMngController.action == constants.ACTION_EDIT}"></p:inputText>
+                             disabled="#{userMngController.action == constants.ACTION_EDIT}" autocomplete="off"></p:inputText>
 
                 <p:outputLabel value="密码" ></p:outputLabel>
                 <p:password value="#{userMngController.sysUser.password}" maxlength="100"
-                             requiredMessage="请输入密码"
-                            ></p:password>
+                             requiredMessage="请输入密码" autocomplete="off"></p:password>
 
                 <p:outputLabel value="电话"></p:outputLabel>
                 <p:inputText value="#{userMngController.sysUser.phone}" maxlength="30"></p:inputText>

--
Gitblit v1.9.2