rushfee/resource/html/rush/companytask.html

76 lines
2.8 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<html auth="false" >
<head >
<title>催缴记录统计</title>
</head>
<body >
<div widget="toolbar" style="padding:5px;border:0;">
<input widget="combox" name="end_date" label="到期情况" sqlid="rushfee_list.grouplist" />
<input widget="combox" name="last_date" label="距上次催缴天数" sqlid="search.getrushday" showNullItem="true" emptyText="请选择" />
<!-- <input widget="int" name="count" emptyText="只允许输入数字" label="回访次数" /> -->
<input widget="combox" name="count" label="回访次数" sqlid="companycount.rushcount" showNullItem="true" multiSelect="true" emptyText="请选择" />
<a widget="button" iconCls="icon-edit" onclick="shaixuan()">反馈筛选</a>
<a widget="button" iconCls="icon-search" onclick="search()">查询</a>
<a widget="button" iconCls="icon-edit" onclick="fenpei()">分配</a>
<br> <input widget="edit" name="feedback" label="筛选条件有" width="760"/>
</div>
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rushtaskcenter/getcompanytask">
<div type="indexcolumn" width="5" header="序号"></div>
<div field="分公司" width="10" align="center" header="分公司"></div>
<div field="到期日期" width="10" align="center" header="到期情况"></div>
<div field="距上次催缴天数" width="10" align="center" header="距上次催缴天数"></div>
<div field="任务总数" width="10" align="center" header="任务总数"></div>
</div>
</div>
</body>
<script type="text/javascript">
var grid = aos.get('grid');
function search(){
var end=aos.get('end_date').getValue();
var last =aos.get('last_date').getValue();
var count = aos.get('count').getValue();
var feedback = aos.get('feedback').getValue();
if(end==""||last==""){
aos.tip('到期情况催缴天数条件不能为空');
return;
}
if(feedback!=""&&(count==0||count=="")){
aos.tip('回访次数不能为空且不能为未回访');
return;
}
var params={end_date:aos.get('end_date').getValue(),last_date:aos.get('last_date').getValue(),
count:aos.get('count').getValue(),feedback:aos.get('feedback').getValue()};
grid.load(params)
}
function fenpei(){
var param = {};
param['flag']=1;
aos.showWindow('canvas/rush/taskadd', param, '700px', '600px', '任务明细', function(rtnValue){
});
}
function shaixuan(){
var param = {};
param['pageState'] = 'editnew';
param['feedback']=aos.get('feedback').getValue();
aos.showWindow('canvas/tick/feedbacktask', param, '500px', '400px', '反馈类型筛选任务', function(params,RtnData){
aos.get('feedback').setValue(params['feedback']);
aos.get('feedback').setValue(RtnData['feedback']);
});
}
</script>
</html>