rushfee/resource/html/tick/hfcounttj.html

78 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="rushtime" widget=datechooser allowinput="f" label="催缴日期">
至:
<input name="rushtimeend" widget=datechooser allowinput="f" >
<input name="jftime" widget=datechooser allowinput="f" label="缴费日期">
至:
<input name="jftimeend" widget=datechooser allowinput="f" >
<input name="custtype" widget=combox allowinput="f" style="width: 200px;" showNullItem="true"
data="[{id:'0',text:'服务费'},{id:'1',text:'托管'}]" emptyText="请选择" label="产品类型">
<input name="ifjy" widget=combox allowinput="f" style="width: 200px;" showNullItem="true"
data="[{id:'0',text:'否'},{id:'1',text:'是'}]" emptyText="请选择" label="是否积压">
<input name="ifmz" widget=combox allowinput="f" style="width: 200px;" showNullItem="true"
data="[{id:'0',text:'否'},{id:'1',text:'是'}]" emptyText="请选择" label="是否免征">
<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/hfcounttj">
<div field="num" width="60" align="center" header="回访次数" ></div>
<div field="sl" width="60" align="center" header="回访客户量(a)"></div>
<div field="fwf" width="60" align="center" header="服务费当日缴费量(b1)"></div>
<div field="tg" width="60" align="center" header="托管当日缴费量(b2)"></div>
<div field="sanjiuba" width="60" align="center" header="398(b3)"></div>
<div field="jfsl" width="60" align="center" header="合计当日缴费(b=b1+b2+b3)"></div>
<div field="sjbbl" width="60" align="center" header="398转化比(b3/a)"></div>
<div field="tgbl" width="60" align="center" header="托管转化比(b2/a)"></div>
<div field="jfbl" width="60" align="center" header="收取比(b/a)"></div>
</div>
</div>
</body>
<script type="text/javascript">
var grid = aos.get('grid');
var begintime =aos.formatDate(new Date(),"yyyy-MM-dd");
aos.get('rushtime').setValue(begintime);
function search(){
var rushtime=aos.get('rushtime').getValue();
var rushtimeend=aos.get('rushtimeend').getValue();
var jftime=aos.get('jftime').getValue();
var jftimeend=aos.get('jftimeend').getValue();
if (rushtime!=""&&jftime!=""&&jftimeend!=""&&jftimeend!="")
{
var params={
rushtime:rushtime,
rushtimeend:rushtimeend,
jftime:jftime,
jftimeend:jftimeend,
custtype:aos.get('custtype').getValue(),
ifmz:aos.get('ifmz').getValue(),
ifjy:aos.get('ifjy').getValue()
}
grid.load(params);
}
else {
aos.alert('请选择缴费日期和催缴日期!');
}
}
</script>
</html>