@@ -121,12 +121,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '民族', name: 'Nation', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -134,12 +133,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '政治面貌', name: 'PoliticsFace', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -117,12 +117,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '民族', name: 'Nation', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -130,12 +129,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '政治面貌', name: 'PoliticsFace', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -16,7 +16,7 @@ var bootstrap = function ($, learun) { | |||
}, | |||
bind: function () { | |||
$("#SexId").lrDataItemSelect({ code: 'usersex' }); | |||
$('#Nation').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$("#Nation").lrDataItemSelect({ code: 'National' }); | |||
$('#PhotoUrl').lrUploader(); | |||
$('#Province').lrDataSourceSelect({ | |||
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | |||
@@ -56,7 +56,7 @@ var bootstrap = function ($, learun) { | |||
$('#Country').lrselect({ | |||
value: 'ACODE', text: 'ANAME' | |||
}); | |||
$('#PoliticsFace').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$("#PoliticsFace").lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$("#OriginId").lrDataItemSelect({ code: 'ResidenceNo' }); | |||
$("#DataSource").lrDataItemSelect({ code: 'AdmissionsDataSource' }); | |||
$("#ExamineTypeId").lrDataItemSelect({ code: 'ExamineType' }); | |||
@@ -148,13 +148,11 @@ var bootstrap = function ($, learun) { | |||
label: '政治面貌', name: 'PoliticalId', width: 100, align: 'left' | |||
, edit: { | |||
type: 'select', | |||
datatype: 'dataSource', | |||
code: 'BCdPartyFace', | |||
op: { | |||
value: 'partyfaceno', | |||
text: 'partyface', | |||
title: 'partyface' | |||
} | |||
init: function (data, $edit) { | |||
}, | |||
datatype: 'dataItem', | |||
code: 'BCdPartyFace' | |||
} | |||
}, | |||
{ | |||
@@ -189,12 +189,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '民族', name: 'Nation', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -202,12 +201,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '政治面貌', name: 'PoliticsFace', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -119,12 +119,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '民族', name: 'Nation', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -132,12 +131,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '政治面貌', name: 'PoliticsFace', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -116,17 +116,16 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||
//部门 | |||
empInfo.DepartmentName = departmentIBLL.GetEntity(empInfo.F_DepartmentId)?.F_FullName; | |||
//民族 | |||
var nationality = dataSourceIBLL.GetDataTable("BCdNationality", "t.NationalityNo='" + empInfo.NationalityNo + "'"); | |||
if (nationality != null && nationality.Rows.Count > 0) | |||
{ | |||
empInfo.NationalityNo = nationality.Rows[0][1].ToString(); | |||
} | |||
empInfo.NationalityNo = dataItemIBLL.GetDetailList("National").FirstOrDefault(x => x.F_ItemValue == empInfo.NationalityNo)?.F_ItemName; | |||
//var nationality = dataSourceIBLL.GetDataTable("BCdNationality", "t.NationalityNo='" + empInfo.NationalityNo + "'"); | |||
//if (nationality != null && nationality.Rows.Count > 0) | |||
//{ | |||
// empInfo.NationalityNo = nationality.Rows[0][1].ToString(); | |||
//} | |||
//政治面貌 | |||
var partyFace = dataSourceIBLL.GetDataTable("BCdPartyFace", "t.PartyFaceNo='" + empInfo.PartyFaceNo + "'"); | |||
if (partyFace != null && partyFace.Rows.Count > 0) | |||
{ | |||
empInfo.PartyFaceNo = partyFace.Rows[0][1].ToString(); | |||
} | |||
empInfo.PartyFaceNo = dataItemIBLL.GetDetailList("BCdPartyFace").FirstOrDefault(x => x.F_ItemValue == empInfo.PartyFaceNo)?.F_ItemName; | |||
//最高学历 | |||
var highestRecord = dataSourceIBLL.GetDataTable("BCdCultureDegree", "t.CultureDegreeNo='" + empInfo.HighestRecord + "'"); | |||
if (highestRecord != null && highestRecord.Rows.Count > 0) | |||
@@ -14,6 +14,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||
{ | |||
// GET: EducationalAdministration/EmpInfoEnternal | |||
DataSourceIBLL dataSourceIBLL = new DataSourceBLL(); | |||
DataItemIBLL dataItemIBLL = new DataItemBLL(); | |||
UserIBLL userIBLL = new UserBLL(); | |||
EmpInfoIBLL empInfoIBLL = new EmpInfoBLL(); | |||
AnnexesFileIBLL annexesFileIBLL = new AnnexesFileBLL(); | |||
@@ -53,6 +54,21 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers | |||
} | |||
} | |||
/// <summary> | |||
/// 获取数据字典数据 | |||
/// </summary> | |||
/// <param name="code">数据源编号</param> | |||
/// <param name="strWhere">sql查询条件语句</param> | |||
/// <param name="queryJson">数据源请求条件字串</param> | |||
/// <returns></returns> | |||
[HttpGet] | |||
[AjaxOnly] | |||
public ActionResult GetDataItemMap(string code, string ver) | |||
{ | |||
var data = dataItemIBLL.GetDetailList(code, null); | |||
return JsonResult(data); | |||
} | |||
public ActionResult UploadImg(HttpPostedFileBase Filedata) | |||
{ | |||
@@ -86,8 +86,8 @@ var bootstrap = function ($, learun) { | |||
$('#F_DepartmentId').lrselect(); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#IsHasLesson').lrDataItemSelect({ code: 'YesOrNoBit' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#ProvinceNo').lrDataSourceSelect({ | |||
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | |||
select: function (item) { | |||
@@ -118,24 +118,24 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
$('#RegionNo').lrselect(); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); | |||
//初始学历 | |||
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | |||
$('#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' }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true }); | |||
$('#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 }); | |||
$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'ObtainWay' }); | |||
$('#InitialDegree').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' }); | |||
$('#InitialDegree').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); | |||
$('#ObtainWayOfInitialDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' }); | |||
$('#ObtainWayOfHighestDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' }); | |||
$('#PositionLevel').lrDataItemSelect({ code: 'PositionLevel' }); | |||
@@ -185,7 +185,7 @@ | |||
//登录按钮点击 | |||
form.on('submit(*)', function (data) { | |||
$.ajax({ | |||
url: "/EducationalAdministration/EmpInfo/SaveForm?keyValue=2b7d3b57-6614-4900-affe-9b26bd77bbb4", | |||
data: { strEntity: JSON.stringify(data.field) }, | |||
@@ -287,25 +287,25 @@ | |||
}); | |||
$.ajax({ | |||
url: "/LR_SystemModule/DataSource/GetMap?code=" + "BCdNationality", | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetDataItemMap?code=" + "National", | |||
async: false, | |||
success: function (msg) { | |||
var companys = $.parseJSON(msg).data.data; | |||
var companys = $.parseJSON(msg).data; | |||
var str = '<option value="">请选择</option>'; | |||
$.each(companys, function (i, item) { | |||
str += '<option value="' + item.nationalityno + '">' + item.nationality + '</option>' | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$("#NationalityNo").html(str); | |||
}, | |||
}); | |||
$.ajax({ | |||
url: "/LR_SystemModule/DataSource/GetMap?code=" + "BCdPartyFace", | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetDataItemMap?code=" + "BCdPartyFace", | |||
async: false, | |||
success: function (msg) { | |||
var companys = $.parseJSON(msg).data.data; | |||
var companys = $.parseJSON(msg).data; | |||
var str = '<option value="">请选择</option>'; | |||
$.each(companys, function (i, item) { | |||
str += '<option value="' + item.partyfaceno + '">' + item.partyface + '</option>' | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$("#PartyFaceNo").html(str); | |||
}, | |||
@@ -323,13 +323,13 @@ | |||
}, | |||
}); | |||
$.ajax({ | |||
url: "/LR_SystemModule/DataSource/GetMap?code=" + "BCdDegree", | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetDataItemMap?code=" + "BCdDegree", | |||
async: false, | |||
success: function (msg) { | |||
var companys = $.parseJSON(msg).data.data; | |||
var companys = $.parseJSON(msg).data; | |||
var str = '<option value="">请选择</option>'; | |||
$.each(companys, function (i, item) { | |||
str += '<option value="' + item.degreeno + '">' + item.degreename + '</option>' | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$("#DegreeNo").html(str); | |||
}, | |||
@@ -8,9 +8,9 @@ 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 = ['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', '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 colDataSourceText = ['partyface', 'nationality', 'healthstatus', 'familyorigin', 'overseaschinesename', 'f_fullname', 'f_fullname', 'deptname', 'titleoftechpost', 'culturedegree', 'culturedegree', 'degreename', 'degreename', 'subjectspecies', 'foreignlanguagename']; | |||
var bootstrap = function ($, learun) { | |||
@@ -56,29 +56,7 @@ var bootstrap = function ($, learun) { | |||
// 显示信息选项卡 | |||
$('#tablist').lrFormTabEx(); | |||
$('#tablist li').eq(0).trigger('click'); | |||
//校区 | |||
//$('#F_CompanyId').lrDataSourceSelect({ | |||
// code: 'company', value: 'f_companyid', text: 'f_fullname', | |||
// select: function (item) { | |||
// if (!!item) { | |||
// // 部门 | |||
// $('#F_DepartmentId').lrselectRefresh({ | |||
// type: 'tree', | |||
// // 是否允许搜索 | |||
// allowSearch: true, | |||
// // 访问数据接口地址 | |||
// url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', | |||
// // 访问数据接口参数 | |||
// param: { companyId: item.f_companyid, parentId: '0' } | |||
// }); | |||
// } | |||
// } | |||
//}); | |||
//$('#F_DepartmentId').lrselect(); | |||
//$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
//$('#IsHasLesson').lrDataItemSelect({ code: 'YesOrNoBit' }); | |||
//$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
//$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#ProvinceNo').lrDataSourceSelect({ | |||
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | |||
select: function (item) { | |||
@@ -109,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'); | |||
@@ -143,39 +143,34 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
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; | |||
} | |||
}); | |||
@@ -183,16 +178,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) { | |||
@@ -209,37 +201,34 @@ | |||
}, | |||
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; | |||
}, | |||
familyOriginNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'familyoriginno', | |||
code: 'BCdFamilyOrigin', | |||
callback: function (_data) { | |||
result = _data.familyorigin; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
foreignLanguageNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdForeignLanguage', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'foreignlanguageno', | |||
code: 'BCdForeignLanguage', | |||
callback: function (_data) { | |||
result = _data.foreignlanguagename; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -297,13 +286,11 @@ | |||
}, | |||
degreeNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdDegree', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'degreeno', | |||
code: 'BCdDegree', | |||
callback: function (_data) { | |||
result = _data['degreename']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -321,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; | |||
@@ -35,8 +35,8 @@ var bootstrap = function ($, learun) { | |||
}); | |||
$('#F_DepartmentId').lrselect(); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality',value: 'nationalityno',text: 'nationality' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace',value: 'partyfaceno',text: 'partyface' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#ProvinceNo').lrDataSourceSelect({ | |||
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', | |||
select: function (item) { | |||
@@ -67,17 +67,16 @@ var bootstrap = function ($, learun) { | |||
} | |||
}); | |||
$('#RegionNo').lrselect(); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese',value: 'overseaschineseno',text: 'overseaschinesename' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus',value: 'healthstatusno',text: 'healthstatus' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#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' }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#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(); | |||
}, | |||
@@ -48,18 +48,18 @@ var bootstrap = function ($, learun) { | |||
}); | |||
$('#RegionNo').lrselect(); | |||
//政治面貌 | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace', allowSearch: true }); | |||
//最高学历 | |||
$('#HighestRecord').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); | |||
//民族 | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National', allowSearch: true }); | |||
//性别 | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
//是否审核 | |||
$('#CheckMark').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
//学位 | |||
$('#DegreeNo').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' }); | |||
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); | |||
// 部门选择 | |||
$('#F_DepartmentId').lrselect({ | |||
@@ -421,12 +421,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -434,12 +433,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -461,12 +459,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "最高学位", name: "DegreeNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdDegree', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'degreeno', | |||
code: 'BCdDegree', | |||
callback: function (_data) { | |||
callback(_data['degreename']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -502,12 +499,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); | |||
} | |||
}); | |||
} | |||
@@ -515,12 +511,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); | |||
} | |||
}); | |||
} | |||
@@ -529,12 +524,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "家庭出身", name: "FamilyOriginNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'familyoriginno', | |||
code: 'BCdFamilyOrigin', | |||
callback: function (_data) { | |||
callback(_data['familyorigin']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -543,12 +537,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); | |||
} | |||
}); | |||
} | |||
@@ -580,12 +573,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); | |||
} | |||
}); | |||
} | |||
@@ -329,12 +329,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -348,12 +347,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -419,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); | |||
} | |||
}); | |||
} | |||
@@ -314,25 +314,25 @@ | |||
}); | |||
$.ajax({ | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetMap?code=" + "BCdNationality", | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetDataItemMap?code=" + "National", | |||
async: false, | |||
success: function (msg) { | |||
var companys = $.parseJSON(msg).data.data; | |||
var msgObject = $.parseJSON(msg); | |||
var str = '<option value="">请选择</option>'; | |||
$.each(companys, function (i, item) { | |||
str += '<option value="' + item.nationalityno + '">' + item.nationality + '</option>' | |||
$.each(msgObject.data, function (i, item) { | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$("#NationalityNo").html(str); | |||
}, | |||
}); | |||
$.ajax({ | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetMap?code=" + "BCdPartyFace", | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetDataItemMap?code=" + "BCdPartyFace", | |||
async: false, | |||
success: function (msg) { | |||
var companys = $.parseJSON(msg).data.data; | |||
var msgObject = $.parseJSON(msg); | |||
var str = '<option value="">请选择</option>'; | |||
$.each(companys, function (i, item) { | |||
str += '<option value="' + item.partyfaceno + '">' + item.partyface + '</option>' | |||
$.each(msgObject.data, function (i, item) { | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$("#PartyFaceNo").html(str); | |||
}, | |||
@@ -350,13 +350,13 @@ | |||
}, | |||
}); | |||
$.ajax({ | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetMap?code=" + "BCdDegree", | |||
url: "/EducationalAdministration/EmpInfoEnternal/GetDataItemMap?code=" + "BCdDegree", | |||
async: false, | |||
success: function (msg) { | |||
var companys = $.parseJSON(msg).data.data; | |||
var msgObject = $.parseJSON(msg); | |||
var str = '<option value="">请选择</option>'; | |||
$.each(companys, function (i, item) { | |||
str += '<option value="' + item.degreeno + '">' + item.degreename + '</option>' | |||
$.each(msgObject.data, function (i, item) { | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$("#DegreeNo").html(str); | |||
}, | |||
@@ -16,10 +16,10 @@ var bootstrap = function ($, learun) { | |||
}, | |||
bind: function () { | |||
$('#Sex').lrDataItemSelect({ code: 'usersex' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); | |||
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#IsAccommodate').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
}, | |||
initData: function () { | |||
@@ -141,12 +141,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -16,8 +16,8 @@ var bootstrap = function ($, learun) { | |||
}, | |||
bind: function () { | |||
$('#Sex').lrDataItemSelect({ code: 'usersex' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality',value: 'nationalityno',text: 'nationality' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace',value: 'partyfaceno',text: 'partyface' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#CultureDegree').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); | |||
$('#ResidenceNo').lrDataItemSelect({ code: 'ResidenceNo' }); | |||
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo',value: 'majorno',text: 'majorname' }); | |||
@@ -86,12 +86,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -99,12 +98,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -177,12 +177,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -205,12 +204,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -149,12 +149,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -236,12 +236,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -21,9 +21,10 @@ var bootstrap = function ($, learun) { | |||
$('#SubsidizeUrl').lrUploader(); | |||
$('#Gender').lrDataItemSelect({ code: 'usersexbit' }); | |||
//民族 | |||
$('#Nationals').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#Nationals').lrDataItemSelect({ code: 'National' }); | |||
//政治面貌 | |||
$('#Political').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
//$('#Political').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#Political').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#DeptNo').lrselect({ | |||
allowSearch: true, | |||
value: "deptno", | |||
@@ -21,9 +21,9 @@ var bootstrap = function ($, learun) { | |||
$('#SubsidizeUrl').lrUploader(); | |||
$('#Gender').lrDataItemSelect({ code: 'usersexbit' }); | |||
//民族 | |||
$('#Nationals').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#Nationals').lrDataItemSelect({ code: 'National' }); | |||
//政治面貌 | |||
$('#Political').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#Political').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); | |||
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorname' }); | |||
$('#FreshType').lrDataItemSelect({ code: 'timeType' }); | |||
@@ -201,12 +201,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -216,12 +215,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -201,12 +201,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -216,12 +215,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -197,12 +197,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -212,12 +211,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -364,12 +364,11 @@ var bootstrap = function ($, learun) { | |||
{ label: "年级", name: "Grade", width: 100, align: "left" }, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -379,12 +378,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -233,12 +233,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -248,12 +247,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -193,12 +193,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -208,12 +207,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -231,12 +231,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -246,12 +245,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -117,12 +117,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -319,12 +319,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -334,12 +333,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -297,12 +297,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -312,12 +311,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -316,12 +316,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: "民族", name: "Nationals", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -331,12 +330,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "Political", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -104,13 +104,13 @@ var bootstrap = function ($, learun) { | |||
}); | |||
$('#HealthStatus').lrDataItemSelect({ code: 'QRCodeHealthStatus' }); | |||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | |||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | |||
@@ -104,13 +104,13 @@ var bootstrap = function ($, learun) { | |||
}); | |||
$('#HealthStatus').lrDataItemSelect({ code: 'QRCodeHealthStatus' }); | |||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); | |||
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); | |||
@@ -186,15 +186,15 @@ var bootstrap = function ($, learun) { | |||
$('#OneMembership').lrDataItemSelect({ code: 'FamilyRelation' }); | |||
$('#OneIsGuardian').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
$('#OneIdCardType').lrDataItemSelect({ code: 'IdCardType' }); | |||
$('#OneNationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#OnePartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#OneHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#OneNationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#OnePartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#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').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#TwoHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#TwoNationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#TwoPartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#TwoHealthStatus').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
@@ -166,26 +166,22 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -231,30 +227,24 @@ | |||
}, | |||
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) { | |||
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) { | |||
@@ -63,13 +63,13 @@ var bootstrap = function ($, learun) { | |||
text: 'text' | |||
}); | |||
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); | |||
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); | |||
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); | |||
$('#Photo').lrUploader(); | |||
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' }); | |||
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); | |||
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); | |||
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' }); | |||
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); | |||
$('#DeptNo').lrselect({ | |||
value: "deptno", | |||
@@ -311,12 +311,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -324,12 +323,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -58,12 +58,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -376,12 +376,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -389,12 +388,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -402,12 +400,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); | |||
} | |||
}); | |||
} | |||
@@ -541,12 +538,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "成员1民族", name: "OneNationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -554,12 +550,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "成员1政治面貌", name: "OnePartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -567,12 +562,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); | |||
} | |||
}); | |||
} | |||
@@ -619,12 +613,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "成员2民族", name: "TwoNationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -632,12 +625,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "成员2政治面貌", name: "TwoPartyFaceNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -645,12 +637,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); | |||
} | |||
}); | |||
} | |||
@@ -38,12 +38,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -138,7 +138,7 @@ | |||
return; | |||
}; | |||
GetDataItemStr("usersexbit", "@Model.GenderNo","#GenderNo"); | |||
GetDataSourceStr("BCdNationality", "nationalityno", "nationality", "@Model.NationalityNo", "#NationalityNo"); | |||
GetDataItemStr("BCdNationality", "@Model.NationalityNo","#NationalityNo"); | |||
GetDataSourceStr("CdDeptInfo", "deptno", "deptname", "@Model.DeptNo", "#DeptNo"); | |||
GetDataSourceStr("CdMajorInfo", "majorno", "majorname", "@Model.MajorNo", "#MajorNo"); | |||
GetDataSourceStr("bjsj", "classno", "classname", "@Model.ClassNo", "#ClassNo"); | |||
@@ -110,12 +110,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -167,12 +166,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '政治面貌', name: 'PartyFaceNo', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -107,12 +107,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -139,12 +139,11 @@ var bootstrap = function ($, learun) { | |||
{ label: '身份证号', name: 'IdentityCardNo', width: 150, align: "left" }, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -16,9 +16,9 @@ var bootstrap = function ($, learun) { | |||
}, | |||
bind: function () { | |||
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$("#PartyFaceNo").lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$("#NationalityNo").lrDataItemSelect({ code: 'National' }); | |||
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' }); | |||
$("#TestStuSubjectNo").lrDataItemSelect({ code: 'SubjectType' }); | |||
$("#HighTestSortNo").lrDataItemSelect({ code: 'GraduateCategory' }); | |||
@@ -17,9 +17,9 @@ var bootstrap = function ($, learun) { | |||
bind: function () { | |||
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); | |||
$("#IsAccommodate").lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$("#PartyFaceNo").lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$("#NationalityNo").lrDataItemSelect({ code: 'National' }); | |||
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' }); | |||
$("#TestStuSubjectNo").lrDataItemSelect({ code: 'SubjectType' }); | |||
$("#HighTestSortNo").lrDataItemSelect({ code: 'GraduateCategory' }); | |||
@@ -17,9 +17,9 @@ var bootstrap = function ($, learun) { | |||
}, | |||
bind: function () { | |||
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$("#PartyFaceNo").lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$("#NationalityNo").lrDataItemSelect({ code: 'National' }); | |||
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' }); | |||
$("#TestStuSubjectNo").lrDataItemSelect({ code: 'SubjectType' }); | |||
$("#HighTestSortNo").lrDataItemSelect({ code: 'GraduateCategory' }); | |||
@@ -16,9 +16,9 @@ var bootstrap = function ($, learun) { | |||
}, | |||
bind: function () { | |||
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); | |||
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' }); | |||
$("#PartyFaceNo").lrDataItemSelect({ code: 'BCdPartyFace' }); | |||
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); | |||
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$("#NationalityNo").lrDataItemSelect({ code: 'National' }); | |||
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' }); | |||
$("#TestStuSubjectNo").lrDataItemSelect({ code: 'SubjectType' }); | |||
$("#HighTestSortNo").lrDataItemSelect({ code: 'GraduateCategory' }); | |||
@@ -259,12 +259,11 @@ var bootstrap = function ($, learun) { | |||
{ label: '身份证号', name: 'IdentityCardNo', width: 150, align: "left" }, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -248,12 +248,11 @@ var bootstrap = function ($, learun) { | |||
{ label: '身份证号', name: 'IdentityCardNo', width: 150, align: "left" }, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -179,12 +179,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -99,12 +99,11 @@ var bootstrap = function ($, learun) { | |||
{ label: '身份证号', name: 'IdentityCardNo', width: 150, align: "left" }, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -186,12 +186,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -205,12 +205,11 @@ var bootstrap = function ($, learun) { | |||
}, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -185,12 +185,11 @@ var bootstrap = function ($, learun) { | |||
{ label: '身份证号', name: 'IdentityCardNo', width: 150, align: "left" }, | |||
{ | |||
label: '民族', name: 'NationalityNo', width: 80, align: "left", formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -268,12 +267,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: '政治面貌', name: 'PartyFaceNo', width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
callback(_data['partyface']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -39,12 +39,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "NationalityNo", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -263,13 +263,11 @@ | |||
filter_BCdNationality: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -277,26 +275,22 @@ | |||
filter_BCdPartyFace: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result=_data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
filter_BCdFamilyOrigin: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'familyoriginno', | |||
code: 'BCdFamilyOrigin', | |||
callback: function (_data) { | |||
result = _data['familyorigin']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -357,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) { | |||
@@ -30,7 +30,7 @@ var bootstrap = function ($, learun) { | |||
//}); | |||
$('#Gender').lrDataItemSelect({ code: 'usersex' }); | |||
$('#IsInJob').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
$('#Nation').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#Nation').lrDataItemSelect({ code: 'National' }); | |||
}, | |||
initData: function () { | |||
@@ -84,12 +84,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "Nation", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -17,7 +17,7 @@ var bootstrap = function ($, learun) { | |||
bind: function () { | |||
$('#Gender').lrDataItemSelect({ code: 'usersex' }); | |||
$('#IsInJob').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
$('#Nation').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#Nation').lrDataItemSelect({ code: 'National' }); | |||
}, | |||
initData: function () { | |||
if (!!keyValue) { | |||
@@ -85,12 +85,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "Nation", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -17,7 +17,7 @@ var bootstrap = function ($, learun) { | |||
bind: function () { | |||
$('#Gender').lrDataItemSelect({ code: 'usersex' }); | |||
$('#IsInJob').lrDataItemSelect({ code: 'YesOrNoInt' }); | |||
$('#Nation').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); | |||
$('#Nation').lrDataItemSelect({ code: 'National' }); | |||
$('#Education').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' }); | |||
}, | |||
@@ -81,12 +81,11 @@ var bootstrap = function ($, learun) { | |||
{ | |||
label: "民族", name: "Nation", width: 100, align: "left", | |||
formatterAsync: function (callback, value, row, op, $cell) { | |||
learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
callback(_data['nationality']); | |||
callback(_data.text); | |||
} | |||
}); | |||
} | |||
@@ -242,7 +242,9 @@ | |||
<td class="col-md-3"> | |||
<span id="@item.Id"></span> | |||
<script> | |||
$.ajax({ | |||
GetDataItemStr("BCdPartyFace", "@item.PoliticalId","#@item.Id"); | |||
@*$.ajax({ | |||
url: "/OnlineRegistrate/GetDataSourceMap?code=BCdPartyFace", | |||
async: false, | |||
success: function (msg) { | |||
@@ -258,7 +260,7 @@ | |||
layer.msg(msgObject.info); | |||
} | |||
}, | |||
}); | |||
});*@ | |||
</script> | |||
</td> | |||
<td class="col-md-3">@item.WorkUnit</td> | |||
@@ -339,9 +341,9 @@ | |||
GetDataSourceStr("DIC_CITY", "ccode", "cname", "@Model.City", "#City"); | |||
GetDataSourceStr("DIC_AREA", "acode", "aname", "@Model.Country", "#Country"); | |||
GetDataItemStr("usersex", "@Model.SexId", "#SexId"); | |||
GetDataSourceStr("BCdNationality", "nationalityno", "nationality", "@Model.Nation", "#Nation"); | |||
GetDataItemStr("National", "@Model.Nation", "#Nation"); | |||
GetDataItemStr("FamilyBirth", "@Model.AP_OnlineStudentInfoEntity.FamilyBirthId", "#FamilyBirthId"); | |||
GetDataSourceStr("BCdPartyFace", "partyfaceno", "partyface", "@Model.PoliticsFace", "#PoliticsFace"); | |||
GetDataItemStr("BCdPartyFace", "@Model.PoliticsFace", "#PoliticsFace"); | |||
GetDataSourceStr("BCdCultureDegree", "culturedegreeno", "culturedegree", "@Model.AP_OnlineStudentInfoEntity.CultureId", "#CultureId"); | |||
GetDataItemStr("MarriageType", "@Model.AP_OnlineStudentInfoEntity.MarriageId", "#MarriageId"); | |||
GetDataItemStr("ResidenceNo", "@Model.OriginId", "#OriginId"); | |||
@@ -549,17 +549,17 @@ | |||
<select id="@item.Id" name="PoliticalId" class="col-md-12" style="border: 0; background: transparent; height: 39px; width:165px; line-height:39px;" placeholder=""></select> | |||
<script> | |||
$.ajax({ | |||
url: "/OnlineRegistrate/GetDataSourceMap?code=" + "BCdPartyFace", | |||
url: "/OnlineRegistrate/GetDataItemMap?code=" + "BCdPartyFace", | |||
async: false, | |||
success: function (msg) { | |||
var msgObject = $.parseJSON(msg); | |||
if (msgObject.code == 200) { | |||
var str = '<option value="">请选择</option>'; | |||
$.each(msgObject.data, function (i, item) { | |||
if (item["partyfaceno"] == @item.PoliticalId) { | |||
str += '<option value="' + item["partyfaceno"] + '" selected="selected">' + item["partyface"] + '</option>' | |||
if (item["F_ItemValue"] == @item.PoliticalId) { | |||
str += '<option value="' + item["F_ItemValue"] + '" selected="selected">' + item["F_ItemName"] + '</option>' | |||
} else { | |||
str += '<option value="' + item["partyfaceno"] + '">' + item["partyface"] + '</option>' | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
} | |||
}) | |||
$("#@item.Id").html(str); | |||
@@ -847,8 +847,8 @@ | |||
@*SetDataSourceSelect("DIC_AREA", "acode", "aname", "@Model.Country", "#Country");*@ | |||
SetDataItemSelect("usersex", "@Model.SexId", "#SexId"); | |||
SetDataSourceSelect("BCdCultureDegree", "culturedegreeno", "culturedegree", "@Model.AP_OnlineStudentInfoEntity.CultureId", "#CultureId"); | |||
SetDataSourceSelect("BCdPartyFace", "partyfaceno", "partyface", "@Model.PoliticsFace", "#PoliticsFace"); | |||
SetDataSourceSelect("BCdNationality", "nationalityno", "nationality", "@Model.Nation", "#Nation"); | |||
SetDataItemSelect("BCdPartyFace", "@Model.PoliticsFace", "#PoliticsFace"); | |||
GetDataItemStr("National", "@Model.Nation", "#Nation"); | |||
SetDataItemSelect("MarriageType", "@Model.AP_OnlineStudentInfoEntity.MarriageId", "#MarriageId"); | |||
SetDataItemSelect("FamilyBirth", "@Model.AP_OnlineStudentInfoEntity.FamilyBirthId", "#FamilyBirthId"); | |||
SetDataItemSelect("ResidenceNo", "@Model.OriginId", "#OriginId"); | |||
@@ -946,14 +946,14 @@ | |||
'</tr>'; | |||
$.ajax({ | |||
url: "/OnlineRegistrate/GetDataSourceMap?code=" + "BCdPartyFace", | |||
url: "/OnlineRegistrate/GetDataItemMap?code=" + "BCdPartyFace", | |||
async: false, | |||
success: function (msg) { | |||
var msgObject = $.parseJSON(msg); | |||
if (msgObject.code == 200) { | |||
var str = '<option value="">请选择</option>'; | |||
$.each(msgObject.data, function (i, item) { | |||
str += '<option value="' + item["partyfaceno"] + '">' + item["partyface"] + '</option>' | |||
str += '<option value="' + item["F_ItemValue"] + '">' + item["F_ItemName"] + '</option>' | |||
}) | |||
$('#tbodyFamily').append(html1 + str + html2); | |||
renderForm('select','FamilySelectFilter'); | |||
@@ -223,26 +223,22 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -288,27 +284,22 @@ | |||
}, | |||
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) { | |||
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; | |||
} | |||
}); | |||
@@ -487,56 +478,46 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
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) { | |||
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) { | |||
@@ -553,37 +534,34 @@ | |||
}, | |||
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; | |||
}, | |||
familyOriginNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'familyoriginno', | |||
code: 'BCdFamilyOrigin', | |||
callback: function (_data) { | |||
result = _data.familyorigin; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
foreignLanguageNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdForeignLanguage', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'foreignlanguageno', | |||
code: 'BCdForeignLanguage', | |||
callback: function (_data) { | |||
result = _data.foreignlanguagename; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -641,13 +619,11 @@ | |||
}, | |||
degreeNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdDegree', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'degreeno', | |||
code: 'BCdDegree', | |||
callback: function (_data) { | |||
result = _data['degreename']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -665,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; | |||
@@ -223,26 +223,22 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -288,30 +284,24 @@ | |||
}, | |||
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) { | |||
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) { | |||
@@ -495,26 +485,22 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -535,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) { | |||
@@ -561,25 +544,23 @@ | |||
}, | |||
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; | |||
}, | |||
familyOriginNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'familyoriginno', | |||
code: 'BCdFamilyOrigin', | |||
callback: function (_data) { | |||
result = _data.familyorigin; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -648,13 +629,11 @@ | |||
}, | |||
degreeNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdDegree', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'degreeno', | |||
code: 'BCdDegree', | |||
callback: function (_data) { | |||
result = _data['degreename']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -683,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; | |||
@@ -209,26 +209,22 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -274,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; | |||
} | |||
}); | |||
@@ -288,16 +282,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) { | |||
@@ -536,56 +527,46 @@ | |||
}, | |||
nationalityNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdNationality', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'nationalityno', | |||
code: 'National', | |||
callback: function (_data) { | |||
result = _data['nationality']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
partyFaceNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'partyfaceno', | |||
code: 'BCdPartyFace', | |||
callback: function (_data) { | |||
result = _data['partyface']; | |||
result =_data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
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) { | |||
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) { | |||
@@ -602,37 +583,34 @@ | |||
}, | |||
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; | |||
}, | |||
familyOriginNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'familyoriginno', | |||
code: 'BCdFamilyOrigin', | |||
callback: function (_data) { | |||
result = _data.familyorigin; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
foreignLanguageNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdForeignLanguage', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'foreignlanguageno', | |||
code: 'BCdForeignLanguage', | |||
callback: function (_data) { | |||
result = _data.foreignlanguagename; | |||
}.bind(this) | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
}, | |||
@@ -690,13 +668,11 @@ | |||
}, | |||
degreeNo: function (value) { | |||
var result; | |||
top.learun.clientdata.getAsync('custmerData', { | |||
sync: true, | |||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdDegree', | |||
top.learun.clientdata.getAsync('dataItem', { | |||
key: value, | |||
keyId: 'degreeno', | |||
code: 'BCdDegree', | |||
callback: function (_data) { | |||
result = _data['degreename']; | |||
result = _data.text; | |||
} | |||
}); | |||
return result; | |||
@@ -714,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; | |||
@@ -298,28 +298,29 @@ namespace Learun.Application.WebApi.Modules.Feixing | |||
} | |||
if (req == "Political") | |||
{ | |||
var data = dataSourceIBLL.GetDataTable("BCdPartyFace", ""); | |||
var data = dataItemIBLL.GetDetailList("BCdPartyFace", ""); | |||
DictDataModel dictDataModel = new DictDataModel(); | |||
for (int i = 0; i < data.Rows.Count; i++) | |||
foreach (var t in data) | |||
{ | |||
dictDataModel.Items.Add(new SysDictDetailApiViewModel | |||
{ | |||
ItemName = data.Rows[i]["partyface"].ToString(), | |||
ItemValue = data.Rows[i]["partyfaceno"].ToString() | |||
ItemName = t.F_ItemName, | |||
ItemValue = t.F_ItemValue | |||
}); | |||
} | |||
return Success("OK", dictDataModel); | |||
} | |||
if (req == "Nation") | |||
{ | |||
var data = dataSourceIBLL.GetDataTable("BCdNationality", ""); | |||
var data = dataItemIBLL.GetDetailList("National", ""); | |||
DictDataModel dictDataModel = new DictDataModel(); | |||
for (int i = 0; i < data.Rows.Count; i++) | |||
foreach (var t in data) | |||
{ | |||
dictDataModel.Items.Add(new SysDictDetailApiViewModel | |||
{ | |||
ItemName = data.Rows[i]["nationality"].ToString(), | |||
ItemValue = data.Rows[i]["nationalityno"].ToString() | |||
ItemName = t.F_ItemName, | |||
ItemValue = t.F_ItemValue | |||
}); | |||
} | |||
return Success("OK", dictDataModel); | |||
@@ -818,9 +818,9 @@ namespace Learun.Application.Excel | |||
{ | |||
empinfoEntity.IdentityCardNo = dr["身份证号"].ToString(); | |||
empinfoEntity.Birthday = Convert.ToDateTime(dr["出生日期"].ToString()); | |||
empinfoEntity.NationalityNo = dataSourceIBLL.GetKeyByValue("BCdNationality", "nationality", dr["民族"].ToString(), "nationalityno"); | |||
empinfoEntity.NationalityNo = FindDataItemValue(dataItemIBLL.GetDetailList("National"), dr["民族"].ToString(), "民族", false); | |||
empinfoEntity.LocusOfResidence = dr["籍贯"].ToString(); | |||
empinfoEntity.PartyFaceNo = dataSourceIBLL.GetKeyByValue("BCdPartyFace", "partyface", dr["政治面貌"].ToString(), "partyfaceno"); | |||
empinfoEntity.PartyFaceNo = FindDataItemValue(dataItemIBLL.GetDetailList("BCdPartyFace"), dr["政治面貌"].ToString(), "政治面貌", false); | |||
empinfoEntity.JoinPartyTime = dr["入党(团)时间"].ToString(); | |||
empinfoEntity.mobile = dr["联系电话"].ToString(); | |||
empinfoEntity.EMail = dr["电子邮箱"].ToString(); | |||
@@ -851,7 +851,7 @@ namespace Learun.Application.Excel | |||
empinfoEntity.HighestRecord = dataSourceIBLL.GetKeyByValue("BCdCultureDegree", "culturedegree", dr["最高学历"].ToString(), "culturedegreeno"); | |||
empinfoEntity.HighestRecordGetTime = Convert.ToDateTime(dr["最高学历取得时间"].ToString()); | |||
empinfoEntity.EducationalSystem = dr["学制(最高学历)"].ToString(); | |||
empinfoEntity.DegreeNo = dataSourceIBLL.GetKeyByValue("BCdDegree", "degreename", dr["最高学位"].ToString(), "degreeno"); | |||
empinfoEntity.DegreeNo = FindDataItemValue(dataItemIBLL.GetDetailList("BCdDegree"), dr["最高学位"].ToString(), "最高学位", false); | |||
empinfoEntity.HighestDegreeGetTime = dr["最高学位取得时间"].ToString(); | |||
empinfoEntity.JobRank = FindDataItemValue(dataItemIBLL.GetDetailList("TechnicalPost"), dr["专业技术职务等级"].ToString(), "专业技术职务等级", false); | |||
empinfoEntity.JobTitle = dr["专业技术职务名称"].ToString(); | |||