-
Notifications
You must be signed in to change notification settings - Fork 3
/
table-edit-lookup.html
executable file
·117 lines (117 loc) · 5.87 KB
/
table-edit-lookup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<div class="bjui-pageHeader">
<form id="pagerForm" data-toggle="ajaxsearch" action="table-edit-lookup.html" method="post">
<input type="hidden" name="pageCurrent" value="1">
<input type="hidden" name="pageSize" value="${model.pageSize}">
<input type="hidden" name="orderField" value="${param.orderField}">
<div class="bjui-searchBar">
<label>名称:</label><input type="text" value="" name="code" size="10">
<button type="submit" class="btn-default" data-icon="search">查询</button>
<a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true" data-icon="undo">清空查询</a></li>
<div class="pull-right">
<button type="button" class="btn-blue" data-toggle="lookupback" data-lookupid="ids" data-warn="请至少选择一项职业" data-icon="check-square-o">选择选中</button>
</div>
</div>
</form>
</div>
<div class="bjui-pageContent">
<table data-toggle="tablefixed" data-width="100%">
<thead>
<tr>
<th data-order-field="id">No.</th>
<th data-order-field="name">名称</th>
<th data-order-field="note">描述</th>
<th class="orderby" data-order-direction="asc" data-order-field="date">创建日期</th>
<th width="28"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
<th width="74">操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>自由职业</td>
<td>Free Man</td>
<td>2010-01-01</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'1', profession:'自由职业'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'1', profession:'自由职业'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
<tr>
<td>2</td>
<td>工程师</td>
<td>干大事的</td>
<td>2010-01-02</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'2', profession:'工程师'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'2', profession:'工程师'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
<tr>
<td>3</td>
<td>教师</td>
<td>传道授业解惑</td>
<td>2010-01-03</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'3', profession:'教师'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'3', profession:'教师'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
<tr>
<td>4</td>
<td>医生</td>
<td>救死扶伤</td>
<td>2010-01-04</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'4', profession:'医生'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'4', profession:'医生'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
<tr>
<td>5</td>
<td>程序猿</td>
<td>码农</td>
<td>2010-01-05</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'5', profession:'程序猿'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'5', profession:'程序猿'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
<tr>
<td>6</td>
<td>当官的</td>
<td>吃人不吐骨头</td>
<td>2010-01-06</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'6', profession:'当官的'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'6', profession:'当官的'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
<tr>
<td>7</td>
<td>路人甲</td>
<td>打酱油路过</td>
<td>2010-01-07</td>
<td><input type="checkbox" name="ids" data-toggle="icheck" value="{pid:'7', profession:'路人甲'}"></td>
<td>
<a href="javascript:;" data-toggle="lookupback" data-args="{pid:'7', profession:'路人甲'}" class="btn btn-blue" title="选择本项" data-icon="check">选择</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="bjui-pageFooter">
<div class="pages">
<span>每页 </span>
<div class="selectPagesize">
<select data-toggle="selectpicker" data-toggle-change="changepagesize">
<option value="30">30</option>
<option value="60">60</option>
<option value="120">120</option>
<option value="150">150</option>
</select>
</div>
<span> 条,共 7 条</span>
</div>
<div class="pagination-box" data-toggle="pagination" data-total="7" data-page-size="30" data-page-current="1">
</div>
</div>