From 0d639a8f891065c0733081b83bc0b94dc5410049 Mon Sep 17 00:00:00 2001 From: gdg <764716047@qq.com> Date: 星期一, 11 一月 2021 17:15:59 +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