|
@@ -60,23 +60,33 @@
|
|
|
</c:forEach>
|
|
|
</select>
|
|
|
</span>
|
|
|
- <span class="select-box inline">
|
|
|
+ <span class="select-box inline">
|
|
|
<select name="status" class="select">
|
|
|
<option value="">认证状态</option>
|
|
|
-
|
|
|
- <option value="0">未认证</option>
|
|
|
+ <option value="0">未认证</option>
|
|
|
<option value="1">已认证</option>
|
|
|
</select>
|
|
|
</span>
|
|
|
+
|
|
|
<span class="select-box inline">
|
|
|
+ <select name="paramTypeStr" id="paramTypeStr" class="select">
|
|
|
+ <option value="">经营类别</option>
|
|
|
+ <option value="1,维修保养" <c:if test="${paramTypeStr =='1,维修保养'}">selected="selected"</c:if>>维修保养</option>
|
|
|
+ <option value="1,美容洗车"<c:if test="${paramTypeStr =='1,美容洗车'}">selected="selected"</c:if>>美容洗车</option>
|
|
|
+ <option value="1,电子与改装" <c:if test="${paramTypeStr =='1,电子与改装'}">selected="selected"</c:if>>电子与改装</option>
|
|
|
+ <option value="2" <c:if test="${paramTypeStr =='2'}">selected="selected"</c:if>>商用车专修</option>
|
|
|
+ <option value="3" <c:if test="${paramTypeStr =='3'}">selected="selected"</c:if>>4S店</option>
|
|
|
+ </select>
|
|
|
+ </span>
|
|
|
+ <%-- <span class="select-box inline">
|
|
|
<select name="isUse" class="select">
|
|
|
<option value="">店铺状态</option>
|
|
|
|
|
|
<option value="0">未认领</option>
|
|
|
<option value="1">已认领</option>
|
|
|
</select>
|
|
|
- </span>
|
|
|
- <button class="btn btn-success" type="submit"><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
+ </span>--%>
|
|
|
+ <button class="btn btn-success" onclick="searchClick()" type="submit"><i class="Hui-iconfont"></i> 搜索</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
<%-- <form action="providerExport.html" method="post" enctype="multipart/form-data">--%>
|
|
@@ -92,7 +102,14 @@
|
|
|
<a class="btn btn-danger radius" href="javascript:;" id="delete"><i class="Hui-iconfont"></i>录入信息删除</a>
|
|
|
<i> </i>
|
|
|
<a class="btn btn-primary radius" href="providerDownShelfList.html"> 下架管理</a>
|
|
|
- <span class="r">共有数据:<strong>${pageInfo.total}</strong> 条</span>
|
|
|
+
|
|
|
+ <span class="r" id="total" hidden="hidden">共有:<strong>${pageInfo.total}</strong>个商家</span>
|
|
|
+ <span class="r" id="WXBY" hidden="hidden">维修保养有:<strong>${pageInfo.total}</strong> 个商家</span>
|
|
|
+ <span class="r" id="MRXC" hidden="hidden">美容洗车有:<strong>${pageInfo.total}</strong> 个商家</span>
|
|
|
+ <span class="r" id="DZGZ" hidden="hidden">电子与改装有:<strong>${pageInfo.total}</strong> 个商家</span>
|
|
|
+ <span class="r" id="SYC" hidden="hidden">商用车专修有:<strong>${pageInfo.total}</strong> 个商家</span>
|
|
|
+ <span class="r" id="4S" hidden="hidden">4S店有:<strong>${pageInfo.total}</strong> 个商家</span>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<div class="mt-20">
|
|
@@ -214,28 +231,28 @@
|
|
|
<option value="100"<c:if test="${pageInfo.pageSize == '100'}">selected="selected"</c:if>>100</option>
|
|
|
</select>
|
|
|
<li>
|
|
|
- <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageNum=1&pageSize=${pageInfo.pageSize}">首页</a>
|
|
|
+ <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageNum=1&pageSize=${pageInfo.pageSize}">首页</a>
|
|
|
</li>
|
|
|
<li class="prev"><a
|
|
|
- href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageNum=${pageInfo.prePage}&pageSize=${pageInfo.pageSize}">上一页</a>
|
|
|
+ href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageNum=${pageInfo.prePage}&pageSize=${pageInfo.pageSize}">上一页</a>
|
|
|
</li>
|
|
|
<c:forEach items="${pageInfo.navigatepageNums}" var="nav">
|
|
|
<c:if test="${nav == pageInfo.pageNum}">
|
|
|
<li>
|
|
|
- <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageNum=${nav}&pageSize=${pageInfo.pageSize}"
|
|
|
+ <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageNum=${nav}&pageSize=${pageInfo.pageSize}"
|
|
|
class="active">${nav}</a></li>
|
|
|
</c:if>
|
|
|
<c:if test="${nav != pageInfo.pageNum}">
|
|
|
<li>
|
|
|
- <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageNum=${nav}&pageSize=${pageInfo.pageSize}">${nav}</a>
|
|
|
+ <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageNum=${nav}&pageSize=${pageInfo.pageSize}">${nav}</a>
|
|
|
</li>
|
|
|
</c:if>
|
|
|
</c:forEach>
|
|
|
<li class="next"><a
|
|
|
- href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageNum=${pageInfo.nextPage}&pageSize=${pageInfo.pageSize}">下一页</a>
|
|
|
+ href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageNum=${pageInfo.nextPage}&pageSize=${pageInfo.pageSize}">下一页</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageNum=${pageInfo.pages }&pageSize=${pageInfo.pageSize}">末页</a>
|
|
|
+ <a href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&isImport=${isImport}&company=${company}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageNum=${pageInfo.pages }&pageSize=${pageInfo.pageSize}">末页</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
@@ -245,6 +262,41 @@
|
|
|
</div>
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
+ /*数据总条数显示*/
|
|
|
+ var paramTypeVal = $("#paramTypeStr").val();
|
|
|
+
|
|
|
+ function searchClick() {
|
|
|
+ if (paramTypeVal == ""){
|
|
|
+ $("#total").show();
|
|
|
+ }else if (paramTypeVal=="1,维修保养"){
|
|
|
+ $("#WXBY").show();
|
|
|
+ }else if(paramTypeVal=="1,美容洗车"){
|
|
|
+ $("#MRXC").show();
|
|
|
+ }else if (paramTypeVal=="1,电子与改装"){
|
|
|
+ $("#DZGZ").show();
|
|
|
+ } else if (paramTypeVal=="2"){
|
|
|
+ $("#SYC").show();
|
|
|
+ }else if(paramTypeVal == "3"){
|
|
|
+ $("#4S").show();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ $(function () {
|
|
|
+ if (paramTypeVal == ""){
|
|
|
+ $("#total").show();
|
|
|
+ }else if (paramTypeVal=="1,维修保养"){
|
|
|
+ $("#WXBY").show();
|
|
|
+ }else if(paramTypeVal=="1,美容洗车"){
|
|
|
+ $("#MRXC").show();
|
|
|
+ }else if (paramTypeVal=="1,电子与改装"){
|
|
|
+ $("#DZGZ").show();
|
|
|
+ } else if (paramTypeVal=="2"){
|
|
|
+ $("#SYC").show();
|
|
|
+ }else if(paramTypeVal == "3"){
|
|
|
+ $("#4S").show();
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
/*切换经销商点击事件*/
|
|
|
function roleChange(idVal) {
|
|
|
var idVal = idVal;
|
|
@@ -313,7 +365,7 @@
|
|
|
}
|
|
|
<%--每页条数选择--%>
|
|
|
function pageSizeChoose(pageSizeVal){
|
|
|
- location.href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&brandId=${brandId}&status=${status}&isUse=${isUse}&pageSize="+pageSizeVal;
|
|
|
+ location.href="providerList.html?province=${province1}&city=${city}&district=${district}&name=${name}&brandId=${brandId}&status=${status}&isUse=${isUse}¶mTypeStr=${paramTypeStr}&pageSize="+pageSizeVal;
|
|
|
}
|
|
|
|
|
|
//全选与反选
|