|
|
@@ -6,17 +6,17 @@
|
|
|
<div class="form-group">
|
|
|
<label for="exampleInputAccount1" class="col-sm-1">关键词</label>
|
|
|
<div class="col-sm-2">
|
|
|
- <input class="form-control form-focus" autofocus type="text" placeholder="请输入关键词">
|
|
|
+ <input class="form-control form-focus" autofocus type="text" placeholder="请输入关键词" id="select_name">
|
|
|
</div>
|
|
|
|
|
|
<div class="col-xs-3">
|
|
|
<div class="input-group">
|
|
|
- <button class="btn btn-primary " type="button">查询</button>
|
|
|
+ <button class="btn btn-primary " type="button" id="conditional_query">查询</button>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
|
|
|
<div style="float:right;margin-right:30px;">
|
|
|
- <button class="btn btn-primary" type="button" data-toggle="modal" data-target="#myModal"><i class="icon icon-plus-sign"></i> 增加班组</button>
|
|
|
+ <button class="btn btn-primary" type="button" id="addTeam"><i class="icon icon-plus-sign"></i> 增加班组</button>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
@@ -27,48 +27,54 @@
|
|
|
<!-- 使用一个div来显示数据表格 -->
|
|
|
<div class="datatable" data-checkable="true" data-sortable="true"></div>
|
|
|
</div>
|
|
|
- <div class="row" style="text-align:center">
|
|
|
- <ul class="pager center-block">
|
|
|
- <li class="previous"><a href="#">« 上一页</a></li>
|
|
|
- <li><a href="#">1</a></li>
|
|
|
- <li class="active"><a href="#">2</a></li>
|
|
|
- <li><a href="#">3</a></li>
|
|
|
- <li><a href="#">4</a></li>
|
|
|
- <li><a href="#">5</a></li>
|
|
|
- <li class="next"><a href="#">下一页 »</a></li>
|
|
|
- </ul>
|
|
|
- </div>
|
|
|
+
|
|
|
|
|
|
</div>
|
|
|
<!-- end -->
|
|
|
-
|
|
|
-
|
|
|
-<script type="text/javascript">
|
|
|
- $(document).ready(function() {
|
|
|
-
|
|
|
- // 使用data参数更新数据:
|
|
|
- $('.datatable').datatable( {
|
|
|
- checkable:false,
|
|
|
- sortable:false,
|
|
|
- data: {
|
|
|
- cols: [
|
|
|
- {width: 30, text: '序号', type: 'number', flex: false, colClass: 'text-center'},
|
|
|
- {width: 160, text: '班组名称', type: 'date', flex: false, sort: 'down'},
|
|
|
- {width: 80, text: '所属人员分类', type: 'string', flex: true, colClass: ''},
|
|
|
- {width: 80, text: '班长', type: 'date', flex: false, sort: 'down'},
|
|
|
- {width: 80, text: '副班长', type: 'string', flex: true, colClass: ''},
|
|
|
- {width: 80, text: '人员', type: 'date', flex: false, sort: 'down'},
|
|
|
- {width: 80, text: '操作', type: 'string', flex: true, colClass: ''},
|
|
|
- ],
|
|
|
- rows: [
|
|
|
- {checked: false, data: [1, '收费一组','稽查人员','李明','李铭','王佳佳、李伟、李浩','<a href="#"><i class="icon icon-edit"></i> 修改</a> <a href="#"><i class="icon icon-remove-circle"></i> 删除</a>']},
|
|
|
- {checked: false, data: [1, '收费一组','稽查人员','李明','李铭','王佳佳、李伟、李浩','<a href="#"><i class="icon icon-edit"></i> 修改</a> <a href="#"><i class="icon icon-remove-circle"></i> 删除</a>']},
|
|
|
- {checked: false, data: [1, '收费一组','稽查人员','李明','李铭','王佳佳、李伟、李浩','<a href="#"><i class="icon icon-edit"></i> 修改</a> <a href="#"><i class="icon icon-remove-circle"></i> 删除</a>']},
|
|
|
- {checked: false, data: [1, '收费一组','稽查人员','李明','李铭','王佳佳、李伟、李浩','<a href="#"><i class="icon icon-edit"></i> 修改</a> <a href="#"><i class="icon icon-remove-circle"></i> 删除</a>']},
|
|
|
- {checked: false, data: [1, '收费一组','稽查人员','李明','李铭','王佳佳、李伟、李浩','<a href="#"><i class="icon icon-edit"></i> 修改</a> <a href="#"><i class="icon icon-remove-circle"></i> 删除</a>']},
|
|
|
- {checked: false, data: [1, '收费一组','稽查人员','李明','李铭','王佳佳、李伟、李浩','<a href="#"><i class="icon icon-edit"></i> 修改</a> <a href="#"><i class="icon icon-remove-circle"></i> 删除</a>']},
|
|
|
- ]
|
|
|
- }
|
|
|
- });
|
|
|
- })
|
|
|
-</script>
|
|
|
+<div style="display:none;" id="form-div">
|
|
|
+ <div class="layer-content" style="width:100%;height:100%;">
|
|
|
+ <div style="width:350px;overflow:hidden;zoom:1;margin:auto;">
|
|
|
+ <div style="width:100%;margin-top:20px;overflow:hidden;zoom:1;">
|
|
|
+ <div style="width:80px;float:left;">
|
|
|
+ <span style="line-height:32px;">班组名称</span>
|
|
|
+ </div>
|
|
|
+ <div style="width:270px;float:left;">
|
|
|
+ <input class="form-control" id="team_name">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="width:100%;margin-top:10px;overflow:hidden;zoom:1;">
|
|
|
+ <div style="width:80px;float:left;">
|
|
|
+ <span style="line-height:32px;">班长</span>
|
|
|
+ </div>
|
|
|
+ <div style="width:270px;float:left;">
|
|
|
+ <select class="form-control" style="width:110px;" id="monitor">
|
|
|
+
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="width:100%;margin-top:10px;overflow:hidden;zoom:1;">
|
|
|
+ <div style="width:80px;float:left;">
|
|
|
+ <span style="line-height:32px;">副班长</span>
|
|
|
+ </div>
|
|
|
+ <div style="width:270px;float:left;">
|
|
|
+ <select class="form-control" style="width:110px;" id="second-monitor">
|
|
|
+
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="width:100%;margin-top:10px;overflow:hidden;zoom:1;">
|
|
|
+ <div style="width:80px;float:left;">
|
|
|
+ <span style="line-height:32px;">人员</span>
|
|
|
+ </div>
|
|
|
+ <div id="member" style="width:270px;float:left;overflow:hidden;zoom:1;border:1px solid #ccc;border-radius:3px;padding:8px;min-height:50px;">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="operation" style="width:100%;overflow:hidden;zoom:1;border-top:1px solid #ddd;margin-top:20px;padding:10px 10px 10px 10px;">
|
|
|
+ <button class="btn btn-primary" type="button" style="float:right;" id="save-team"> 保存</button>
|
|
|
+ <button class="btn btn-primary" type="button" style="float:right;background-color:#fff;color:#333;margin-right:20px;" id="close-layer"> 关闭</button>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<script src="/js/term_management/charge_terms_m.js?_inline"></script>
|