添加编辑人显示
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+'/>';
|
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) {
|
templet: function (d) {
|
||||||
var v=''
|
var v=''
|
||||||
if(d.is_hot==0){
|
if(d.is_hot==0){
|
||||||
@@ -92,6 +92,15 @@ layui.use(['form', 'table'], function () {
|
|||||||
return v
|
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: 'created_at',title: lang.alllist.create_time},
|
||||||
{field: 'updated_at',title: lang.alllist.update_time},
|
{field: 'updated_at',title: lang.alllist.update_time},
|
||||||
{title: lang.alllist.operation, minWidth: 150, toolbar: '#currentTableBar', align: "center"}
|
{title: lang.alllist.operation, minWidth: 150, toolbar: '#currentTableBar', align: "center"}
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ var langConfig = {
|
|||||||
'status': '状态',
|
'status': '状态',
|
||||||
'is_sold': '是否出售',
|
'is_sold': '是否出售',
|
||||||
'create_time': '创建时间',
|
'create_time': '创建时间',
|
||||||
'create_user': '创建人',
|
'create_user': '编辑人',
|
||||||
'operation': '操作',
|
'operation': '操作',
|
||||||
'pending_review': '待审核',
|
'pending_review': '待审核',
|
||||||
'pending_publish': '待发布',
|
'pending_publish': '待发布',
|
||||||
@@ -184,7 +184,7 @@ var langConfig = {
|
|||||||
'status': 'Status',
|
'status': 'Status',
|
||||||
'is_sold': 'Is Sold',
|
'is_sold': 'Is Sold',
|
||||||
'create_time': 'Create Time',
|
'create_time': 'Create Time',
|
||||||
'create_user': 'Creator',
|
'create_user': 'Editor',
|
||||||
'operation': 'Operation',
|
'operation': 'Operation',
|
||||||
'pending_review': 'Pending Review',
|
'pending_review': 'Pending Review',
|
||||||
'pending_publish': 'Pending Publish',
|
'pending_publish': 'Pending Publish',
|
||||||
@@ -308,7 +308,7 @@ var langConfig = {
|
|||||||
"status": "Статус",
|
"status": "Статус",
|
||||||
"is_sold": "Продано",
|
"is_sold": "Продано",
|
||||||
"create_time": "Дата создания",
|
"create_time": "Дата создания",
|
||||||
'create_user': 'Создатель',
|
'create_user': 'Редактор',
|
||||||
"operation": "Действия",
|
"operation": "Действия",
|
||||||
"pending_review": "На проверке",
|
"pending_review": "На проверке",
|
||||||
"pending_publish": "Ожидает публикации",
|
"pending_publish": "Ожидает публикации",
|
||||||
|
|||||||
Reference in New Issue
Block a user