|
@@ -42,7 +42,8 @@
|
|
|
if ((${fns:jsGetVal('row.parentId')}) == pid) {
|
|
|
$(list).append(Mustache.render(tpl, {
|
|
|
dict: {
|
|
|
- display: getDictLabel(${fns:toJson(fns:getDictList('category_display'))}, row.display)
|
|
|
+ display: getDictLabel(${fns:toJson(fns:getDictList('category_display'))}, row.display),
|
|
|
+ contentType: getDictLabel(${fns:toJson(fns:getDictList('content_type'))}, row.contentType),
|
|
|
},
|
|
|
pid: (root ? 0 : pid),
|
|
|
row: row,
|
|
@@ -202,6 +203,7 @@
|
|
|
<th>分类名称</th>
|
|
|
<th>是否展示</th>
|
|
|
<th>排序</th>
|
|
|
+ <th>内容类型</th>
|
|
|
<%-- <th>创建人</th>--%>
|
|
|
<th>创建时间</th>
|
|
|
<shiro:hasPermission name="official:category:edit">
|
|
@@ -217,7 +219,7 @@
|
|
|
</td>
|
|
|
<td style="text-align: center">{{dict.display}}</td>
|
|
|
<td style="text-align: center">{{row.sort}}</td>
|
|
|
- <%-- <td>{{row.createBy.name}}</td>--%>
|
|
|
+ <td style="text-align: center">{{dict.contentType}}</td>
|
|
|
<td style="text-align: center">{{row.createDate}}</td>
|
|
|
<%--<td>禁用</td>--%>
|
|
|
<td class="op-td text-center">
|