134 lines
3.6 KiB
HTML
134 lines
3.6 KiB
HTML
<html login="false" auth="false">
|
|
<head>
|
|
<title>客户信息满意度报表</title>
|
|
<style>
|
|
/* a {float:right;} */
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div widget="toolbar" style="padding:4px;border:0;">
|
|
|
|
<input widget="combox" name="nianfen" label="年份"
|
|
data="[{id:'2019',text:'2019'},{id:'2020',text:'2020'},{id:'2021',text:'2021'},{id:'2022',text:'2022'}]"
|
|
textField="text" valueField="id" value="2020" />
|
|
|
|
<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/getzhunque" onrowdblclick="pay()">
|
|
|
|
|
|
|
|
<div field="paiming" width="60" align="center" header="排名" ></div>
|
|
<div field="org_name" width="60" align="center" header="分公司" ></div>
|
|
<div field="pingjunbili" width="60" align="center" header="全省平均值"></div>
|
|
<div field="num" width="60" align="center" header="需处理信息数量"></div>
|
|
<div field="yichuli" width="60" align="center" header="已处理信息数量"></div>
|
|
<div field="daichuli" width="60" align="center" header="未处理信息数量"></div>
|
|
<!-- <div field="yichulibili" width="60" align="center" header="维护完成率"></div>
|
|
--> <div field="paixu" width="40" header="维护完成率" align="center" renderer="percentRenderer" multiplyHundred="false"></div>
|
|
|
|
<div field="defen" width="60" align="center" header="分值"></div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
<script type="text/javascript">
|
|
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/getzhunquedetail', param, '1000px', '500px', '信息处理明细', function(){
|
|
//grid.reload();
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function search(){
|
|
var begindate=aos.get('searchbegindate').getValue();
|
|
var enddate=aos.get('searchenddate').getValue();
|
|
var nianfen = aos.get('nianfen').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,
|
|
nianfen:nianfen
|
|
|
|
}
|
|
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,
|
|
nianfen:nianfen
|
|
}
|
|
grid.load(params);
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
function onvalueChange(){
|
|
|
|
}
|
|
|
|
</script>
|
|
</html> |