提交 | 用户 | 时间
|
58d006
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
A |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" |
|
4 |
xmlns:c="http://java.sun.com/jsp/jstl/core" |
|
5 |
xmlns:h="http://java.sun.com/jsf/html" |
|
6 |
xmlns:f="http://java.sun.com/jsf/core" |
|
7 |
xmlns:ui="http://java.sun.com/jsf/facelets"> |
|
8 |
<ui:composition template="/template/nit/tmp_brief.xhtml"> |
|
9 |
<ui:define name="acss"> |
|
10 |
<style> |
|
11 |
#searchBtn { |
|
12 |
height: 34px; |
|
13 |
} |
|
14 |
p.error { |
|
15 |
color: #D9534F |
|
16 |
} |
|
17 |
input.error { |
|
18 |
border: 1px solid #D9534F; |
|
19 |
} |
|
20 |
#simple-table th,#simple-table td{ |
|
21 |
text-align: center; |
|
22 |
padding: 2px 8px; |
|
23 |
} |
|
24 |
.bigger-95{ |
|
25 |
font-size: 95% !important; |
|
26 |
} |
|
27 |
.btn-xs, .btn-group-xs > .btn{ |
|
28 |
padding-top: 0px; |
|
29 |
padding-bottom: 0px; |
|
30 |
} |
|
31 |
</style> |
|
32 |
</ui:define> |
|
33 |
<ui:define name="acontent"> |
|
34 |
<div class="row"> |
|
35 |
<div class="col-xs-2"> |
|
36 |
<select name="" id="" class="form-control" data-bind="value: type, options: tList, optionsText: 'key', optionsValue: 'value'"></select> |
|
37 |
</div> |
|
38 |
<div class="col-xs-5" style="margin-left: -31px"> |
|
39 |
<div class="input-group"> |
|
40 |
<input class="form-control input-mask-date" type="text" id="keyword" placeholder="输入关键字搜索" data-bind="value: keyword, valueUpdate: 'afterkeydown'" /> |
|
41 |
<span class="input-group-btn"> |
|
42 |
<button class="btn btn-sm btn-default" type="button" id="searchBtn"> |
|
43 |
<i class="ace-icon fa fa-search bigger-110"></i> |
|
44 |
搜索 |
|
45 |
</button> |
|
46 |
</span> |
|
47 |
</div> |
|
48 |
</div> |
|
49 |
<div class="col-xs-5" style="text-align: right;"> |
|
50 |
<!--<button class="btn btn-xs btn-info" id="addBtn"> |
|
51 |
<i class="ace-icon fa fa-plus bigger-120">门岗用卡</i> |
|
52 |
</button>--> |
|
53 |
</div> |
|
54 |
<div class="col-xs-12 table-responsive" style="margin-top: 8px"> |
|
55 |
<table id="simple-table" class="table table-bordered table-hover"> |
|
56 |
<thead> |
|
57 |
<tr> |
|
58 |
<th class="detail-col" style="min-width: 48px">序号</th> |
|
59 |
<th style="min-width: 220px">操作</th> |
|
60 |
<th style="min-width: 100px">卡号</th> |
|
61 |
<th style="min-width: 100px">卡类型</th> |
|
62 |
<th style="min-width: 60px">姓名</th> |
|
63 |
<th style="min-width: 85px">车牌号</th> |
|
64 |
<th style="min-width: 60px">卡状态</th> |
|
65 |
<th style="min-width: 250px">有效期</th> |
|
66 |
<th style="min-width: 130px">发放时间</th> |
|
67 |
<th style="min-width: 75px">证件类型</th> |
|
68 |
<th style="min-width: 150px">证件号码</th> |
|
69 |
<th style="min-width: 100px">联系方式</th> |
|
70 |
<th style="min-width: 200px">单位名称</th> |
|
71 |
</tr> |
|
72 |
</thead> |
|
73 |
|
|
74 |
<tbody data-bind="foreach: list"> |
|
75 |
<tr> |
|
76 |
<td class="center"> |
|
77 |
<span data-bind="text: $index() + 1"></span> |
|
78 |
</td> |
|
79 |
<td> |
|
80 |
<div class="btn-group"> |
|
81 |
<button class="btn btn-xs btn-warning" title="挂失" data-bind="click: $parent.lossRegister"> |
|
82 |
<!--<i class="ace-icon fa fa-chain-broken bigger-95"></i>--> |
|
83 |
挂失 |
|
84 |
</button> |
|
85 |
<button class="btn btn-xs btn-info" title="换卡" data-bind="click: $parent.changeCard"> |
|
86 |
<!--<i class="ace-icon fa fa-exchange bigger-95"></i>--> |
|
87 |
换卡 |
|
88 |
</button> |
|
89 |
<button class="btn btn-xs btn-info" title="回收" data-bind="click: $parent.recycle"> |
|
90 |
<!--<i class="ace-icon fa fa-recycle bigger-95"></i>--> |
|
91 |
回收 |
|
92 |
</button> |
|
93 |
<button class="btn btn-xs btn-info" title="启用" data-bind="click: $parent.useCard"> |
|
94 |
<!--<i class="ace-icon fa fa-play-circle bigger-95"></i>--> |
|
95 |
启用 |
|
96 |
</button> |
|
97 |
<button class="btn btn-xs btn-info" title="启用" data-bind="click: $parent.delayCard"> |
|
98 |
<!--<i class="ace-icon fa fa-play-circle bigger-95"></i>--> |
|
99 |
延期 |
|
100 |
</button> |
|
101 |
</div> |
|
102 |
</td> |
|
103 |
|
|
104 |
<td data-bind="text: cardno"></td> |
|
105 |
<td data-bind="text: type"></td> |
|
106 |
<td data-bind="text: name"></td> |
|
107 |
<td data-bind="text: numberplates"></td> |
|
108 |
<td data-bind="text: lost()?'挂失':'启用'"></td> |
|
109 |
<td data-bind="text: vdate"></td> |
|
110 |
<td data-bind="text: stime"></td> |
|
111 |
<td data-bind="text: ptype"></td> |
|
112 |
<td data-bind="text: paperNo"></td> |
|
113 |
<td data-bind="text: phone"></td> |
|
114 |
<td data-bind="text: vcompany"></td> |
|
115 |
|
|
116 |
</tr> |
|
117 |
</tbody> |
|
118 |
</table> |
|
119 |
<div id="pagdiv"></div> |
|
120 |
</div> |
|
121 |
</div> |
|
122 |
<div class="modal fade" id="modal"> |
|
123 |
<div class="modal-dialog"> |
|
124 |
<div class="modal-content"> |
|
125 |
<div class="modal-header"> |
|
126 |
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
|
127 |
<h4 class="modal-title">为卡号【<span data-bind="text: oldCardno()"></span>】换卡</h4> |
|
128 |
</div> |
|
129 |
<div class="modal-body"> |
|
130 |
<form class="form-horizontal" id="form"> |
|
131 |
<div class="form-body"> |
|
132 |
<div class="form-group"> |
|
133 |
<label class="col-md-3 control-label">新卡号</label> |
|
134 |
<div class="col-md-6"> |
|
135 |
<input type="text" class="form-control" name="name" placeholder="" data-bind="value: newCardno" id="changecdnewcard"/> |
|
136 |
</div> |
|
137 |
<div class="col-md-3"> |
|
138 |
<p class="form-control-static text-error"></p> |
|
139 |
</div> |
|
140 |
</div> |
|
141 |
</div> |
|
142 |
</form> |
|
143 |
</div> |
|
144 |
<div class="modal-footer"> |
|
145 |
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button> |
|
146 |
<button type="button" class="btn btn-primary" id="changcardbtn">保存</button> |
|
147 |
</div> |
|
148 |
</div> |
|
149 |
</div> |
|
150 |
</div> |
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
<div class="modal fade" id="carddelaymodal"> |
|
155 |
<div class="modal-dialog"> |
|
156 |
<div class="modal-content"> |
|
157 |
<div class="modal-header"> |
|
158 |
<button type="button" class="close" data-dismiss="modal"> |
|
159 |
<span aria-hidden="true">×</span><span class="sr-only">Close</span> |
|
160 |
</button> |
|
161 |
<h4 class="modal-title"> |
|
162 |
为卡号【<span data-bind="text: oldCardno()"></span>】 |
|
163 |
延期</h4> |
|
164 |
</div> |
|
165 |
<div class="modal-body"> |
|
166 |
<form class="form-horizontal" id="form"> |
|
167 |
<div class="form-body"> |
|
168 |
<div class="form-group"> |
|
169 |
<label class="col-md-3 control-label">截止日期</label> |
|
170 |
<div class="col-md-6"> |
|
171 |
<input type="text" class="form-control" id="newenddate" name="edate" placeholder="" onclick="WdatePicker()"/> |
|
172 |
</div> |
|
173 |
<div class="col-md-3"> |
|
174 |
<p class="form-control-static text-error"></p> |
|
175 |
</div> |
|
176 |
</div> |
|
177 |
</div> |
|
178 |
</form> |
|
179 |
</div> |
|
180 |
<div class="modal-footer"> |
|
181 |
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button> |
|
182 |
<button type="button" class="btn btn-primary" id="carddelaybtn">保存</button> |
|
183 |
</div> |
|
184 |
</div> |
|
185 |
</div> |
|
186 |
</div> |
|
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
191 |
|
|
192 |
|
|
193 |
|
|
194 |
<div class="modal fade" id="goveCardModal"> |
|
195 |
<div class="modal-dialog"> |
|
196 |
<div class="modal-content"> |
|
197 |
<div class="modal-header"> |
|
198 |
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> |
|
199 |
<h4 class="modal-title">门岗发卡</h4> |
|
200 |
</div> |
|
201 |
<div class="modal-body"> |
|
202 |
<form class="form-horizontal" id="form"> |
|
203 |
<div class="form-body"> |
|
204 |
<div class="form-group"> |
|
205 |
<label class="col-md-3 control-label">卡号</label> |
|
206 |
<div class="col-md-6"> |
|
207 |
<input type="text" class="form-control" name="name" placeholder="" data-bind="value: giveCardno"/> |
|
208 |
</div> |
|
209 |
<div class="col-md-3"> |
|
210 |
<p class="form-control-static text-error"></p> |
|
211 |
</div> |
|
212 |
</div> |
|
213 |
</div> |
|
214 |
</form> |
|
215 |
</div> |
|
216 |
<div class="modal-footer"> |
|
217 |
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button> |
|
218 |
<button type="button" class="btn btn-primary" id="giveCardBtn">保存</button> |
|
219 |
</div> |
|
220 |
</div> |
|
221 |
</div> |
|
222 |
</div> |
|
223 |
<div id="dialog-confirm" class="hide"> |
|
224 |
<div class="alert alert-info bigger-110" id="modalContent"> |
|
225 |
</div> |
|
226 |
</div> |
|
227 |
</ui:define> |
|
228 |
<ui:define name="myscript"> |
|
229 |
<script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/getdate/WdatePicker.js"></script> |
|
230 |
<script src="js/cardinuse.js"></script> |
|
231 |
</ui:define> |
|
232 |
</ui:composition> |
|
233 |
</html> |