<!doctype html>
|
<html>
|
<head>
|
[#include "/business/wechat/include/title.html" /]
|
[#include "/business/wechat/include/wheader.html" /]
|
<script type="text/javascript">
|
$(function() {
|
$(".taskoption").click(function(){
|
var i=$(".taskoption").index(this);
|
var taskcon = $(".tasksearchdate");
|
taskcon.eq(i).animate({width: 'toggle'});
|
$(".tasksearchdate h2").delay(300).fadeIn();
|
$(".tasksearchcon").delay(300).fadeIn();
|
taskcon.eq(i).next(".el_popmask").fadeIn();
|
});
|
|
$(".taskclose").click(function(){
|
var taskcon = $(this).parents("div.tasksearchdate");
|
taskcon.animate({width: 'toggle'});
|
$(".tasksearchdate h2").fadeOut();
|
$(".tasksearchcon").fadeOut();
|
taskcon.next(".el_popmask").fadeOut();
|
});
|
|
$(".el_popmask").click(function(){
|
var taskcon = $(this).prev("div");
|
taskcon.animate({width: 'toggle'});
|
$(".tasksearchdate h2").fadeOut();
|
$(".tasksearchcon").fadeOut();
|
$(this).fadeOut();
|
|
});
|
|
//${Constants.CUSTOMER_CONSTANTS}下拉框点击
|
$('.kltype.tasksearchlist2 p').click(function(){
|
$('.kltype.tasksearchlist2 p.active').removeClass('active');
|
$(this).addClass('active');
|
});
|
|
//选择${Constants.CUSTOMER_CONSTANTS}
|
$('#pro_btn').click(function(){
|
var $pro = $('.kltype.tasksearchlist2 p.active');
|
var proId = $pro.attr('val');
|
$('#proId').val(proId);
|
$('#pro_close_btn').click();
|
query("main","page");
|
});
|
|
query("main","page");
|
})
|
|
function query(dataId,pageId) {
|
var $main = $("#"+dataId);
|
var $page = $("#"+pageId);
|
var projectId = $("#proId").val();
|
var begintime = '${RequestParameters.begintime}';
|
var endtime = '${RequestParameters.endtime}';
|
var param = {'projectId':projectId,'begintime':begintime,'endtime':endtime};
|
$main.empty();
|
$page.pagination({
|
durl:"${base}/uwyw/uHealth/uHealthData.html",
|
curl:"${base}/uwyw/uHealth/uHealthCount.html",
|
pdiv:pageId,
|
mdiv:dataId,
|
perPage : 5,
|
param:param
|
});
|
}
|
</script>
|
</head>
|
|
<body>
|
<input type="hidden" name="proId" id="proId"/>
|
<header class="kltit">
|
<a href="javascript:history.go(-1);"><span></span></a>健康检查列表
|
</header>
|
<div id="container"></div>
|
|
|
<div class="swiper-slide">
|
<div id="main"></div>
|
<div id="page" class="loadmore"></div>
|
</div>
|
|
|
<div>
|
<div class="tasksearchdate">
|
<h2>
|
<a id="pro_close_btn" class="taskclose">关闭</a>${Constants.CUSTOMER_CONSTANTS}列表
|
</h2>
|
<div class="tasksearchcon">
|
[#if customers??&&customers?size>0] [#list customers as customer]
|
<section class="kltype tasksearchlist2">
|
<a href="#"><h2>
|
<em></em>${customer.CUSTOMER_NAME}
|
</h2>
|
</a>
|
<div class="projectname">
|
[#if customer.PROJECTS??&&customer.PROJECTS?size>0] [#list
|
customer.PROJECTS as project] <a><p
|
val="${project.PROJECT_ID}">
|
<em></em>${project.PROJECT_NAME}
|
</p>
|
</a> [/#list] [/#if]
|
</div>
|
</section>
|
[/#list] [/#if]
|
</div>
|
<button id="pro_btn" type="button" class="tasksearchbtn">确定</button>
|
</div>
|
<div class="el_popmask"></div>
|
</div>
|
</body>
|
</html>
|