|
|
@ -120,9 +120,9 @@ use \common\libs\MyLib; |
|
|
|
function opFormatter(value, row, index) { |
|
|
|
function opFormatter(value, row, index) { |
|
|
|
var opStr = []; |
|
|
|
var opStr = []; |
|
|
|
if(row.record_file_url !== null) { |
|
|
|
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 { |
|
|
|
} 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('<i class="fa fa-play" title="播放"></i>'); |
|
|
|
opStr.push('</a>'); |
|
|
|
opStr.push('</a>'); |
|
|
|