|
|
@@ -28,7 +28,7 @@ var bootstrap = function ($, learun) { |
|
|
|
text: 'f_realname', |
|
|
|
headData: |
|
|
|
[ |
|
|
|
{ label: "编号", name: "f_encode", width: 100, align: "left" }, |
|
|
|
{ label: "编号", name: "f_userid", width: 100, align: "left", ishide: true}, |
|
|
|
{ label: "姓名", name: "f_realname", width: 100, align: "left" }, |
|
|
|
{ |
|
|
|
label: "部门", name: "f_departmentid", width: 100, align: "left", |
|
|
@@ -47,7 +47,7 @@ var bootstrap = function ($, learun) { |
|
|
|
select: function (item) { |
|
|
|
////赋值 |
|
|
|
$("#Name").val(item.f_realname); |
|
|
|
$("#JZGNo").val(item.f_encode); |
|
|
|
$("#UserId").val(item.f_userid); |
|
|
|
$("#Department").lrselectSet(item.f_departmentid); |
|
|
|
} |
|
|
|
}); |
|
|
@@ -60,11 +60,6 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#' + id ).jfGridSet('refreshdata', data[id]); |
|
|
|
} |
|
|
|
else { |
|
|
|
//console.log(data[id]) |
|
|
|
//if (id == 'OfficeEquipment' && data[id]) { |
|
|
|
// data[id].Name = "任山"; |
|
|
|
//} |
|
|
|
//$('[data-table="' + id + '"]').lrSetFormData(data[id]); |
|
|
|
$('[data-table="' + id + '"]').lrSetFormData(data[id]); |
|
|
|
} |
|
|
|
} |
|
|
|