|
|
|
@ -66,6 +66,7 @@ use \common\libs\MyLib; |
|
|
|
|
<script src="/assets/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script> |
|
|
|
|
<script src="/assets/js/plugins/layer/laydate/laydate.js"></script> |
|
|
|
|
<script> |
|
|
|
|
var o = {}; |
|
|
|
|
function opFormatter(value, row, index) { |
|
|
|
|
var opStr = []; |
|
|
|
|
opStr.push('<a href="javascript:void(0);" onclick="play(' + row.record_file_url + ')">'); |
|
|
|
@ -79,22 +80,19 @@ use \common\libs\MyLib; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function search() { |
|
|
|
|
o = {}; |
|
|
|
|
var params = $("#searchFrm").serializeArray(); |
|
|
|
|
$.each(params, function(index) { |
|
|
|
|
o[this['name']] = this['value']; |
|
|
|
|
}); |
|
|
|
|
$('#listTable').bootstrapTable('destroy'); |
|
|
|
|
$('#listTable').bootstrapTable({ |
|
|
|
|
url: "/phone-center/usercall-index-json", |
|
|
|
|
pagination: true, |
|
|
|
|
sidePagination: 'server', |
|
|
|
|
queryParams: function(params) { |
|
|
|
|
params.username = $('#username').val(); |
|
|
|
|
params.begin_time = $('#begin_time').val(); |
|
|
|
|
params.end_time = $('#end_time').val(); |
|
|
|
|
params.caller = $('#caller').val(); |
|
|
|
|
params.called = $('#called').val(); |
|
|
|
|
params.call_result = $('#call_result').val(); |
|
|
|
|
params.duration_begin = $('#duration_begin').val(); |
|
|
|
|
params.duration_end = $('#duration_end').val(); |
|
|
|
|
params.is_called = $('#is_called').val(); |
|
|
|
|
params.company_type = $('#company_type').val(); |
|
|
|
|
o['offset'] = params['offset']; |
|
|
|
|
o['limit'] = params['limit']; |
|
|
|
|
return params; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|