@@ -118,19 +118,19 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
$('#RegionNo').lrselect(); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); | |||
//初始学历 | |||
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true }); | |||
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' }); | |||
$('#SubjectSpeciesNo').lrDataItemSelect({ code: 'BCdSubjectSpecies', allowSearch: true }); | |||
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage', allowSearch: true }); | |||
$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); | |||
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | |||
$('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' }); | |||
//$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); | |||
$('#PostRank').lrDataSourceSelect({ code: 'BCdTitleOfTechPost', value: 'titleoftechpostno', text: 'titleoftechpost' }); | |||
$('#PostRank').lrDataItemSelect({ code: 'BCdTitleOfTechPost', allowSearch: true }); | |||
$('#Photo').lrUploader(); | |||
//最高学历 | |||
$('#HighestRecord').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | |||
@@ -8,7 +8,7 @@ var acceptClick; | |||
var keyValue = request('keyValue'); | |||
var isTeacher = request('isTeacher'); | |||
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', 'BCdSubjectSpecies', 'BCdOverseasChinese', 'BCdHealthStatus', 'BCdTitleOfTechPost','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 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']; | |||
@@ -87,30 +87,8 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
$('#RegionNo').lrselect(); | |||
//$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
//$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
//$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' }); | |||
//$('#DegreeNo').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' }); | |||
//$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||
//$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' }); | |||
//$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' }); | |||
//$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); | |||
//$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | |||
//$('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' }); | |||
//$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); | |||
//$('#PostRank').lrDataSourceSelect({ code: 'BCdTitleOfTechPost', value: 'titleoftechpostno', text: 'titleoftechpost' }); | |||
$('#Photo').lrUploader(); | |||
//$('#HighestRecord').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' }); | |||
//$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'ObtainWay' }); | |||
//$('#InitialDegree').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' }); | |||
//$('#ObtainWayOfInitialDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' }); | |||
//$('#ObtainWayOfHighestDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' }); | |||
//$('#PositionLevel').lrDataItemSelect({ code: 'PositionLevel' }); | |||
//$('#JobRank').lrDataItemSelect({ code: 'TechnicalPost' }); | |||
//$('#WorkLevel').lrDataItemSelect({ code: 'TechnicalLevelOfWorker' }); | |||
//$('#CompilationCategory').lrDataItemSelect({ code: 'CompilationCategory' }); | |||
//$('#IsInActiveStatus').lrDataItemSelect({ code: 'JobStatus' }); | |||
//内容编辑器 | |||
ue = UE.getEditor('editor'); | |||
@@ -166,13 +166,11 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
@@ -203,13 +201,12 @@ | |||
}, | |||
subjectSpeciesNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'subjectspeciesno', | |||
code: 'BCdSubjectSpecies', | |||
callback: function (_data) { | |||
result = _data.subjectspecies; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -311,13 +308,11 @@ | |||
}, | |||
titleOfTechPostNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'titleoftechpostno', | |||
code: 'BCdTitleOfTechPost', | |||
callback: function (_data) { | |||
result = _data['titleoftechpost']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -67,17 +67,16 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
$('#RegionNo').lrselect(); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' }); | |||
$('#SubjectSpeciesNo').lrDataItemSelect({ code: 'BCdSubjectSpecies' }); | |||
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage' }); | |||
$('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' }); | |||
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' }); | |||
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo',value: 'deptno',text: 'deptname' }); | |||
$('#TitleOfTechPostNo').lrDataSourceSelect({ code: 'BCdTitleOfTechPost',value: 'titleoftechpostno',text: 'titleoftechpost' }); | |||
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });$('#TitleOfTechPostNo').lrDataItemSelect({ code: 'BCdTitleOfTechPost', allowSearch: true }); | |||
$('#Photo').lrUploader(); | |||
$("#lrUploader_uploadBtn_Photo").hide(); | |||
}, | |||
@@ -494,12 +494,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "港澳台侨", name: "OverseasChineseNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
callback(_data['overseaschinesename']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -533,12 +532,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "学科门类", name: "SubjectSpeciesNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'subjectspeciesno', | |||
code: 'BCdSubjectSpecies', | |||
callback: function (_data) { | |||
callback(_data['subjectspecies']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -570,12 +568,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "岗位名称", name: "TitleOfTechPostNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'titleoftechpostno', | |||
code: 'BCdTitleOfTechPost', | |||
callback: function (_data) { | |||
callback(_data['titleoftechpost']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -417,12 +417,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "职级", name: "PostRank", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'titleoftechpostno', | |||
code: 'BCdTitleOfTechPost', | |||
callback: function (_data) { | |||
callback(_data['titleoftechpost']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) { | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | |||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | |||
@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) { | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | |||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | |||
@@ -227,16 +227,13 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
healthStatusNo: function (value) { | |||
@@ -69,7 +69,7 @@ var bootstrap = function ($, learun) { | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#DeptNo').lrselect({ | |||
value: "deptno", | |||
@@ -351,16 +351,13 @@ | |||
}, | |||
filter_BCdOverseasChinese: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result=_data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
filter_CollegeType: function (value) { | |||
@@ -284,16 +284,13 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
healthStatusNo: function (value) { | |||
@@ -503,16 +500,13 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
healthStatusNo: function (value) { | |||
@@ -540,13 +534,12 @@ | |||
}, | |||
subjectSpeciesNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'subjectspeciesno', | |||
code: 'BCdSubjectSpecies', | |||
callback: function (_data) { | |||
result = _data.subjectspecies; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -648,13 +641,11 @@ | |||
}, | |||
titleOfTechPostNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'titleoftechpostno', | |||
code: 'BCdTitleOfTechPost', | |||
callback: function (_data) { | |||
result = _data['titleoftechpost']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -284,16 +284,13 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
healthStatusNo: function (value) { | |||
@@ -547,13 +544,12 @@ | |||
}, | |||
subjectSpeciesNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'subjectspeciesno', | |||
code: 'BCdSubjectSpecies', | |||
callback: function (_data) { | |||
result = _data.subjectspecies; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -666,13 +662,11 @@ | |||
}, | |||
titleOfTechPostNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'titleoftechpostno', | |||
code: 'BCdTitleOfTechPost', | |||
callback: function (_data) { | |||
result = _data['titleoftechpost']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -270,13 +270,11 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
@@ -551,16 +549,13 @@ | |||
}, | |||
overseasChineseNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'overseaschineseno', | |||
code: 'BCdOverseasChinese', | |||
callback: function (_data) { | |||
result = _data.overseaschinesename; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
healthStatusNo: function (value) { | |||
@@ -588,13 +583,12 @@ | |||
}, | |||
subjectSpeciesNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'subjectspeciesno', | |||
code: 'BCdSubjectSpecies', | |||
callback: function (_data) { | |||
result = _data.subjectspecies; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -696,13 +690,11 @@ | |||
}, | |||
titleOfTechPostNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'titleoftechpostno', | |||
code: 'BCdTitleOfTechPost', | |||
callback: function (_data) { | |||
result = _data['titleoftechpost']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||