bug修复

This commit is contained in:
cwchen 2024-11-21 15:18:06 +08:00
parent 14ce319001
commit 20a302f652
2 changed files with 13 additions and 2 deletions

View File

@ -134,6 +134,17 @@ function initTable() {
title: "备注",
unresize: true,
align: "center",
templet: function (d) {
if (d.remark) {
if (d.remark.length > 100) {
return '<span title="' + d.remark + '">' + d.remark.substring(0, 60) + '...</span>'
} else {
return '<span title="' + d.remark + '">' + d.remark + '</span>'
}
} else {
return '';
}
}
},
{

View File

@ -101,14 +101,14 @@ function initTable() {
},
},
{
field: "typeName",
field: "type",
width: '15%',
title: "物机类型",
unresize: true,
align: "center",
},
{
field: "type",
field: "typeName",
width: '15%',
title: "物机名称",
unresize: true,