rushfee/resource/html/tick/callrecord.html

48 lines
1.4 KiB
HTML
Raw Normal View History

2022-05-16 15:07:40 +00:00
<html login="false" auth="false">
<head>
<meta charset="UTF-8">
<title>录音操作</title>
</head>
<body>
<div widget="autosize">
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="rush/excustomer/getcompanycall" >
<div type="indexcolumn" width="35" header="序号"></div>
<div field="operator" width="55" header="催缴人"></div>
<div field="operate_date" width="85" header="催缴日期"></div>
<div field="remark" width="350" 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">
function init(param){
var grid = aos.get('grid');
grid.load(param);
}
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>