@@ -92,7 +92,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
} | } | ||||
}); | }); | ||||
$('#DegreeNo').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' }); | |||||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | |||||
//职称 | //职称 | ||||
$('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' }); | $('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' }); | ||||
//校区 | //校区 | ||||
@@ -172,7 +172,7 @@ var bootstrap = function ($, learun) { | |||||
$('#TestStuSortNo').lrDataItemSelect({ code: 'TestStuSortNo' }); | $('#TestStuSortNo').lrDataItemSelect({ code: 'TestStuSortNo' }); | ||||
$('#EntranceWay').lrDataItemSelect({ code: 'EntranceWay' }); | $('#EntranceWay').lrDataItemSelect({ code: 'EntranceWay' }); | ||||
$('#StudyingWay').lrDataItemSelect({ code: 'StudyWay' }); | $('#StudyingWay').lrDataItemSelect({ code: 'StudyWay' }); | ||||
$('#CountryNo').lrDataSourceSelect({ code: 'BCdCountry', value: 'countryno', text: 'country' }); | |||||
$('#CountryNo').lrDataItemSelect({ code: 'BCdCountry' }); | |||||
$('#MarriageStatus').lrDataItemSelect({ code: 'MarriageType' }); | $('#MarriageStatus').lrDataItemSelect({ code: 'MarriageType' }); | ||||
$('#IsTrailChildren').lrDataItemSelect({ code: 'YesOrNoInt' }); | $('#IsTrailChildren').lrDataItemSelect({ code: 'YesOrNoInt' }); | ||||
$('#StuLivePlaceType').lrDataItemSelect({ code: 'StuLivePlaceType' }); | $('#StuLivePlaceType').lrDataItemSelect({ code: 'StuLivePlaceType' }); | ||||
@@ -286,12 +286,11 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "国籍/地区", name: "CountryNo", width: 100, align: "left", | label: "国籍/地区", name: "CountryNo", width: 100, align: "left", | ||||
formatterAsync: function (callback, value, row, op, $cell) { | formatterAsync: function (callback, value, row, op, $cell) { | ||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdCountry', | |||||
learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'countryno', | |||||
code: 'BCdCountry', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
callback(_data['country']); | |||||
callback(_data.text); | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||