권한관리, 기능분류 페이징 처리 수정

main
이범준 5 months ago
parent 3f48d4b8d9
commit 4ee0c9859d

@ -1,6 +1,18 @@
package cokr.xit.fims.base;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.security.access.service.ActionQuery;
@Controller
public class ActionGroupController extends cokr.xit.base.security.access.web.ActionGroupController {}
public class ActionGroupController extends cokr.xit.base.security.access.web.ActionGroupController {
@Override
public ModelAndView main() {
ModelAndView mav = getActionGroupList(new ActionQuery().setFetchAll(true));
mav.setViewName("base/actionGroup/actionGroup-main");
return mav.addObject("groupList", toJson(mav.getModel().get("groupList")));
}
}

@ -1,6 +1,18 @@
package cokr.xit.fims.base;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;
import cokr.xit.base.security.access.service.AuthorityQuery;
@Controller
public class AuthorityController extends cokr.xit.base.security.access.web.AuthorityController {}
public class AuthorityController extends cokr.xit.base.security.access.web.AuthorityController {
@Override
public ModelAndView main() {
ModelAndView mav = getAuthorityList(new AuthorityQuery().setFetchAll(true));
mav.setViewName("base/authority/authority-main");
return mav.addObject("authorityList", toJson(mav.getModel().remove("authorityList")));
}
}

@ -108,6 +108,7 @@ function searchaction${infoPrefix}s() {
by:$("#by").val(),
term:$("#term").val()
};
action${infoPrefix}Control.groups.query.fetchAll = true;
action${infoPrefix}Control.groups.load(1);
}

@ -93,6 +93,7 @@ function search${infoPrefix}s() {
by:$("#by").val(),
term:$("#term").val()
};
${infoPrefix}Control.authorities.query.fetchAll = true;
${infoPrefix}Control.authorities.load(1);
}

Loading…
Cancel
Save