diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp index 6731a5f..e3efa91 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp @@ -24,8 +24,8 @@
- | 계정 | -이름 | +계정 | +이름 | 이메일 | 전화번호(무선) | 등록일자 | @@ -106,12 +106,6 @@ userCtrl.onDatasetChange = obj => { }); }; -userCtrl.onSort = sorter => { - userCtrl.renderList(); - - sorting.setHeaders(userCtrl.querySelectorAll("th[data-field]"), sorter); -}; - userCtrl.onCurrentChange = item => { if (!item) return; @@ -137,6 +131,8 @@ $(userCtrl.selector("[name='term']")).onEnterPress(userCtrl.search); $(function(){ ${onload} + tableSorter(userCtrl, "th[data-field]"); + userCtrl.setData({ userList:${userList}, ${infoPrefix}Start:${userStart},
---|