|
@@ -24,7 +24,7 @@ layui.use(['element','mylayer','newtable','laydate','myform','page'], function (
|
|
|
cols:[[
|
|
|
{type: 'numbers', title: '序号', width:60},
|
|
|
{field: 'equiCon', title: '设备图片', width:240,templet:function(d){
|
|
|
- return '<div style="height:200px;width:200px;background:url(\''+d.accessPath+'\');background-size:cover;"></div>';
|
|
|
+ return '<div style="height:200px;width:200px;background:url(\''+d.accessPath+'\') no-repeat;background-size:contain;"></div>';
|
|
|
}},
|
|
|
{field: 'equSort', title: '类型', width:140,templet:function(d){
|
|
|
return {'rescue':'救援设备','intelligent':'智能设备'}[d.equSort]||'';
|