批量删除
来源:互联网 发布:python 嵌套字典赋值 编辑:程序博客网 时间:2024/06/06 02:40
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<center>
<h3>主页面</h3>
<div>
姓名:<input type="text" placeholder="用户名" size="8" ng-model="gen"/>
年龄:<select ng-model="size">
<option>--请选择--</option>
<option>11-20</option>
<option>21-30</option>
<option>31-40</option>
<option>41-50</option>
<option>51-60</option>
</select>
<button ng-click="deleteSel()">批量删除</button><br/><br/>
</div>
<table border="1 solid blue" cellpadding="10" cellspacing="0">
<thead>
<tr>
<th><input type="checkbox" ng-model="selectAll" ng-click="selectAllFun()"/></th>
<th>id</th>
<th>姓名</th>
<th>密码</th>
<th>年龄</th>
<th>性别</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="user in users | filter:{name:gen}" ng-if="ageSize(user.age,size)">
<td><input type="checkbox" ng-click="checkSelect($index)" ng-model="user.state"/></td>
<td>{{user.id}}</td>
<td>{{user.name}}</td>
<td>{{user.pwd}}</td>
<td>{{user.age}}</td>
<td>{{user.sex}}</td>
<td><button>删除</button></td>
</tr>
</tbody>
</table>
</center>
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<center>
<h3>主页面</h3>
<div>
姓名:<input type="text" placeholder="用户名" size="8" ng-model="gen"/>
年龄:<select ng-model="size">
<option>--请选择--</option>
<option>11-20</option>
<option>21-30</option>
<option>31-40</option>
<option>41-50</option>
<option>51-60</option>
</select>
<button ng-click="deleteSel()">批量删除</button><br/><br/>
</div>
<table border="1 solid blue" cellpadding="10" cellspacing="0">
<thead>
<tr>
<th><input type="checkbox" ng-model="selectAll" ng-click="selectAllFun()"/></th>
<th>id</th>
<th>姓名</th>
<th>密码</th>
<th>年龄</th>
<th>性别</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="user in users | filter:{name:gen}" ng-if="ageSize(user.age,size)">
<td><input type="checkbox" ng-click="checkSelect($index)" ng-model="user.state"/></td>
<td>{{user.id}}</td>
<td>{{user.name}}</td>
<td>{{user.pwd}}</td>
<td>{{user.age}}</td>
<td>{{user.sex}}</td>
<td><button>删除</button></td>
</tr>
</tbody>
</table>
</center>
</body>
</html>
阅读全文
0 0
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 批量删除
- 购物车逻辑+自定义加减器
- FZU-2150 广搜
- 创建sqlite数据库
- [codevs1046]旅行家的预算
- [2016 NUIST 程序设计竞赛] D. 达朗贝尔的台阶
- 批量删除
- PullToRefreshScrollView+Fragment+轮播图+上拉下拉+json解析
- Python学习笔记(六)—Python的运算符
- 接口登陆
- oracle ORA-12543
- 输入、输出学生的信息
- 轮播图
- ios-MKMapView上添加大头针
- 如何通过分区来提高spark的性能(java代码)