...
|
...
|
@@ -22,11 +22,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
pk: 'id',
|
|
|
sortName: 'user.id',
|
|
|
exportOptions: {
|
|
|
type: 'excel',
|
|
|
onMsoNumberFormat: function(cell, row, col) {
|
|
|
return (row > 0 && col == 0) ? '\\@' : '';
|
|
|
// type: 'excel',
|
|
|
mso:{
|
|
|
// fileFormat: 'xlsx',
|
|
|
//修复导出数字不显示为科学计数法
|
|
|
onMsoNumberFormat: function (cell, row, col) {
|
|
|
return !isNaN($(cell).text())?'\\@':'';
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
columns: [
|
|
|
[
|
|
|
{checkbox: true},
|
...
|
...
|
|