|
@@ -33,7 +33,7 @@
|
|
|
} else {
|
|
|
$.jBox.tip(data.msg,'error');
|
|
|
}
|
|
|
- $("#searchForm").submit();
|
|
|
+ g();
|
|
|
},"JSON");//这里返回的类型有:json,html,xml,text
|
|
|
}
|
|
|
return;
|
|
@@ -54,7 +54,7 @@
|
|
|
} else {
|
|
|
$.jBox.tip(data.msg,'error');
|
|
|
}
|
|
|
- $("#searchForm").submit();
|
|
|
+ g();
|
|
|
},"JSON");//这里返回的类型有:json,html,xml,text
|
|
|
}
|
|
|
return;
|
|
@@ -115,11 +115,11 @@
|
|
|
<li class=${newPageFirstNavigation.type==0?"active":""}><a href="${ctx}/newhome/newPageFirstNavigation?type=0">主菜单列表</a></li>
|
|
|
<li class=${newPageFirstNavigation.type==2?"active":""}><a href="${ctx}/newhome/newPageFirstNavigation?type=2">快捷运营菜单</a></li>
|
|
|
</ul>
|
|
|
-<form:form id="searchForm" modelAttribute="newPageFirstNavigation" action="${ctx}/newhome/newPageFirstNavigation/" method="post" class="breadcrumb form-search">
|
|
|
+<form:form id="searchForm" modelAttribute="newPageFirstNavigation" action="${ctx}/newhome/newPageFirstNavigation?type${newPageFirstNavigation.type}" method="get" class="breadcrumb form-search">
|
|
|
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
|
|
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
|
|
<input class="btn btn-primary" style="width:80px" onclick="batchSaveSort()" value="一键排序"/>
|
|
|
- <input class="btn btn-primary" style="width:80px" onclick="window.location='${ctx}/newhome/newPageFirstNavigation/form?type=${newPageFirstNavigation.type}'" value="添加主菜单"/>
|
|
|
+ <input class="btn btn-primary" style="width:${newPageFirstNavigation.type==0?80:120}px" onclick="window.location='${ctx}/newhome/newPageFirstNavigation/form?type=${newPageFirstNavigation.type}'" value="添加${newPageFirstNavigation.type==0?"主":"快捷运营"}菜单"/>
|
|
|
<input class="btn btn-primary" style="width:100px" onclick="updateStaticHome()" value="生成静态首页"/>
|
|
|
<div style="margin-top: 10px">
|
|
|
<label><font color="#a9a9a9">注:排序值越小越靠前</font></label>
|
|
@@ -130,7 +130,7 @@
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>ID</th>
|
|
|
- <th>主菜单名称</th>
|
|
|
+ <th><c:if test="${newPageFirstNavigation.type==0}">主</c:if>菜单名称</th>
|
|
|
<th>图标</th>
|
|
|
<th>跳转链接</th>
|
|
|
<th>网站状态</th>
|
|
@@ -200,7 +200,7 @@
|
|
|
<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}" onclick="return confirmx('确定删除该菜单吗?', this.href)">删除</a>
|
|
|
+ <a href="${ctx}/newhome/newPageFirstNavigation/delete?id=${newPageFirstNavigation.id}&type=${newPageFirstNavigation.type}" onclick="return confirmx('确定删除该菜单吗?', this.href)">删除</a>
|
|
|
</shiro:hasPermission>
|
|
|
</td></shiro:hasPermission>
|
|
|
</tr>
|