mirror of
https://gitee.com/wkeyuan/DWSurvey.git
synced 2024-12-02 03:58:23 +08:00
账号问题修改
This commit is contained in:
parent
a9e4921628
commit
0a5a0373ac
@ -54,6 +54,7 @@ public class UserAdminAction extends CrudActionSupport<User, String> {
|
||||
@Override
|
||||
public String save() throws Exception {
|
||||
HttpServletRequest request= Struts2Utils.getRequest();
|
||||
entity.setStatus(1);
|
||||
userManager.adminSave(entity,null);
|
||||
return RELOAD;
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ $(document).ready(function(){
|
||||
<%--<td align="left">${en.email }</td>--%>
|
||||
<td align="left"><fmt:formatDate value="${en.createTime }" pattern="yyyy年MM月dd日 HH:mm"/></td>
|
||||
<td align="left"><fmt:formatDate value="${en.createTime }" pattern="yyyy年MM月dd日 HH:mm"/></td>
|
||||
<td align="left">${en.status ne 0 ? '可用':'不可用' }</td>
|
||||
<td align="left">${en.status eq 0 ? '不可用':'可用' }</td>
|
||||
<td align="center">
|
||||
<a class="btn btn-default" href="${ctx }/sy/user/nosm/user-admin!input.action?id=${en.id}" title="编辑"data-toggle="tooltip" data-placement="top" ><i class="fa fa-pencil-square-o"></i></a>
|
||||
<a class="btn btn-default disUser_a" href="${ctx }/sy/user/nosm/user-admin!delete.action?id=${en.id}" title="禁用"data-toggle="tooltip" data-placement="top" ><i class="fa fa-trash-o" aria-hidden="true"></i></a>
|
||||
|
Loading…
Reference in New Issue
Block a user