128 lines
3.3 KiB
HTML
128 lines
3.3 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>
|
|
<a widget="button" iconCls="icon-edit" onclick="pay()">需处理明细</a>
|
|
</div>
|
|
<div widget="autosize">
|
|
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/kaohe/getcompanyzql" onrowdblclick="pay()">
|
|
|
|
<!-- 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="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);
|
|
|
|
|
|
var grid = aos.get('grid');
|
|
|
|
function pay(){
|
|
|
|
var data = grid.getSelected();
|
|
if(!data){
|
|
aos.alert('请选择一条数据。');
|
|
return;
|
|
}
|
|
var param = {};
|
|
|
|
param['org_name'] = data.org_name;
|
|
param['begindate'] =aos.get('searchbegindate').getValue();
|
|
param['enddate'] =aos.get('searchenddate').getValue();
|
|
dakai(param);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function dakai(param){
|
|
aos.showWindow('canvas/tick/getzhunquedetailfengongsi', param, '1000px', '500px', '信息处理明细', function(){
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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> |