@@ -127,7 +127,7 @@ var bootstrap = function ($, learun) { | |||||
//初始学历 | //初始学历 | ||||
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | $('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | ||||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | ||||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true }); | |||||
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' }); | $('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' }); | ||||
$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' }); | $('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' }); | ||||
$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); | $('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); | ||||
@@ -220,13 +220,12 @@ | |||||
}, | }, | ||||
familyOriginNo: function (value) { | familyOriginNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'familyoriginno', | |||||
code: 'BCdFamilyOrigin', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.familyorigin; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
@@ -71,7 +71,7 @@ var bootstrap = function ($, learun) { | |||||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus',value: 'healthstatusno',text: 'healthstatus' }); | $('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus',value: 'healthstatusno',text: 'healthstatus' }); | ||||
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | $('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | ||||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | ||||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin',value: 'familyoriginno',text: 'familyorigin' }); | |||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||||
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' }); | $('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' }); | ||||
$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage',value: 'foreignlanguageno',text: 'foreignlanguagename' }); | $('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage',value: 'foreignlanguageno',text: 'foreignlanguagename' }); | ||||
$('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' }); | $('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' }); | ||||
@@ -572,12 +572,11 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "家庭出身", name: "FamilyOriginNo", width: 100, align: "left", | label: "家庭出身", name: "FamilyOriginNo", 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=' + 'BCdFamilyOrigin', | |||||
learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'familyoriginno', | |||||
code: 'BCdFamilyOrigin', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
callback(_data['familyorigin']); | |||||
callback(_data.text); | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) { | |||||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | $('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | ||||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | $('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | $('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | ||||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | ||||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | $('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | ||||
@@ -109,7 +109,7 @@ var bootstrap = function ($, learun) { | |||||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | $('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | ||||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | $('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | $('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | ||||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | ||||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | $('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | ||||
@@ -68,7 +68,7 @@ var bootstrap = function ($, learun) { | |||||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | $('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | ||||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | $('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | $('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | ||||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | ||||
$('#DeptNo').lrselect({ | $('#DeptNo').lrselect({ | ||||
@@ -288,13 +288,11 @@ | |||||
}, | }, | ||||
filter_BCdFamilyOrigin: function (value) { | filter_BCdFamilyOrigin: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'familyoriginno', | |||||
code: 'BCdFamilyOrigin', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data['familyorigin']; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
@@ -561,13 +561,12 @@ | |||||
}, | }, | ||||
familyOriginNo: function (value) { | familyOriginNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'familyoriginno', | |||||
code: 'BCdFamilyOrigin', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.familyorigin; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
@@ -569,13 +569,12 @@ | |||||
}, | }, | ||||
familyOriginNo: function (value) { | familyOriginNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'familyoriginno', | |||||
code: 'BCdFamilyOrigin', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.familyorigin; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
@@ -610,13 +610,12 @@ | |||||
}, | }, | ||||
familyOriginNo: function (value) { | familyOriginNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'familyoriginno', | |||||
code: 'BCdFamilyOrigin', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.familyorigin; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||