@@ -118,7 +118,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
$('#RegionNo').lrselect(); | $('#RegionNo').lrselect(); | ||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true }); | |||||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); | $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); | ||||
//初始学历 | //初始学历 | ||||
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | $('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | ||||
@@ -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', 'BCdNationality', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', 'BCdHealthStatus','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit']; | |||||
var colDataItemCode = ['BCdPartyFace', 'BCdNationality', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', 'BCdOverseasChinese','BCdHealthStatus','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']; | ||||
@@ -166,13 +166,11 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
@@ -67,7 +67,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}); | }); | ||||
$('#RegionNo').lrselect(); | $('#RegionNo').lrselect(); | ||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | ||||
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | $('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | ||||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | ||||
@@ -499,12 +499,11 @@ var bootstrap = function ($, learun) { | |||||
{ | { | ||||
label: "港澳台侨", name: "OverseasChineseNo", width: 100, align: "left", | label: "港澳台侨", name: "OverseasChineseNo", 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=' + 'BCdOverseasChinese', | |||||
learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
callback(_data['overseaschinesename']); | |||||
callback(_data.text); | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) { | |||||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | ||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | ||||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | $('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | ||||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | $('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | ||||
@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) { | |||||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | ||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | ||||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | $('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | ||||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | $('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | ||||
@@ -227,16 +227,13 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
healthStatusNo: function (value) { | healthStatusNo: function (value) { | ||||
@@ -69,7 +69,7 @@ var bootstrap = function ($, learun) { | |||||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | ||||
$('#Photo').lrUploader(); | $('#Photo').lrUploader(); | ||||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | ||||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | ||||
$('#DeptNo').lrselect({ | $('#DeptNo').lrselect({ | ||||
value: "deptno", | value: "deptno", | ||||
@@ -351,16 +351,13 @@ | |||||
}, | }, | ||||
filter_BCdOverseasChinese: function (value) { | filter_BCdOverseasChinese: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result=_data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
filter_CollegeType: function (value) { | filter_CollegeType: function (value) { | ||||
@@ -284,16 +284,13 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
healthStatusNo: function (value) { | healthStatusNo: function (value) { | ||||
@@ -503,16 +500,13 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
healthStatusNo: function (value) { | healthStatusNo: function (value) { | ||||
@@ -284,16 +284,13 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
healthStatusNo: function (value) { | healthStatusNo: function (value) { | ||||
@@ -270,13 +270,11 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
@@ -551,16 +549,13 @@ | |||||
}, | }, | ||||
overseasChineseNo: function (value) { | overseasChineseNo: function (value) { | ||||
var result; | var result; | ||||
top.learun.clientdata.getAsync('custmerData', { | |||||
sync: true, | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||||
top.learun.clientdata.getAsync('dataItem', { | |||||
key: value, | key: value, | ||||
keyId: 'overseaschineseno', | |||||
code: 'BCdOverseasChinese', | |||||
callback: function (_data) { | callback: function (_data) { | ||||
result = _data.overseaschinesename; | |||||
result = _data.text; | |||||
} | } | ||||
}); | }); | ||||
return result; | return result; | ||||
}, | }, | ||||
healthStatusNo: function (value) { | healthStatusNo: function (value) { | ||||