60 lines
1.9 KiB
HTML
60 lines
1.9 KiB
HTML
|
<html login="false" auth="false">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>回访记录</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div widget="toolbar">
|
||
|
<a widget="button" iconCls="icon-log" onclick="detail()">详情</a>
|
||
|
<a widget="button" iconCls="icon-log" onclick="phonedetail()">拨打记录</a>
|
||
|
</div>
|
||
|
<div widget="autosize">
|
||
|
<div widget="datagrid" name="grid" style="width: 100%; height: 100%;" url="hfrecord/getLogByCustName" multiSelect="true" onrowdblclick="detail()">
|
||
|
<div type="indexcolumn" width="5" header="序号"></div>
|
||
|
<div field="operate_name" width="8" align="center" header="回访人"></div>
|
||
|
<div field="log_id" width="8" visible="false"></div>
|
||
|
<div field="operate_date" width="15" align="center" header="回访日期"></div>
|
||
|
<div field="detail" width="25" header="商品"></div>
|
||
|
<div field="is_success" width="10" header="回访结果"></div>
|
||
|
<div field="reflect_name" width="10" header="反馈结果"></div>
|
||
|
<div field="suggestion" width="10" header="备注"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
<script type="text/javascript">
|
||
|
var grid = aos.get('grid');
|
||
|
function init(param){
|
||
|
var grid = aos.get('grid');
|
||
|
grid.load(param);
|
||
|
}
|
||
|
function detail(){
|
||
|
var data = grid.getSelected();
|
||
|
if(!data){
|
||
|
aos.alert('请选择一条数据。');
|
||
|
return;
|
||
|
}
|
||
|
var param = {};
|
||
|
param['log_id'] = data.log_id;
|
||
|
dakai(param);
|
||
|
}
|
||
|
|
||
|
function dakai(param){
|
||
|
aos.showWindow('canvas/revisit/revisitRecordDetail', param, '700px', '300px', '详情', function(){
|
||
|
});
|
||
|
}
|
||
|
|
||
|
function phonedetail(param){
|
||
|
var data = grid.getSelected();
|
||
|
if(!data){
|
||
|
aos.alert('请选择一条数据。');
|
||
|
return;
|
||
|
}
|
||
|
var param = {};
|
||
|
param['log_id'] = data.log_id;
|
||
|
|
||
|
aos.showWindow('canvas/revisit/revisitRecordPhone', param, '700px', '300px', '拨打记录', function(){
|
||
|
});
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</html>
|