This commit is contained in:
2025-05-26 17:02:34 +08:00
parent e612459ad1
commit 2b80c1a98b
3 changed files with 44 additions and 28 deletions
+14 -5
View File
@@ -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}
]];