@@ -119,7 +119,7 @@ var bootstrap = function ($, learun) { | |||
}); | |||
$('#RegionNo').lrselect(); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); | |||
//初始学历 | |||
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', 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', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit']; | |||
var colDataItemCode = ['BCdPartyFace', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', '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 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']; | |||
@@ -182,16 +182,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||
@@ -67,8 +67,8 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
$('#RegionNo').lrselect(); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese',value: 'overseaschineseno',text: 'overseaschinesename' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus',value: 'healthstatusno',text: 'healthstatus' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
@@ -513,12 +513,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "健康状况", name: "HealthStatusNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
callback(_data['healthstatus']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -107,7 +107,7 @@ var bootstrap = function ($, learun) { | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
@@ -107,7 +107,7 @@ var bootstrap = function ($, learun) { | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
@@ -188,13 +188,13 @@ var bootstrap = function ($, learun) { | |||
$('#OneIdCardType').lrDataItemSelect({ code: 'IdCardType' }); | |||
$('#OneNationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#OnePartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#OneHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#OneHealthStatus').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#TwoMembership').lrDataItemSelect({ code: 'FamilyRelation' }); | |||
$('#TwoIsGuardian').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
$('#TwoIdCardType').lrDataItemSelect({ code: 'IdCardType' }); | |||
$('#TwoNationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#TwoPartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#TwoHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#TwoHealthStatus').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
@@ -243,16 +243,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||
@@ -66,7 +66,7 @@ var bootstrap = function ($, learun) { | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
@@ -401,12 +401,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "健康状况", name: "HealthStatusNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
callback(_data['healthstatus']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -565,12 +564,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "成员1健康状况", name: "OneHealthStatus", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
callback(_data['healthstatus']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -642,12 +640,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "成员2健康状况", name: "TwoHealthStatus", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
callback(_data['healthstatus']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -300,13 +300,11 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
@@ -523,16 +521,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||
@@ -300,16 +300,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||
@@ -531,16 +528,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||
@@ -286,16 +286,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||
@@ -572,16 +569,13 @@ | |||
}, | |||
healthStatusNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'healthstatusno', | |||
code: 'BCdHealthStatus', | |||
callback: function (_data) { | |||
result = _data.healthstatus; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
deptNo: function (value) { | |||