<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
<script type="text/javascript" src="${common_static}/static/wechat/style/js/project.js"></script>
|
|
</head>
|
|
<body>
|
<header class="kltit">
|
<label class="check taskoption" id="search"></label>
|
<a href="javascript:history.go(-1);"><span></span></a>配置查询
|
</header>
|
<div>
|
<div class="tasksearchdate">
|
<h2><a href="#" class="taskclose">关闭</a>${Constants.CUSTOMER_CONSTANTS}列表</h2>
|
<div class="tasksearchcon">
|
[#if customerList?? && customerList?size>0]
|
[#list customerList as customer]
|
<section class="kltype tasksearchlist2">
|
<div class="projectname">
|
<a href="#" ><p id="${customer.id}" class="pro">
|
<em></em>${customer.name}
|
</p></a>
|
</div>
|
</section>
|
[/#list]
|
[/#if]
|
</div>
|
<button type="button" class="tasksearchbtn taskclose" onclick="javascript:query();">确定</button>
|
</div>
|
<div class="el_popmask"></div>
|
</div>
|
<div id="main">
|
|
</div>
|
|
<div id="pagination" class="loadmore"></div>
|
|
|
|
<script type="text/javascript">
|
function query() {
|
var $searchCode = $(".active");
|
var customerId = $searchCode.attr("id");
|
if(!$.util.isEmpty(customerId)){
|
$("#search").removeClass("check");
|
$("#search").addClass("check-sx");
|
}else{
|
$("#search").removeClass("check-sx");
|
$("#search").addClass("check");
|
}
|
var param = {"customerId":customerId,"lv3_id":"${RequestParameters.lv3_id}"};
|
$("#main").empty();
|
$("#pagination").pagination({
|
durl:"${base}/ewyw/ewconfig/econfigData.html",
|
curl:"${base}/ewyw/ewconfig/econfigCount.html",
|
pdiv:"pagination",
|
mdiv:"main",
|
perPage : 5,
|
param:param
|
});
|
}
|
|
$(function() {
|
query();
|
$(".pro").click(function(){
|
$(".pro").not($(this)).removeClass("active");
|
$(this).toggleClass("active");
|
});
|
})
|
</script>
|
|
</body>
|
</html>
|