提交
This commit is contained in:
parent
ac5dce70dd
commit
cee4dc7fce
|
|
@ -187,6 +187,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
columns.push({ field: 'sort', title: '排序', minWidth: 80, edit: 'text' });
|
columns.push({ field: 'sort', title: '排序', minWidth: 80, edit: 'text' });
|
||||||
|
columns.push({ field: 'addtime', title: '添加时间', minWidth: 150, templet: function(d){
|
||||||
|
return d.addtime ? new Date(d.addtime * 1000).toLocaleString() : '';
|
||||||
|
}});
|
||||||
|
columns.push({ field: 'update_time', title: '更新时间', minWidth: 150, templet: function(d){
|
||||||
|
return d.update_time ? new Date(d.update_time * 1000).toLocaleString() : '';
|
||||||
|
}});
|
||||||
columns.push({ title: '操作', toolbar: '#operationTpl', minWidth: 210, fixed: 'right' });
|
columns.push({ title: '操作', toolbar: '#operationTpl', minWidth: 210, fixed: 'right' });
|
||||||
|
|
||||||
// 渲染表格
|
// 渲染表格
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user