@@ -108,7 +108,7 @@ var bootstrap = function ($, learun) { | |||||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | $('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | ||||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | $('#NationalityNo').lrDataItemSelect({ code: 'National' }); | ||||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | ||||
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus' }); | |||||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||||
$('#HealthStatusNo').lrDataItemSelect({ code: 'StuHealthType' }); | $('#HealthStatusNo').lrDataItemSelect({ code: 'StuHealthType' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | ||||
@@ -324,11 +324,12 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | ||||
formatterAsync: function (callback, value, row, op, $cell) { | formatterAsync: function (callback, value, row, op, $cell) { | ||||
learun.clientdata.getAsync('dataItem', { | |||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||||
key: value, | key: value, | ||||
code: 'BCdPartyFace', | |||||
keyId: 'partyfaceno', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
callback(_data.text); | |||||
callback(_data['partyface']); | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||