添加编辑人显示
This commit is contained in:
+10
-1
@@ -80,7 +80,7 @@ layui.use(['form', 'table'], function () {
|
||||
return '<input type="checkbox" value="'+d.status+'" lay-filter="status" lay-skin="switch" lay-text="" '+checked+'/>';
|
||||
}
|
||||
},
|
||||
{field: 'sort', title: lang.alllist.is_hot,
|
||||
{field: 'id', title: lang.alllist.is_hot,
|
||||
templet: function (d) {
|
||||
var v=''
|
||||
if(d.is_hot==0){
|
||||
@@ -92,6 +92,15 @@ layui.use(['form', 'table'], function () {
|
||||
return v
|
||||
}
|
||||
},
|
||||
{field: 'id', title: lang.carlist.create_user,
|
||||
templet: function(d){
|
||||
var v=''
|
||||
if(d.creater){
|
||||
if(d.creater.nickname){v=d.creater.nickname}
|
||||
}
|
||||
return v;
|
||||
}
|
||||
},
|
||||
{field: 'created_at',title: lang.alllist.create_time},
|
||||
{field: 'updated_at',title: lang.alllist.update_time},
|
||||
{title: lang.alllist.operation, minWidth: 150, toolbar: '#currentTableBar', align: "center"}
|
||||
|
||||
Reference in New Issue
Block a user