Skip to content

Commit

Permalink
考勤系统基本完成
Browse files Browse the repository at this point in the history
  • Loading branch information
hgz6536 committed Jun 28, 2016
1 parent c65c509 commit c418337
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
## 当前功能 ##

用户权限管理已经完成,released v1.0

考勤管理已经完成,released v1.0.1
## 结果展示 ##
###编辑用户###
![](https://github.com/hgz6536/hgz6536.github.io/blob/master/images/EditPermission.png)
###当用户访问/user/add时就会出现以下界面###
![](https://github.com/hgz6536/hgz6536.github.io/blob/master/images/DenyUrl.png)
###实现了组【部门或者角色】的权限管理###
不展示图片了,和上面的用户类似的页面,当用户没有/user/add 权限时,如果其所在的组有这个url的权限也是可以访问的,用户权限只是让权限粒度更小,从而更灵活.
###xlsx 文件上传###
![](https://github.com/hgz6536/hgz6536.github.io/blob/master/images/xlsx_upload.png)
###考勤列表###
![](https://github.com/hgz6536/hgz6536.github.io/blob/master/images/kaoqin_list.png)
2 changes: 1 addition & 1 deletion templates/attend/data.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<input type="checkbox" value="" name="id[]">
</td>
<td>{{ foo.id }}</td>
<td>{{ foo.fullname_id }}</td>
<td>{{ foo.fullname.fullname }}</td>
<td>{{ foo.date }}</td>
<td>{{ foo.on }}</td>
<td>{{ foo.off }}</td>
Expand Down

0 comments on commit c418337

Please sign in to comment.