曾超新 5 years ago
parent 1b53db597f
commit cdbde4a1fd
  1. 4
      frontend/views/phone-center/call-records.php

@ -120,9 +120,9 @@ use \common\libs\MyLib;
function opFormatter(value, row, index) {
var opStr = [];
if(row.record_file_url !== null) {
opStr.push('<a href="javascript:void(0);" onclick="play(' + row.record_file_url + ')">');
opStr.push('<a href="javascript:void(0);" onclick="play(\'' + row.record_file_url + '\')">');
} else {
opStr.push('<a href="javascript:void(0);" onclick="play(' + row.record_file_url_real + ')">');
opStr.push('<a href="javascript:void(0);" onclick="play(\'' + row.record_file_url_real + '\')">');
}
opStr.push('<i class="fa fa-play" title="播放"></i>');
opStr.push('</a>');

Loading…
Cancel
Save