1
|
<%include '../../common/views/__ui/header'%>
|
1
|
<%include '../../common/views/__ui/header'%>
|
2
|
<%include '../../common/views/__partail/ListHeader'%>
|
2
|
<%include '../../common/views/__partail/ListHeader'%>
|
3
|
-<div class="contentpanel">
|
|
|
4
|
|
3
|
|
|
|
4
|
+<div class="contentpanel">
|
|
|
5
|
+ <div style="margin-bottom: 20px">
|
|
|
6
|
+ <a href="/product/class/new" class="btn btn-success"><i class="fa fa-plus"></i> 添加品类</a>
|
|
|
7
|
+ </div>
|
5
|
|
8
|
|
6
|
- <div class="row">
|
|
|
7
|
- <div class="col-md-12">
|
|
|
8
|
- <div class="panel panel-default">
|
|
|
9
|
- <div class="panel-heading noborder">
|
|
|
10
|
- <a href="/product/class/new" class="btn btn-success"><i class="glyphicon-plus"></i>添加品类</a>
|
|
|
11
|
- </div>
|
|
|
12
|
- </div>
|
|
|
13
|
- </div>
|
|
|
14
|
- <div class="col-md-12">
|
9
|
+ <div class="panel">
|
|
|
10
|
+ <div class="panel-body nopadding">
|
15
|
<div class="table-responsive">
|
11
|
<div class="table-responsive">
|
16
|
<table class="table table-bordered toggle-table">
|
12
|
<table class="table table-bordered toggle-table">
|
17
|
<thead>
|
13
|
<thead>
|
|
@@ -29,30 +25,33 @@ |
|
@@ -29,30 +25,33 @@ |
29
|
<tbody>
|
25
|
<tbody>
|
30
|
|
26
|
|
31
|
<%if data%>
|
27
|
<%if data%>
|
32
|
- <%each data as item%>
|
|
|
33
|
- <tr class="level<%item.sortLevel%> <%if item.child%>hidden<%/if%>" data-parent="<%item.parentId%>" data-val="<%item.id%>" data-status="close">
|
|
|
34
|
- <td class="toggle-td"><span class="glyphicon glyphicon-folder-close"></span></td>
|
|
|
35
|
- <td><%item.id%></td>
|
|
|
36
|
- <td><%item.sortName%></td>
|
|
|
37
|
- <td><%item.sortInitials%></td>
|
|
|
38
|
- <td><%item.sortLevel%>级分类</td>
|
|
|
39
|
- <td><%item.orderBy%></td>
|
|
|
40
|
- <td>
|
|
|
41
|
- <%if item.booleanStatus%>开启<%else%>关闭<%/if%>
|
|
|
42
|
- </td>
|
|
|
43
|
- <td data-id="<%item.id%>">
|
|
|
44
|
- <a href="/product/class/edit/<%item.id%>" class="btn btn-success btn-xs edit-class-btn">编辑</a>
|
|
|
45
|
- <a href="" class="btn btn-xs open-close-btn <%if item.booleanStatus%>btn-danger <%else%>btn-warning<%/if%>" data-status="<%item.status%>">
|
|
|
46
|
- <%if item.booleanStatus%>开启<%else%>关闭<%/if%>
|
|
|
47
|
- </a>
|
|
|
48
|
- </td>
|
|
|
49
|
- </tr>
|
|
|
50
|
- <%/each%>
|
|
|
51
|
- <%/if%>
|
28
|
+ <%each data as item%>
|
|
|
29
|
+ <tr class="level<%item.sortLevel%> <%if item.child%>hidden<%/if%>" data-parent="<%item.parentId%>"
|
|
|
30
|
+ data-val="<%item.id%>" data-status="close">
|
|
|
31
|
+ <td class="toggle-td"><span class="glyphicon glyphicon-folder-close"></span></td>
|
|
|
32
|
+ <td><%item.id%></td>
|
|
|
33
|
+ <td><%item.sortName%></td>
|
|
|
34
|
+ <td><%item.sortInitials%></td>
|
|
|
35
|
+ <td><%item.sortLevel%>级分类</td>
|
|
|
36
|
+ <td><%item.orderBy%></td>
|
|
|
37
|
+ <td><%if item.booleanStatus%>开启<%else%>关闭<%/if%></td>
|
|
|
38
|
+ <td data-id="<%item.id%>">
|
|
|
39
|
+ <a href="/product/class/edit/<%item.id%>"
|
|
|
40
|
+ class="btn btn-info btn-xs edit-class-btn">编辑</a>
|
|
|
41
|
+ <a href=""
|
|
|
42
|
+ class="btn btn-xs open-close-btn <%if item.booleanStatus%>btn-success <%else%>btn-danger<%/if%>"
|
|
|
43
|
+ data-status="<%item.status%>">
|
|
|
44
|
+ <%if item.booleanStatus%>开启<%else%>关闭<%/if%>
|
|
|
45
|
+ </a>
|
|
|
46
|
+ </td>
|
|
|
47
|
+ </tr>
|
|
|
48
|
+ <%/each%>
|
|
|
49
|
+ <%/if%>
|
52
|
</tbody>
|
50
|
</tbody>
|
53
|
</table>
|
51
|
</table>
|
54
|
</div>
|
52
|
</div>
|
55
|
</div>
|
53
|
</div>
|
56
|
</div>
|
54
|
</div>
|
57
|
</div>
|
55
|
</div>
|
|
|
56
|
+
|
58
|
<%include '../../common/views/__ui/footer'%> |
57
|
<%include '../../common/views/__ui/footer'%> |