|
|
@@ -50,8 +50,8 @@ var bootstrap = function ($, learun) { |
|
|
|
//政治面貌 |
|
|
|
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace', allowSearch: true }); |
|
|
|
//最高学历 |
|
|
|
$('#HighestRecord').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' }); |
|
|
|
|
|
|
|
//$('#HighestRecord').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' }); |
|
|
|
$('#HighestRecord').lrDataItemSelect({ code: 'RecordInSchool', allowSearch: true }); |
|
|
|
|
|
|
|
//民族 |
|
|
|
$('#NationalityNo').lrDataItemSelect({ code: 'National', allowSearch: true }); |
|
|
@@ -60,7 +60,7 @@ var bootstrap = function ($, learun) { |
|
|
|
//是否审核 |
|
|
|
$('#CheckMark').lrDataItemSelect({ code: 'YesOrNoInt' }); |
|
|
|
//学位 |
|
|
|
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); |
|
|
|
$('#DegreeNo').lrDataItemSelect({ code: 'DegreeInSchool' }); |
|
|
|
|
|
|
|
// 部门选择 |
|
|
|
$('#F_DepartmentId').lrselect({ |
|
|
@@ -92,7 +92,7 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); |
|
|
|
$('#DegreeNo').lrDataItemSelect({ code: 'DegreeInSchool' }); |
|
|
|
//职称 |
|
|
|
$('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' }); |
|
|
|
//校区 |
|
|
@@ -412,9 +412,9 @@ var bootstrap = function ($, learun) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', |
|
|
|
key: value, |
|
|
|
keyId: 'id', |
|
|
|
keyId: 'f_departmentid', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['name']); |
|
|
|
callback(_data['f_fullname']); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@@ -494,12 +494,19 @@ var bootstrap = function ($, learun) { |
|
|
|
{ |
|
|
|
label: "最高学历", name: "HighestRecord", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
learun.clientdata.getAsync('custmerData', { |
|
|
|
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdCultureDegree', |
|
|
|
//learun.clientdata.getAsync('custmerData', { |
|
|
|
// url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdCultureDegree', |
|
|
|
// key: value, |
|
|
|
// keyId: 'culturedegreeno', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data['culturedegree']); |
|
|
|
// } |
|
|
|
//}); |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
keyId: 'culturedegreeno', |
|
|
|
code: 'RecordInSchool', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data['culturedegree']); |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@@ -507,9 +514,16 @@ var bootstrap = function ($, learun) { |
|
|
|
{ |
|
|
|
label: "最高学位", name: "DegreeNo", width: 100, align: "left", |
|
|
|
formatterAsync: function (callback, value, row, op, $cell) { |
|
|
|
//learun.clientdata.getAsync('dataItem', { |
|
|
|
// key: value, |
|
|
|
// code: 'BCdDegree', |
|
|
|
// callback: function (_data) { |
|
|
|
// callback(_data.text); |
|
|
|
// } |
|
|
|
//}); |
|
|
|
learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'BCdDegree', |
|
|
|
code: 'DegreeInSchool', |
|
|
|
callback: function (_data) { |
|
|
|
callback(_data.text); |
|
|
|
} |
|
|
|