<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>月度服务满意度报表</title>
|
[#include "/business/pages/include/static.html" /]
|
</head>
|
|
<body class="fullscreen">
|
[#include "/business/pages/include/header.html" /]
|
[#include "/business/pages/include/print.html" /]
|
[#include "/component/newsel.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/excExport.html" /]
|
<script src="${common_static}/static/script/select/chosen.jquery.js"></script>
|
<script src="${common_static}/static/script/select/chosen.jquery.min.js"></script>
|
<link rel="stylesheet" type="text/css" href="${common_static}/static/script/select/chosen.css"/>
|
<script type="text/javascript" src="${common_static}/static/plugins/My97DatePicker/WdatePicker.js"></script>
|
[#assign label = GnConstants.YDMYD]
|
[#include "/business/pages/include/gps.html" /]
|
<div class="fs_main clearfix">
|
<div class="event_fill list_common_select">
|
<table><tr><th width="85%">
|
<div class="fill_item"><label>${Constants.CUSTOMER_CONSTANTS}名称:</label>
|
[@sel id="customer_id" name="customer_id" source=customers textField="ID" valueField="CUSTOMER_NAME" labelName="customer_name" /]
|
</div>
|
<div class="fill_item"><label>开始月份:</label>[@datepicker id="begin_month" value="${nowmonth}" class="general" length=6/]</div>
|
|
<div class="fill_item"><label>结束月份:</label>[@datepicker id="end_month" value="${nowmonth}" class="general" length=6/]</div>
|
</th><td width="15%">
|
<a class="retrievebtn" id="reset">重置</a><a class="retrievebtn focus" href="javascript:query();">查询</a>
|
</td></tr></table>
|
</div>
|
<div class="fs_navtitle" >
|
<div class="fs_navtitle_con common_list">
|
<div class="fsnt_btn">
|
[@excExp id="printDiv" name="${Constants.CUSTOMER_CONSTANTS}服务满意度月度考评表" /]
|
<a class="common print" href="javascript:printA4(2,'printDiv');"><span>打印</span></a>
|
</div>
|
</div>
|
</div>
|
<div class="device" id="printDiv" style="padding:0;border:0;">
|
[#include "/business/pages/satis/satisfaction/monthsatisreportData.html" /]
|
</div>
|
|
|
|
</div>
|
|
[#include "/business/pages/include/footer.html" /]
|
|
</body>
|
</html>
|
<script type="text/javascript">
|
$("#customer_id").chosen({
|
no_results_text: "没有找到结果!",//搜索无结果时显示的提示
|
search_contains:true, //关键字模糊搜索,设置为false,则只从开头开始匹配
|
allow_single_deselect:true, //是否允许取消选择
|
max_selected_options:1 //当select为多选时,最多选择个数
|
});
|
$(function() {
|
$("#reset").click(function() {
|
window.location.reload(true);
|
});
|
|
|
})
|
function query(){
|
var customer_id = $.trim($("#customer_id").val());
|
var showmonth = $.trim($("#showmonth").val());
|
if($.util.isEmpty(customer_id)){
|
popupTips("请选择${Constants.CUSTOMER_CONSTANTS}");
|
return;
|
}
|
var begin_month = $.trim($("#begin_month").val());
|
if($.util.isEmpty(begin_month)){
|
popupTips("请选择开始月份");
|
return;
|
}
|
|
var end_month = $.trim($("#end_month").val());
|
if($.util.isEmpty(end_month)){
|
popupTips("请选择结束月份");
|
return;
|
}
|
|
$("#printDiv").load("${base}/business/pages/satisfaction/monthsatisreportData.html?customer_id="+customer_id+"&begin_month="+begin_month+"&end_month="+end_month);
|
}
|
function showdate(dateFormat){
|
if(!dateFormat)dateFormat="yyyy-MM-dd";
|
WdatePicker({
|
lang:'zh-cn',
|
dateFmt:dateFormat,
|
isShowOthers: false,
|
isShowToday:false,
|
isShowClear:false,
|
minDate:"1900年01月"
|
});
|
}
|
</script>
|