rushfee/resource/html/rush/visitreport.html

102 lines
3.3 KiB
HTML

<html auth="false">
<head>
<title>各分公司回访情况表</title>
<style>
#showtb{
border-collapse:collapse;
}
/*关键设置 tbody出现滚动条*/
#showtb tbody {
display: block;
overflow-y: scroll;
}
#showtb tbody tr {
height: 25px;
}
#showtb tbody tr td {
line-height:25px;
padding-left: 6px;
border: 1px solid #cfcfce;
}
#showtb tbody tr th {
line-height:25px;
padding-left: 6px;
border: 1px solid #cfcfce;
background:#F8F8FF;
}
</style>
<script type="text/javascript" src="www/i18n/rms_i18n_{{language}}.js"></script>
</head>
<body>
<div widget="toolbar" style="padding:10px;border:0;">
<!--
<input widget="combox" name="company" label="分公司"
url="rush/org/getOrgList" emptyText="请选择" textField="text"
valueField="id" allowInput="false" showNullItem="true" />
-->
<input name="searchbegindate" widget=datechooser allowinput="f" label="催缴日期">
<input name="searchenddate" widget=datechooser allowinput="f"
style="margin-left: -70px;" label="至">
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
<a widget="button" iconCls="icon-export" onclick="downloadfileGet()">导出</a>
</div>
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/visitreport/post/visitList" >
<div type="indexcolumn" width="35" header="序号"></div>
<div header="总体情况">
<div field="org_name" width="80" header="分公司" ></div>
<div field="totalnum" width="100" header="总户数"></div>
<div field="visitnum" width="100" header="回访户数(a)"></div>
<div field="othernum" width="100" align="center" header="剩余户数(b)"></div>
<div field="paynum" width="100" header="实际缴费户数(c)"></div>
<div field="payrate" width="80" header="收费比例(c/a)"></div>
<div field="truenum" width="100" header="客户准确量(e)"></div>
<div field="truerate" width="100" header="客户准确率(e/a)"></div>
</div>
<div header="回访数据情况">
<div field="visitbeyondnum" width="150" header="超期未收客户量(回访数据)"></div>
<div field="visitwillnum" width="150" header="即将到期客户量(回访数据)"></div>
</div>
<div header="剩余客户情况">
<div field="beyondnum" width="150" header="超期未收客户量(剩余客户)"></div>
<div field="willnum" width="150" header="即将到期客户量(剩余客户)"></div>
</div>
</div>
</div>
<script type="text/javascript">
var grid = aos.get('grid');
grid.load();
function downloadfileGet(){
var begindate=aos.get('searchbegindate').getValue();
var enddate=aos.get('searchenddate').getValue();
var param = { searchbegindate:begindate,
searchenddate:enddate};
var base = document.getElementsByTagName("base")[0].href;
window.location.href=base+"rush/visitreport/exportVisitReport?begindate="+begindate+"&enddate="+enddate;
return false;
}
function search(){
var begindate=aos.get('searchbegindate').getValue();
var enddate=aos.get('searchenddate').getValue();
var param = { begindate:begindate,
enddate:enddate};
grid.load(param);
}
</script>
</body>
</html>