添加编辑人显示

This commit is contained in:
浅念
2025-06-12 09:34:37 +08:00
parent 81d91cfbd0
commit 42f8131d71
2 changed files with 13 additions and 4 deletions
+10 -1
View File
@@ -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"}