@@ -35,8 +35,8 @@ var bootstrap = function ($, learun) { | |||||
$('#StuId').lrGirdSelect({ | $('#StuId').lrGirdSelect({ | ||||
// 字段 | // 字段 | ||||
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuInfoBasic', | url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuInfoBasic', | ||||
selectWord: 'stuname', | |||||
value: 'stuid', | |||||
selectWord: 'stuno', | |||||
value: 'stuno', | |||||
text: 'stuno', | text: 'stuno', | ||||
headData: [ | headData: [ | ||||
{ label: "学号", name: "stuno", width: 100, align: "left" }, | { label: "学号", name: "stuno", width: 100, align: "left" }, | ||||
@@ -25,10 +25,11 @@ var bootstrap = function ($, learun) { | |||||
$('#ClockStatus').lrDataItemSelect({ code: 'ADStatus' }); | $('#ClockStatus').lrDataItemSelect({ code: 'ADStatus' }); | ||||
$('#AIsOut').lrDataItemSelect({ code: 'YesOrNoBit' }); | $('#AIsOut').lrDataItemSelect({ code: 'YesOrNoBit' }); | ||||
$('#ADPhoto').lrUploader(); | $('#ADPhoto').lrUploader(); | ||||
$('#UserNo').lrDataSourceSelect({ code: 'BaseUser', value: 'f_account', text: 'f_realname', | |||||
$('#UserNo').lrDataSourceSelect({ | |||||
code: 'EmpInfo', value: 'empno', text: 'empname', | |||||
select: function(item){ | select: function(item){ | ||||
if(item){ | if(item){ | ||||
$('#UserName').val(item.f_realname); | |||||
$('#UserName').val(item.empname); | |||||
} | } | ||||
} | } | ||||
}); | }); | ||||
@@ -29,8 +29,6 @@ var bootstrap = function ($, learun) { | |||||
}, | }, | ||||
bind: function () { | bind: function () { | ||||
var dfop = top.lrGirdSelect[dfopid]; | var dfop = top.lrGirdSelect[dfopid]; | ||||
console.log(dfop); | |||||
debugger | |||||
$('#btn_Search').on('click', function () { | $('#btn_Search').on('click', function () { | ||||
var keyword = $('#txt_Keyword').val(); | var keyword = $('#txt_Keyword').val(); | ||||
if (dfop._loaded) { | if (dfop._loaded) { | ||||