99 lines
3.8 KiB
HTML
99 lines
3.8 KiB
HTML
|
<html auth="false" >
|
||
|
<head >
|
||
|
<title>催缴记录统计</title>
|
||
|
</head>
|
||
|
|
||
|
<body >
|
||
|
<div widget="toolbar" style="padding:5px;border:0;">
|
||
|
<input name="operator" widget="edit" url="rush/search/getOperator"
|
||
|
textfield="text" style="width: 200px;" label="催缴人姓名">
|
||
|
<input name="searchbegindate" widget=datechooser showTime="true" timeFormat="HH:mm:ss" format="yyyy-MM-dd HH:mm:ss" valueFormat="yyyy-MM-dd HH:mm:ss" allowinput="f" label="催缴日期">
|
||
|
<input name="searchenddate" widget=datechooser showTime="true" timeFormat="HH:mm:ss" format="yyyy-MM-dd HH:mm:ss" allowinput="f" style="margin-left: -70px;" label="至">
|
||
|
|
||
|
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
|
||
|
|
||
|
</div>
|
||
|
<!--valueFormat="yyyy-MM-dd HH:mm:ss"-->
|
||
|
<div widget="autosize">
|
||
|
<div widget="datagrid" virtualScroll="true" frozenStartColumn="0" frozenEndColumn = "1" name="grid" style="width: 100%; height: 100%;" url="call/record/getList" allowalternating="true">
|
||
|
<div type="indexcolumn" width="50" header="序号"></div>
|
||
|
<div field="operator" width="100" align="center" header="催缴人"></div>
|
||
|
<div field="呼出总量" width="100" align="center" header="呼出总量 (a) "></div>
|
||
|
<div field="接通总量" width="100" align="center" header="接通总量 (b) "></div>
|
||
|
<div field="成功量" width="100" align="center" header="成功量 (c)"></div>
|
||
|
<div field="在线缴费成功量" width="100" align="center" header="在线缴费成功量"></div>
|
||
|
<div field="同意缴费量" width="100" align="center" header="同意缴费量"></div>
|
||
|
<div field="通话总时长" width="100" align="center" header="通话总时长min"></div>
|
||
|
<div field="振铃总时长" width="100" align="center" header="振铃总时长min"></div>
|
||
|
<div field="平均通话时长" width="100" align="center" header="平均通话时长s"></div>
|
||
|
<div field="接通率" width="100" align="center" header="接通率 ( b / a)"></div>
|
||
|
<div field="成功率" width="100" align="center" header="成功率 ( c / b)"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
</body>
|
||
|
<script type="text/javascript">
|
||
|
var grid = aos.get('grid');
|
||
|
var nowday=aos.formatDate(new Date(),"yyyy-MM-dd")
|
||
|
aos.get('searchbegindate').setValue(nowday+" 00:00:00");
|
||
|
aos.get('searchenddate').setValue(nowday+" 23:59:59");
|
||
|
function search(){
|
||
|
var begindate=aos.get('searchbegindate').getFormValue();
|
||
|
var enddate=aos.get('searchenddate').getFormValue();
|
||
|
var operator=aos.get('operator').getValue();
|
||
|
if (begindate!="")
|
||
|
{
|
||
|
if (enddate=="")
|
||
|
{aos.alert('请选择结束时间!');
|
||
|
return ;
|
||
|
}
|
||
|
else{
|
||
|
if (begindate>enddate)
|
||
|
{
|
||
|
aos.alert('开始日期必须早于结束日期!');
|
||
|
}else{
|
||
|
// var begindate=begindate+" "+"00:00:00";
|
||
|
// var enddate=enddate+" "+"23:59:59";
|
||
|
var params={
|
||
|
searchbegindate:begindate,
|
||
|
operator:operator,
|
||
|
searchenddate:enddate };
|
||
|
grid.load(params);
|
||
|
}
|
||
|
}
|
||
|
}else if(enddate!="")
|
||
|
{
|
||
|
aos.alert('请选择开始时间!');
|
||
|
return ;
|
||
|
}else{
|
||
|
var begindate=aos.get('searchbegindate').getFormValue();;
|
||
|
var enddate=aos.get('searchenddate').getFormValue();;
|
||
|
var operator=aos.get('operator').getValue();
|
||
|
var params = {searchbegindate:begindate,
|
||
|
searchenddate:enddate,
|
||
|
operator:operator};
|
||
|
grid.load(params);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
function downloadfileGet(){
|
||
|
var operator=aos.get('operator').getValue();
|
||
|
var begindate=aos.get('searchbegindate').getFormValue();;
|
||
|
var enddate=aos.get('searchenddate').getFormValue();;
|
||
|
|
||
|
var param = { searchbegindate:begindate,
|
||
|
searchenddate:enddate,
|
||
|
operator:operator};
|
||
|
var base = document.getElementsByTagName("base")[0].href;
|
||
|
|
||
|
window.location.href=base+"call/record/getMaterielList?begindate="+begindate+"&enddate="+enddate+"&operator="+operator;
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
|
||
|
|
||
|
</html>
|