ketayao / keta-custom Goto Github PK
View Code? Open in Web Editor NEW一个开源的、安全的、可扩展的定制化平台。
一个开源的、安全的、可扩展的定制化平台。
没开发的话出现的是页面不存在的信息和返回首页,点了返回首页就把打开的所有TAB都关闭了。 还不如就在准备好的小图片库里抽一张图片来显示并告诉用户还没写这个页面的好。
希望能把对应权限显示在对应模块的下级树上,这样授权比较直观,权限多了也不会影响 页面的排版
如果把权限和模块菜单集成到一张表中,只是用模块类型来区分,这样做起来是不是更方便点呢?我的理解是模块菜单其实也是一种权限的。放到一起做成树形结构的授权模式感觉会比较好
chrome下正常
试了一下不启用验证码,但貌似这功能没了。
编辑角色的时候,在ie8中,所有的checkbox不显示出来
不支持多字段排序
显示该用户尚未分配角色也好啊
全选的功能可以在树形结构按模块实现,不用一行一行的全选。页面多的时候费劲。
添加完的效果是,菜单需要重新登陆才出来,树结构需要刷新才出来。
@RequestMapping(method = { RequestMethod.GET, RequestMethod.HEAD }, headers = "x-requested-with=XMLHttpRequest")
public @ResponseBody
String loginDialog(HttpServletRequest request) {
return AjaxObject.newTimeout("会话超时,请重新登录。").toString();
}
@RequestMapping(value = "/timeout", method = { RequestMethod.GET })
public String timeout() {
return LOGIN_DIALOG;
}
@RequestMapping(value = "/timeout/success", method = {RequestMethod.GET})
public @ResponseBody
String timeoutSuccess(HttpServletRequest request) {
Subject subject = SecurityUtils.getSubject();
ShiroDbRealm.ShiroUser shiroUser = (ShiroDbRealm.ShiroUser)subject.getPrincipal();
// 这个是放入user还是shiroUser呢?
request.getSession().setAttribute(SecurityConstants.LOGIN_USER, shiroUser.getUser());
return AjaxObject.newOk("登录成功。").toString();
}
@RequestMapping(method = RequestMethod.POST)
public String fail(
@RequestParam(FormAuthenticationFilter.DEFAULT_USERNAME_PARAM) String username,
Map<String, Object> map, HttpServletRequest request) {
String msg = parseException(request);
map.put("msg", msg);
map.put("username", username);
return LOGIN_PAGE;
}
@RequestMapping(method = { RequestMethod.POST, RequestMethod.HEAD }, headers = "x-requested-with=XMLHttpRequest")
public @ResponseBody
String failDialog(HttpServletRequest request) {
String msg = parseException(request);
AjaxObject ajaxObject = new AjaxObject(msg);
ajaxObject.setStatusCode(AjaxObject.STATUS_CODE_FAILURE);
ajaxObject.setCallbackType("");
return ajaxObject.toString();
}
以上方法的调用机制。我在我的代码里面使用了,在登录出错了后 始终不调用以上的方法,求科普。。。
数据加载的时候,页面总是一闪一闪的,不要把加载的遮罩层搞那么大啦
右键通常都给忽略
当删除没有子节点的机构或模块时,系统提示删除成功了,但其实没删除。
能封装jdbc的dao,提供有需要的地方调用,有些地方比spring jpa 的dao方法看的更直观,望能考虑引用进来
组织管理中的ftl页面好像有三个页面硬编码了/keta-custom/
应该修改为${request.contextPath}
建议增加记录批量删除
如题,在做删除操作的时候,不能够弹出提示框供确认,而是直接删除!~
希望能在编辑机构的时候,可以选择更换上级机构,避免删除机构重新新增机构的问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.