优化
This commit is contained in:
@@ -98,14 +98,23 @@
|
||||
// 表头参数
|
||||
let cols = [[
|
||||
{type: "checkbox", align: "center"},
|
||||
{title: translations.id, align: "center", field: "id"},
|
||||
{title: translations.vin, align: "center", field: "vin"},
|
||||
{title: translations.brand, align: "center", field: "brand"},
|
||||
// {title: translations.img_url, align: "center", field: "img_url"},
|
||||
{
|
||||
title: "translations.img_url",
|
||||
field: "url",
|
||||
templet: function (d) {
|
||||
return '<img src="' + encodeURI(d['url']) + '" style="max-width:32px;max-height:32px;" />';
|
||||
}
|
||||
},
|
||||
{title: translations.status, align: "center", field: "status_txt"},
|
||||
{title: translations.status, align: "center", field: "status_txt"},
|
||||
{title: translations.current_location, align: "center", field: "location_name"},
|
||||
{title: translations.final_location, align: "center", field: "final_location_name"},
|
||||
{title: translations.fbo_location, align: "center", field: "fbo_location_name"},
|
||||
{title: translations.created_at, align: "center", field: "created_at"},
|
||||
{title: translations.updated_at, align: "center", field: "updated_at"},
|
||||
// {title: translations.final_location, align: "center", field: "final_location_name"},
|
||||
// {title: translations.fbo_location, align: "center", field: "fbo_location_name"},
|
||||
// {title: translations.created_at, align: "center", field: "created_at"},
|
||||
// {title: translations.updated_at, align: "center", field: "updated_at"},
|
||||
{title: translations.operation, toolbar: "#table-bar", align: "center", fixed: "right", width: 150}
|
||||
]];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user