From 4ad8653be79cb07fc7f450540ea20d82b3971b89 Mon Sep 17 00:00:00 2001
From: gdg <764716047@qq.com>
Date: 星期二, 12 一月 2021 14:19:44 +0800
Subject: [PATCH] 模块:用户管理 修改:导入新增课题组,修改导入时插入的代码问题 提出:秦老师

---
 src/main/webapp/user_mng.xhtml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/user_mng.xhtml b/src/main/webapp/user_mng.xhtml
index 2bf9136..54f3911 100644
--- a/src/main/webapp/user_mng.xhtml
+++ b/src/main/webapp/user_mng.xhtml
@@ -85,7 +85,7 @@
                 </p:column>
 
                 <p:column headerText="课题组">
-                    <h:outputText value="#{sysProjectServiceImpl.getSysProject(row.projectId).project}"></h:outputText>
+                    <h:outputText value="#{row.project}"></h:outputText>
                 </p:column>
 
                 <p:column headerText="ARP">
@@ -166,10 +166,10 @@
                              required="true" requiredMessage="请输入ARP号"></p:inputText>
 
                 <p:outputLabel value="课题组"></p:outputLabel>
-                <p:selectOneMenu value="#{userMngController.sysUser.projectId}">
-                    <f:selectItem itemLabel="不选择课题组"  />
+                <p:selectOneMenu value="#{userMngController.sysUser.project}" filter="true" filterMatchMode="startsWith">
+                    <f:selectItem itemLabel="不选择课题组" />
                     <f:selectItems value="#{sysProjectServiceImpl.getAll()}"
-                                   var="item" itemLabel="#{item.project}"  itemValue="#{item.id}"></f:selectItems>
+                                   var="item" itemLabel="#{item.project}"  itemValue="#{item.project}"></f:selectItems>
                 </p:selectOneMenu>
 
                 <p:outputLabel value="姓名"></p:outputLabel>

--
Gitblit v1.9.2