97 lines
3.8 KiB
HTML
97 lines
3.8 KiB
HTML
|
<html login="false" auth="false">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>鸿联录音操作</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div widget="toolbar" style="padding:5px;border:0;">
|
||
|
<input name="searchoperator" widget="edit" url="rush/search/getOperator"
|
||
|
textfield="text" style="width: 200px;" label="催缴人姓名">
|
||
|
<input widget="edit" name="custname" label="客户名称"/>
|
||
|
<input name="searchbegindate" widget=datechooser showTime="true" timeFormat="HH:mm:ss" format="yyyy-MM-dd HH:mm:ss" valueFormat="yyyy-MM-dd HH:mm:ss" allowinput="f" label="催缴日期">
|
||
|
<input name="searchenddate" widget=datechooser showTime="true" timeFormat="HH:mm:ss" format="yyyy-MM-dd HH:mm:ss" valueFormat="yyyy-MM-dd HH:mm:ss" allowinput="f" style="margin-left: -70px;" label="至">
|
||
|
<input widget="combox" name="searchresult" label="催缴结果" url="rush/search/getResult"
|
||
|
emptyText="请选择" textField="text" valueField="text" allowInput="false" style="width:250px" showNullItem="true"/>
|
||
|
<input id="customer_id" widget="hidden" />
|
||
|
<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/search/hlgetRecording" >
|
||
|
<div type="indexcolumn" width="35" header="序号"></div>
|
||
|
<div field="operator" width="55" header="催缴人"></div>
|
||
|
<div field="operate_date" width="85" header="催缴日期"></div>
|
||
|
<div field="mobile" width="85" header="联系电话"></div>
|
||
|
<div field="remark" width="200" header="详情" ></div>
|
||
|
<div field="zltime" width="50" header="振铃时长" ></div>
|
||
|
<div field="info" width="50" header="通话时长" ></div>
|
||
|
<div field="vital" width="65" header="催缴结果" ></div>
|
||
|
<div field="rema" width="100" header="备注信息" ></div>
|
||
|
<div field="play" width="65" header="录音" renderer="playRender" linkField="path" target="modal" align="center"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
|
||
|
var grid = aos.get('grid');
|
||
|
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+" "+"00:00:00";
|
||
|
//var enddate=enddate+" "+"23:59:59";
|
||
|
var params={
|
||
|
searchoperator:aos.get('searchoperator').getValue(),
|
||
|
searchbegindate:begindate,
|
||
|
searchenddate:enddate,
|
||
|
custname:aos.get('custname').getValue(),
|
||
|
searchresult:aos.get('searchresult').getValue()};
|
||
|
//alert(begindate+""+enddate);
|
||
|
grid.load(params);
|
||
|
}
|
||
|
}
|
||
|
}else if(enddate!="")
|
||
|
{
|
||
|
aos.alert('请选择开始时间!');
|
||
|
return ;
|
||
|
}else{
|
||
|
var params={
|
||
|
searchoperator:aos.get('searchoperator').getValue(),
|
||
|
searchbegindate:aos.get('searchbegindate').getValue(),
|
||
|
searchenddate:aos.get('searchenddate').getValue(),
|
||
|
custname:aos.get('custname').getValue(),
|
||
|
searchresult:aos.get('searchresult').getValue()};
|
||
|
|
||
|
grid.load(params);
|
||
|
return ;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function playRender(e){
|
||
|
var row=e.row;
|
||
|
var value=row.play;
|
||
|
if(value=='播放'){
|
||
|
return "<a href='javascript:void(0)' onclick='showMyDialog(\""+ row.path +"\")'>"+value+"</a>";
|
||
|
}else{
|
||
|
return value;
|
||
|
}
|
||
|
}
|
||
|
function showMyDialog(video_path){
|
||
|
var params ={};
|
||
|
params["video_path"]=video_path;
|
||
|
aos.showWindow('canvas/rush/record_rush_play',params,'800px', '400px', '录音播放', function(rtnValue){
|
||
|
|
||
|
});
|
||
|
}
|
||
|
</script>
|
||
|
</html>
|