rushfee/build/classes/html/tick/khzqlcontact.html

97 lines
2.9 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/kaohe/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="zongshu" width="60" align="center" header="总数 a"></div>
<div field="cuowu" width="60" align="center" header="错误量 b"></div>
<div field="weichuli" width="60" align="center" header="未处理 c"></div>
<div field="zhengque" width="60" align="center" header="准确量 d"></div>
<div field="weihuifang" width="60" align="center" header="未回访 e"></div>
<div field="zhengquelvbaifenbi" width="60" align="center" header="准确率"></div>
<div field="paiming" width="60" align="center" header="排名(按准确率)"></div>
<div field="pingjun" width="60" align="center" header="全省平均值"></div>
<div field="defen" 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;
var enddate=enddate;
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>