<div class="collapse navbar-collapse">
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<select class="form-control" ng-model="data.search.key">
<option value="">请选择</option>
<option value="name">姓名</option>
<option value="gender">性别</option>
</select>
<input class="form-control" ng-model="data.search.val" type="text" placeholder="Searcher"/>
<button type="submit" class="btn btn-primary" ng-click="data.searchStu()">搜索</button>
</div>
</form>
</div>
<!--信息列表-->
<style>
td span{
cursor: pointer;
}
</style>
<table class="table">
<thead>
<tr>
<td>编号</td>
<td>姓名</td>
<td>性别</td>
<td>年龄</td>
<td>手机号码</td>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in data.students | filter:data.criteria">
<td><input type="checkbox" ng-model="item.checked"/></td>
<td>
{{item.name}}
<span class="badge" ng-show="item.rank=='组长'?true:false" ng-click="data.becomeMember(item.id)">
组长
</span>
</td>
<td>{{item.gender}}</td>
<td>{{item.age}}</td>
<td>{{item.telephone}}</td>
</tr>
</tbody>
</table>
<!--操作栏-->
<div style="position:fixed;bottom:120px">
<div class="btn-group">
<button class="btn btn-primary" ng-click="data.showAddModal()">添加</button>
<button class="btn btn-primary"
ng-click="data.showUpdModal()">修改</button>
<button class="btn btn-primary"
ng-click="data.delStu()">删除</button>
<button class="btn btn-primary"
ng-click="data.becomeLeader()">设为组长</button>
</div>
</div>
<!--模态框,弹窗-->
<div class="modal fade" id="stuModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">
{{data.modalTitle}}
</h4>
</div>
<form action="javascript:void(0);" ng-submit="data.option=='upd'?data.updStu():data.addStu()">
<div class="modal-body">
<div class="input-group">
<span class="input-group-addon">姓名</span>
<input type="" class="form-control" ng-model="newUser.name"
ng-readonly="data.option=='upd'?true:false">
</div>
<div class="input-group">
<span class="input-group-addon">性别</span>
<input type="" class="form-control"
ng-model="newUser.gender">
</div>
<div class="input-group">
<span class="input-group-addon">年龄</span>
<input type="" class="form-control"
ng-model="newUser.age">
</div>
<div class="input-group">
<span class="input-group-addon">手机</span>
<input type="" class="form-control"
ng-model="newUser.telephone">
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary"
type="submit">提交</button>
<button class="btn btn-primary" data-dismiss="modal">关闭</button>
</div>
</form>
</div>
</div>
</div>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
基于AngularJS的学生信息管理系统实例.zip (42个子文件)
MsgManagerSystem-master
_config.yml 26B
js
bootstrap.js 67KB
npm.js 484B
highcharts.js 149KB
bootstrap.min.js 36KB
app.js 3KB
angular-locale_zh-cn.js 2KB
highcharts-3d.js 17KB
angular-route.min.js 4KB
jquery.min.js 91KB
angular.min.js 141KB
templates
stuMan.html 4KB
essay.html 815B
category.js 472B
teaInfoMan.html 4KB
category.html 13B
stuMan.js 4KB
teaInfoMan.js 2KB
publisur.html 1KB
cms.js 1KB
.idea
.name 16B
scopes
scope_settings.xml 139B
vcs.xml 164B
workspace.xml 41KB
misc.xml 125B
modules.xml 284B
encodings.xml 164B
MsgManagerSystem.iml 281B
css
bootstrap.min.css 120KB
pagination.css 523B
index.html 2KB
images
安海龙.gif 7KB
丁长明.gif 7KB
罗程果.gif 5KB
任青松.gif 7KB
刘涛.gif 7KB
licy.jpg 86KB
json
cms.json 326B
teachers.json 444B
students.json 697B
config.json 680B
categorys.json 345B
共 42 条
- 1
资源评论
博士僧小星
- 粉丝: 1938
- 资源: 5901
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功