{
file: 'usename',
title: '下发用户',
width:"20%",
align: 'center',
templet: function (d) {
var test = '<select style="border:solid 1px #009688;color:#009688; width:82px; border-radius:5px;padding-left:15px;" lay-ignore class="selData">'
for (var j = 0; j < d.cmdbUsers.length; j++) {
if (j == 0) {
test += '<option value="' + d.cmdbUsers[j].id + '" selected>' + d.cmdbUsers[j].userName + '</option>';
} else {
test += '<option value="' + d.cmdbUsers[j].id + '">' + d.cmdbUsers[j].userName + '</option>';
}
}
test += ' </select>';
return test;
}
}