99 lines
3.0 KiB
HTML
99 lines
3.0 KiB
HTML
<html login="false" auth="false">
|
||
<head>
|
||
<title>联系信息维护准确率</title>
|
||
<style>
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div widget="toolbar" style="padding:4px;border:0;">
|
||
<!-- style="width:300px;" -->
|
||
<input name="searchbegindate" widget=datechooser allowinput="f" label="创建日期">
|
||
至:
|
||
<input name="searchenddate" widget=datechooser allowinput="f" >
|
||
|
||
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
|
||
</div>
|
||
<div widget="autosize">
|
||
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/companykaohe/getcompanyzql">
|
||
|
||
<!-- org_name,zong,yichuli,weichuli,chulibili,zhunqueliang,cuowuliang,huifangliang,cuowulv,zhunquelv,rank () over ( ORDER BY paiming DESC ) paiming -->
|
||
<div type="indexcolumn" width="30" header="序号"></div>
|
||
<div field="org_name" width="60" align="center" header="分公司" ></div>
|
||
|
||
<div field="zong" width="60" align="center" header="总数 a"></div>
|
||
<div field="yichuli" width="60" align="center" header="已处理 b"></div>
|
||
<div field="weichuli" width="60" align="center" header="未处理"></div>
|
||
<div field="chulibili" width="60" align="center" header="处理比例(b/a)"></div>
|
||
<div field="zhunqueliang" width="60" align="center" header="准确量 c"></div>
|
||
<div field="cuowuliang" width="60" align="center" header="错误量 d"></div>
|
||
<div field="huifangliang" width="60" align="center" header="回访量 e"></div>
|
||
<div field="cuowulv" width="60" align="center" header="错误率 (d/e)"></div>
|
||
<div field="zhunquelv" width="60" align="center" header="准确率 (c/e)"></div>
|
||
<div field="paiming" width="60" align="center" header="排名(按准确率)"></div>
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</body>
|
||
<script type="text/javascript">
|
||
var grid = aos.get('grid');
|
||
|
||
var begintime =aos.formatDate(new Date(),"yyyy-MM-dd");
|
||
var endtime =aos.formatDate(new Date(),"yyyy-MM-dd");
|
||
aos.get('searchbegindate').setValue(begintime);
|
||
aos.get('searchenddate').setValue(endtime);
|
||
|
||
function search(){
|
||
var begindate=aos.get('searchbegindate').getValue();
|
||
var enddate=aos.get('searchenddate').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,
|
||
searchenddate:enddate
|
||
|
||
}
|
||
grid.load(params);
|
||
}
|
||
}
|
||
}else if(enddate!="")
|
||
{
|
||
aos.alert('请选择开始时间!');
|
||
return ;
|
||
}else{
|
||
var begindate=aos.get('searchbegindate').getValue();
|
||
var enddate=aos.get('searchenddate').getValue();
|
||
var params = {
|
||
searchbegindate:begindate,
|
||
searchenddate:enddate
|
||
}
|
||
grid.load(params);
|
||
}
|
||
|
||
}
|
||
|
||
|
||
|
||
|
||
|
||
</script>
|
||
</html> |