@@ -125,7 +125,7 @@ var bootstrap = function ($, learun) { | |||||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | ||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true }); | $('#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').lrDataItemSelect({ code: 'BCdForeignLanguage', allowSearch: true }); | |||||
$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); | $('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); | ||||
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | $('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | ||||
$('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' }); | $('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' }); | ||||
@@ -8,7 +8,7 @@ var acceptClick; | |||||
var keyValue = request('keyValue'); | var keyValue = request('keyValue'); | ||||
var isTeacher = request('isTeacher'); | var isTeacher = request('isTeacher'); | ||||
var colDataItemArr = ['GenderNo', 'IsInActiveStatus', 'EmpSortNo', 'PositionLevel', 'CompilationCategory', 'ObtainWayOfHighestRecord', 'ObtainWay', 'ObtainWayOfHighestDegree', 'ObtainWayOfInitialDegree', 'JobRank', 'WorkLevel', 'EmpFullTimeNo', 'IsHasLesson']; | var colDataItemArr = ['GenderNo', 'IsInActiveStatus', 'EmpSortNo', 'PositionLevel', 'CompilationCategory', 'ObtainWayOfHighestRecord', 'ObtainWay', 'ObtainWayOfHighestDegree', 'ObtainWayOfInitialDegree', 'JobRank', 'WorkLevel', 'EmpFullTimeNo', 'IsHasLesson']; | ||||
var colDataItemCode = ['BCdPartyFace', 'BCdDegree', 'BCdFamilyOrigin','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit']; | |||||
var colDataItemCode = ['BCdPartyFace', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit']; | |||||
var colDataSourceArr = ['PartyFaceNo', 'NationalityNo', 'HealthStatusNo', 'FamilyOriginNo', 'OverseasChineseNo', 'F_CompanyId', 'F_DepartmentId', 'DeptNo', 'PostRank', 'HighestRecord', 'CultureDegreeNo', 'DegreeNo', 'InitialDegree', 'SubjectSpeciesNo', 'ForeignLanguageNo']; | var colDataSourceArr = ['PartyFaceNo', 'NationalityNo', 'HealthStatusNo', 'FamilyOriginNo', 'OverseasChineseNo', 'F_CompanyId', 'F_DepartmentId', 'DeptNo', 'PostRank', 'HighestRecord', 'CultureDegreeNo', 'DegreeNo', 'InitialDegree', 'SubjectSpeciesNo', 'ForeignLanguageNo']; | ||||
var colDataSourceCode = ['BCdPartyFace', 'BCdNationality', 'BCdHealthStatus', 'BCdFamilyOrigin', 'BCdOverseasChinese', 'company', 'classdata', 'CdDeptInfo', 'BCdTitleOfTechPost', 'BCdCultureDegree', 'BCdCultureDegree', 'BCdDegree', 'BCdSubjectSpecies', 'BCdForeignLanguage']; | var colDataSourceCode = ['BCdPartyFace', 'BCdNationality', 'BCdHealthStatus', 'BCdFamilyOrigin', 'BCdOverseasChinese', 'company', 'classdata', 'CdDeptInfo', 'BCdTitleOfTechPost', 'BCdCultureDegree', 'BCdCultureDegree', 'BCdDegree', 'BCdSubjectSpecies', 'BCdForeignLanguage']; | ||||
var colDataSourceValue = ['partyfaceno', 'nationalityno', 'healthstatusno', 'familyoriginno', 'overseaschineseno', 'f_companyid', 'f_departmentid', 'deptno', 'titleoftechpostno', 'culturedegreeno', 'culturedegreeno', 'degreeno', 'degreeno', 'subjectspeciesno', 'foreignlanguageno']; | var colDataSourceValue = ['partyfaceno', 'nationalityno', 'healthstatusno', 'familyoriginno', 'overseaschineseno', 'f_companyid', 'f_departmentid', 'deptno', 'titleoftechpostno', 'culturedegreeno', 'culturedegreeno', 'degreeno', 'degreeno', 'subjectspeciesno', 'foreignlanguageno']; | ||||
@@ -231,13 +231,12 @@ | |||||
}, | }, | ||||
foreignLanguageNo: function (value) { | foreignLanguageNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdForeignLanguage', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'foreignlanguageno', | |||||
code: 'BCdForeignLanguage', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.foreignlanguagename; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
@@ -73,7 +73,7 @@ var bootstrap = function ($, learun) { | |||||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | ||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | $('#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').lrDataItemSelect({ code: 'BCdForeignLanguage' }); | |||||
$('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' }); | $('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' }); | ||||
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | $('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | ||||
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo',value: 'deptno',text: 'deptname' }); | $('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo',value: 'deptno',text: 'deptname' }); | ||||
@@ -572,13 +572,12 @@ | |||||
}, | }, | ||||
foreignLanguageNo: function (value) { | foreignLanguageNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdForeignLanguage', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'foreignlanguageno', | |||||
code: 'BCdForeignLanguage', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.foreignlanguagename; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
@@ -621,13 +621,12 @@ | |||||
}, | }, | ||||
foreignLanguageNo: function (value) { | foreignLanguageNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdForeignLanguage', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'foreignlanguageno', | |||||
code: 'BCdForeignLanguage', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.foreignlanguagename; | |||||
}.bind(this) | |||||
result = _data.text; | |||||
} | |||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||