|
@@ -141,7 +141,7 @@
|
|
|
<tr>
|
|
|
<th>ID</th>
|
|
|
<th><c:if test="${newPageFirstNavigation.type==0}">主</c:if>菜单名称</th>
|
|
|
- <th>图标</th>
|
|
|
+ <c:if test="${newPageFirstNavigation.type != 0}"><th>图标</th></c:if>
|
|
|
<th>跳转链接</th>
|
|
|
<c:if test="${newPageFirstNavigation.type==2}">
|
|
|
<th>点击量</th>
|
|
@@ -154,36 +154,37 @@
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- <c:forEach items="${page.list}" var="newPageFirstNavigation">
|
|
|
+ <c:forEach items="${page.list}" var="list">
|
|
|
<tr>
|
|
|
- <input class="check-item" type="hidden" id="preferredProductSort${newPageFirstNavigation.id}" value='${newPageFirstNavigation.id}-${newPageFirstNavigation.sort}'/>
|
|
|
+ <input class="check-item" type="hidden" id="preferredProductSort${list.id}" value='${list.id}-${list.sort}'/>
|
|
|
<td>
|
|
|
- ${newPageFirstNavigation.id}
|
|
|
+ ${list.id}
|
|
|
</td>
|
|
|
<td>
|
|
|
- ${newPageFirstNavigation.navigationName}
|
|
|
+ ${list.navigationName}
|
|
|
</td>
|
|
|
+ <c:if test="${newPageFirstNavigation.type != 0}">
|
|
|
+ <td>
|
|
|
+ <img src="${list.icon}" style="width: 50px;height: 50px;">
|
|
|
+ </td>
|
|
|
+ </c:if>
|
|
|
<td>
|
|
|
- <img src="${newPageFirstNavigation.icon}" style="width: 50px;height: 50px;">
|
|
|
- </td>
|
|
|
-
|
|
|
- <td>
|
|
|
- <a href="${newPageFirstNavigation.link}" target="_blank">${newPageFirstNavigation.link}</a>
|
|
|
+ <a href="${list.link}" target="_blank">${list.link}</a>
|
|
|
</td>
|
|
|
<c:if test="${newPageFirstNavigation.type==2}">
|
|
|
- <td>${newPageFirstNavigation.pv}</td>
|
|
|
+ <td>${list.pv}</td>
|
|
|
</c:if>
|
|
|
<td>
|
|
|
<shiro:hasPermission name="newhome:newPageFirstNavigation:edit">
|
|
|
- <c:if test="${newPageFirstNavigation.wwwEnabledStatus eq 1 }">
|
|
|
+ <c:if test="${list.wwwEnabledStatus eq 1 }">
|
|
|
<font color="green">已启用</font>
|
|
|
- <a href="javascript:void(0);" onclick="updateEnabledStatus('0','${newPageFirstNavigation.id}','WWW');" >
|
|
|
+ <a href="javascript:void(0);" onclick="updateEnabledStatus('0','${list.id}','WWW');" >
|
|
|
停用
|
|
|
</a>
|
|
|
</c:if>
|
|
|
- <c:if test="${newPageFirstNavigation.wwwEnabledStatus ne 1 }">
|
|
|
+ <c:if test="${list.wwwEnabledStatus ne 1 }">
|
|
|
<font color="red">已停用</font>
|
|
|
- <a href="javascript:void(0)" onclick="updateEnabledStatus('1','${newPageFirstNavigation.id}','WWW');">
|
|
|
+ <a href="javascript:void(0)" onclick="updateEnabledStatus('1','${list.id}','WWW');">
|
|
|
启用
|
|
|
</a>
|
|
|
</c:if>
|
|
@@ -191,33 +192,33 @@
|
|
|
</td>
|
|
|
<td>
|
|
|
<shiro:hasPermission name="newhome:newPageFirstNavigation:edit">
|
|
|
- <c:if test="${newPageFirstNavigation.crmEnabledStatus eq 1 }">
|
|
|
+ <c:if test="${list.crmEnabledStatus eq 1 }">
|
|
|
<font color="green">已启用</font>
|
|
|
- <a href="javascript:void(0);" onclick="updateCrmEnabledStatusByIds('0','${newPageFirstNavigation.id}','CRM');" >
|
|
|
+ <a href="javascript:void(0);" onclick="updateCrmEnabledStatusByIds('0','${list.id}','CRM');" >
|
|
|
停用
|
|
|
</a>
|
|
|
</c:if>
|
|
|
- <c:if test="${newPageFirstNavigation.crmEnabledStatus ne 1 }">
|
|
|
+ <c:if test="${list.crmEnabledStatus ne 1 }">
|
|
|
<font color="red">已停用</font>
|
|
|
- <a href="javascript:void(0)" onclick="updateCrmEnabledStatusByIds('1','${newPageFirstNavigation.id}','CRM');">
|
|
|
+ <a href="javascript:void(0)" onclick="updateCrmEnabledStatusByIds('1','${list.id}','CRM');">
|
|
|
启用
|
|
|
</a>
|
|
|
</c:if>
|
|
|
</shiro:hasPermission>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input id="sort" name="sort" style="width:50px;" value="${newPageFirstNavigation.sort}" onkeyup="onlynum(this)" onchange="changeSort(${newPageFirstNavigation.id},this)"></td>
|
|
|
+ <input id="sort" name="sort" style="width:50px;" value="${list.sort}" onkeyup="onlynum(this)" onchange="changeSort(${list.id},this)"></td>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <fmt:formatDate value="${newPageFirstNavigation.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
|
|
|
+ <fmt:formatDate value="${list.createDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
|
|
|
</td>
|
|
|
<shiro:hasPermission name="newhome:newPageFirstNavigation:edit"><td>
|
|
|
- <a href="${ctx}/newhome/newPageFirstNavigation/form?id=${newPageFirstNavigation.id}&type=${newPageFirstNavigation.type}">编辑</a>
|
|
|
+ <a href="${ctx}/newhome/newPageFirstNavigation/form?id=${list.id}&type=${list.type}">编辑</a>
|
|
|
<%--<c:if test="${newPageFirstNavigation.type eq 0}">
|
|
|
<a href="${ctx}/newhome/newPageSecondaryNavigation/?firstNavigationId=${newPageFirstNavigation.id}">二级分类设置</a>
|
|
|
</c:if>--%>
|
|
|
<shiro:hasPermission name="newhome:newPageFirstNavigation:delete">
|
|
|
- <a href="${ctx}/newhome/newPageFirstNavigation/delete?id=${newPageFirstNavigation.id}&type=${newPageFirstNavigation.type}" onclick="return confirmx('确定删除该菜单吗?', this.href)">删除</a>
|
|
|
+ <a href="${ctx}/newhome/newPageFirstNavigation/delete?id=${list.id}&type=${list.type}" onclick="return confirmx('确定删除该菜单吗?', this.href)">删除</a>
|
|
|
</shiro:hasPermission>
|
|
|
</td></shiro:hasPermission>
|
|
|
</tr>
|