hjg
2024-01-20 4a3404efc438b16044fd9170814e6545a3f86fae
提交 | 用户 | 时间
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         <link rel="stylesheet" href="/template/assets/css/font-awesome.min.css" />
11         <style>
12         #searchBtn {
13             height: 34px;
14         }
15         p.error {
16             color: #D9534F
17         }
18         input.error {
19             border: 1px solid #D9534F;
20         }
21         #searchBox {
22             display: none;
23         }
24         #sDate, #eDate{
25             width: 45%;
26             float: left
27         }
28         .date-line {
29             width: 10%;
30             float: left;
31             line-height: 34px;
32             text-align: center
33         }
34         .twitter-typeahead {
35             width: 100%
36         }
37         .bluee{
38             color: #337ab7 !important;
39             padding-left: 10px;
40             font-weight: normal;
41         }
42         .list-unstyled span {
43             display: inline-block;
44             width: 120px;
45             text-align: right;
46         }
47         .blue {
48             color: #fff !important;
49         }
50         #simple-table th,#simple-table td{
51             text-align: center;
52             padding: 2px 8px;
53         }
54         </style>
55     </ui:define>
56     <ui:define name="acontent">
57         <input type="hidden" value="#{param.cardno}" id="cardno" />
58         <div class="row">
59             <div class="col-xs-5">
60                 <div class="input-group">
61                     <input class="form-control input-mask-date" type="text" value="#{param.cardno}" id="keyword" placeholder="输入卡号搜索" data-bind="value: keyword, valueUpdate: 'afterkeydown'" />
62                     <span class="input-group-btn">
63                         <button class="btn btn-sm btn-default searchBtn" type="button" id="searchBtn">
64                             <i class="ace-icon fa fa-search bigger-110"></i>
65                             搜索
66                         </button>
67                     </span>
68                 </div>
69             </div>
70             <div class="col-xs-2" style="line-height: 35px;">
71                 <a href="javascript:;" id="moreSearchCondition">更多筛选条件<i class="fa fa-chevron-down"></i></a>
72             </div>
73             <div class="col-xs-5" style="text-align: right; height: 35px;">
74                 <!--<button class="btn btn-sm btn-info" type="button" id="newObj">
75                     <i class="ace-icon fa fa-plus bigger-110"></i>
76                     新射频卡
77                 </button>-->
78             </div>
79             <div class="col-xs-5" style="margin-top: 8px;margin-bottom: -15px;" id="searchBox">
80                 <form class="form-horizontal">
81                     <div class="form-body">
82                         <div class="form-group">
83                             <label class="col-md-3 control-label">发卡日期</label>
84                             <div class="col-md-9">
85                                 <input type="text" class="form-control" id="sDate" placeholder="起始日期"  onClick="WdatePicker()"/>
86                                 <span class="date-line">—</span>
87                                 <input type="text" class="form-control" id="eDate" placeholder="截止日期"  onClick="WdatePicker()"/>
88                             </div>
89                         </div>
90                         <div class="form-group">
91                             <div class="col-md-9 col-md-offset-3">
92                                 <button class="btn btn-sm btn-info searchBtn" type="button" style="width: 100px">
93                                     搜索
94                                 </button>
95                             </div>
96                         </div>
97                     </div>
98                 </form>
99             </div>
100             <div class="col-xs-12" style="margin-top: 8px;">
101                 <table id="simple-table" class="table  table-bordered table-hover">
102                     <thead>
103                         <tr>
104                             <th class="detail-col">序号</th>
105                             <th>卡号</th>
106                             <th>卡类型</th>
107                             <th>发卡人</th>
108                             <th>发卡时间</th>
109                             <th>持卡人</th>
110                             <th>证件类型</th>
111                             <th>证件号</th>
112                             <th>有效期</th>
113                             <th>详情</th>
114                         </tr>
115                     </thead>
116
117                     <tbody data-bind="foreach: list">
118                         <tr>
119                             <td class="center">
120                                 <span data-bind="text: $index() + 1"></span>
121                             </td>
122
123                             <td data-bind="text: cardno"></td>
124                             <td data-bind="text: type"></td>
125                             <td data-bind="text: fkname"></td>
126                             <td data-bind="text: stime"></td>
127                             <td data-bind="text: name"></td>
128                             <td data-bind="text: ptype"></td>
129                             <td data-bind="text: paperno"></td>
130                             <td data-bind="text: sdate + '--' + edate"></td>
131                             <td>
132                                 <div class="btn-group">
133                                     <button class="btn btn-xs btn-success" title="详情" data-bind="click: $parent.details">
134                                         <!--<i class="ace-icon fa fa-bars bigger-95"></i>-->
135                                         查看
136                                     </button>
137                                 </div>
138                             </td>
139                         </tr>
140                     </tbody>
141                 </table>
142                 <div id="pagdiv"></div>
143             </div>
144         </div>
145         <div class="modal fade" id="modal">
146             <div class="modal-dialog">
147                 <div class="modal-content">
148                     <!--<div class="modal-header">
149                         <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
150                         <h4 class="modal-title">使用详情</h4>
151                     </div>-->
152                     <div class="modal-body" >
153                         <div class="row">
154                             <div class="col-sm-2"></div>
155                             <div class="col-sm-8">
156                                 <div class="row">
157                                     <div class="col-xs-11 label label-lg label-info arrowed-in arrowed-right">
158                                         <b>详细信息</b>
159                                     </div>
160                                 </div>
161
162                                 <div class="row"  style="padding: 0px 20px;">
163                                     <ul class="list-unstyled spaced">
164                                         <li>
165                                             <i class="icon-caret-right blue"></i>
166                                             <span>卡号:</span>
167                                             <b class="bluee" data-bind="text: o().cardno"></b>
168                                         </li>
169                                         <li>
170                                             <i class="icon-caret-right blue"></i>
171                                             <span>卡类型:</span>
172                                             <b class="bluee" data-bind="text: o().type"></b>
173                                         </li>
174                                         <li>
175                                             <i class="icon-caret-right blue"></i>
176                                             <span>发卡人:</span>
177                                             <b class="bluee" data-bind="text: o().fkname"></b>
178                                         </li>
179                                         <li>
180                                             <i class="icon-caret-right blue"></i>
181                                             <span>发卡时间:</span>
182                                             <b class="bluee" data-bind="text: o().stime"></b>
183                                         </li>
184                                         <li>
185                                             <i class="icon-caret-right blue"></i>
186                                             <span>持卡人:</span>
187                                             <b class="bluee" data-bind="text: o().name"></b>
188                                         </li>
189                                         <li>
190                                             <i class="icon-caret-right blue"></i>
191                                             <span>证件类型:</span>
192                                             <b class="bluee" data-bind="text: o().ptype"></b>
193                                         </li>
194                                         <li>
195                                             <i class="icon-caret-right blue"></i>
196                                             <span>证件号码:</span>
197                                             <b class="bluee" data-bind="text: o().paperNo"></b>
198                                         </li>
199                                         <li>
200                                             <i class="icon-caret-right blue"></i>
201                                             <span>手机号:</span>
202                                             <b class="bluee" data-bind="text: o().phone"></b>
203                                         </li>
204                                         <li>
205                                             <i class="icon-caret-right blue"></i>
206                                             <span>车牌号:</span>
207                                             <b class="bluee" data-bind="text: o().numberplates"></b>
208                                         </li>
209                                         <li>
210                                             <i class="icon-caret-right blue"></i>
211                                             <span>单位:</span>
212                                             <b class="bluee" data-bind="text: o().vcompany"></b>
213                                         </li>
214                                         <li>
215                                             <i class="icon-caret-right blue"></i>
216                                             <span>退回证件:</span>
217                                             <b class="bluee" data-bind="text: o().isreturn() ? '是' : '否'"></b>
218                                         </li>
219                                         <li>
220                                             <i class="icon-caret-right blue"></i>
221                                             <span>厂内白名单:</span>
222                                             <b class="bluee" data-bind="text: o().iswhite() ? '是' : '否'"></b>
223                                         </li>
224                                         <li>
225                                             <i class="icon-caret-right blue"></i>
226                                             <span>在厂内:</span>
227                                             <b class="bluee" data-bind="text: o().position() ? '是' : '否'"></b>
228                                         </li>
229                                         <li>
230                                             <i class="icon-caret-right blue"></i>
231                                             <span>厂名称:</span>
232                                             <b class="bluee" data-bind="text: o().departname"></b>
233                                         </li>
234                                         <li>
235                                             <i class="icon-caret-right blue"></i>
236                                             <span>有效期:</span>
237                                             <b class="bluee" data-bind="text: o().sdate() + '--' + o().edate()"></b>
238                                         </li>
239                                     </ul>
240                                 </div>
241                             </div><!-- /span -->
242                             <div class="col-sm-2"></div>
243                         </div>
244                     </div>
245                 </div>
246             </div>
247         </div>
248         <div id="dialog-confirm" class="hide">
249             <div class="alert alert-info bigger-110" id="modalContent">
250             </div>
251         </div>
252     </ui:define>
253     <ui:define name="myscript">
254         <script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/getdate/WdatePicker.js"></script>
255         <script src="js/cardUseLog.js"></script>
256     </ui:define>
257 </ui:composition>
258 </html>