bug修复
This commit is contained in:
parent
14ce319001
commit
20a302f652
|
|
@ -134,6 +134,17 @@ function initTable() {
|
||||||
title: "备注",
|
title: "备注",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
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 '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -101,14 +101,14 @@ function initTable() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "typeName",
|
field: "type",
|
||||||
width: '15%',
|
width: '15%',
|
||||||
title: "物机类型",
|
title: "物机类型",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "type",
|
field: "typeName",
|
||||||
width: '15%',
|
width: '15%',
|
||||||
title: "物机名称",
|
title: "物机名称",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue