DepartmentIndex.html
2.22 KB
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
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body" style="padding-bottom: 0">
<a id="add-btn" href="javascript:;" class="btn btn-success"><i class="fa fa-plus"></i> 创建</a>
</div>
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="number" id="sel-departmentId" class="form-control" placeholder="请输入部门ID" style="height: 39px;"/>
</div>
<div class="panel-col" id="departments"></div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="basicTable">
</div>
<nav>
<ul id="pagination" class="pagination pagination-lg"></ul>
</nav>
</div>
</div>
</div>
<script type="text/template" id="template">
<input type="hidden" name="department" value="[[department]]" id="department" class="form-control observe" data-field="department">
<div class="form-group">
<label class="col-sm-2 control-label">部门名称<span style="color: red;"> *</span></label>
<div class="col-sm-10">
<input type="text" id="departmentName" value="[[departmentName]]" class="form-control observe" placeholder="部门名称" required="required" data-field="departmentName" >
</div>
</div>
</script>
<script type="text/template" id="search-department">
<select id="choose-department" title="" class=" select2-offscreen form-control">
<option value="-1">申请部门</option>
[[each data as item index]]
<option value="[[item.department]]">[[item.departmentName]]</option>
[[/each]]
</select>
</script>
<%include '../../common/__ui/footer'%>