Explorar el Código

Merge branch '长阳分支中职' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 长阳分支中职

临城职教中职
ndbs hace 2 años
padre
commit
8d56717e72
Se han modificado 73 ficheros con 550 adiciones y 763 borrados
  1. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/DropOutIndex.js
  2. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/PaymentIndex.js
  3. +7
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateForm.js
  4. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateIndex.js
  5. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/ReportIndex.js
  6. +9
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/EmpInfoController.cs
  7. +16
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/EmpInfoEnternalController.cs
  8. +10
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js
  9. +10
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormAdd.cshtml
  10. +4
    -48
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js
  11. +31
    -46
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml
  12. +9
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js
  13. +27
    -35
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  14. +9
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/IndexOfDC.js
  15. +12
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfoEnternal/FormAdd.cshtml
  16. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutOnline/Form.js
  17. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutOnline/Index.js
  18. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Form.js
  19. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Index.js
  20. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.js
  21. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationDormitory.js
  22. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/CheckIn.js
  23. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Form.js
  24. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/FormView.js
  25. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetArticles.js
  26. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetCloth.js
  27. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetClothSize.js
  28. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.js
  29. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/IsPay.js
  30. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/IsPhoto.js
  31. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Military.js
  32. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/NewAllocationBed.js
  33. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/PayAfter.js
  34. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.js
  35. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/StuTuition.js
  36. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  37. +11
    -11
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
  38. +12
    -22
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml
  39. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js
  40. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
  41. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexInClass.js
  42. +27
    -36
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexOfDC.js
  43. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/MyClass.js
  44. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Print.cshtml
  45. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTwo/Index.js
  46. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/AllocationClassDC.js
  47. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/CollectFileIndex.js
  48. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
  49. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormDC.js
  50. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormOfStudent.js
  51. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js
  52. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/GetKeyIndex.js
  53. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js
  54. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/IndexDC.js
  55. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/IndexOfStudent.js
  56. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/RegisterIndex.js
  57. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/SchoolUniform.js
  58. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js
  59. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js
  60. +12
    -21
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
  61. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/LeagueMember/Form.js
  62. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/LeagueMember/Index.js
  63. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMCadre/Form.js
  64. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMCadre/Index.js
  65. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMMembership/Form.js
  66. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMMembership/Index.js
  67. +6
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateForm.cshtml
  68. +8
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateFormEdit.cshtml
  69. +42
    -68
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  70. +35
    -58
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml
  71. +42
    -68
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml
  72. +9
    -8
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Feixing/UserApiController.cs
  73. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Excel/Import/ExcelImportBLL.cs

+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/DropOutIndex.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/PaymentIndex.js Ver fichero

@@ -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);
}
});
}


+ 7
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateForm.js Ver fichero

@@ -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'
}
},
{


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateIndex.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/ReportIndex.js Ver fichero

@@ -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);
}
});
}


+ 9
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/EmpInfoController.cs Ver fichero

@@ -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)


+ 16
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/EmpInfoEnternalController.cs Ver fichero

@@ -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)
{


+ 10
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js Ver fichero

@@ -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' });


+ 10
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormAdd.cshtml Ver fichero

@@ -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);
},


+ 4
- 48
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js Ver fichero

@@ -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');



+ 31
- 46
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml Ver fichero

@@ -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;


+ 9
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js Ver fichero

@@ -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();
},


+ 27
- 35
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Ver fichero

@@ -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);
}
});
}


+ 9
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/IndexOfDC.js Ver fichero

@@ -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);
}
});
}


+ 12
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfoEnternal/FormAdd.cshtml Ver fichero

@@ -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);
},


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutOnline/Form.js Ver fichero

@@ -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 () {


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutOnline/Index.js Ver fichero

@@ -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);
}
});
}


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Form.js Ver fichero

@@ -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' });


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Index.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationDormitory.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/CheckIn.js Ver fichero

@@ -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);
}
});
}


+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Form.js Ver fichero

@@ -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",


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/FormView.js Ver fichero

@@ -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' });


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetArticles.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetCloth.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetClothSize.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/IsPay.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/IsPhoto.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Military.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/NewAllocationBed.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/PayAfter.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/StuTuition.js Ver fichero

@@ -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);
}
});
}


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Ver fichero

@@ -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' });


+ 11
- 11
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js Ver fichero

@@ -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' });





+ 12
- 22
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml Ver fichero

@@ -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) {


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js Ver fichero

@@ -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",


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexInClass.js Ver fichero

@@ -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);
}
});
}


+ 27
- 36
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexOfDC.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/MyClass.js Ver fichero

@@ -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);
}
});
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Print.cshtml Ver fichero

@@ -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");


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTwo/Index.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/AllocationClassDC.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/CollectFileIndex.js Ver fichero

@@ -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);
}
});
}


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js Ver fichero

@@ -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' });


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormDC.js Ver fichero

@@ -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' });


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormOfStudent.js Ver fichero

@@ -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' });


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js Ver fichero

@@ -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' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/GetKeyIndex.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/IndexDC.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/IndexOfStudent.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/RegisterIndex.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/SchoolUniform.js Ver fichero

@@ -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);
}
});
}


+ 6
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js Ver fichero

@@ -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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js Ver fichero

@@ -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);
}
});
}


+ 12
- 21
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml Ver fichero

@@ -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) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/LeagueMember/Form.js Ver fichero

@@ -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 () {


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/LeagueMember/Index.js Ver fichero

@@ -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);
}
});
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMCadre/Form.js Ver fichero

@@ -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) {


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMCadre/Index.js Ver fichero

@@ -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);
}
});
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMMembership/Form.js Ver fichero

@@ -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' });

},


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/PMMembership/Index.js Ver fichero

@@ -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);
}
});
}


+ 6
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateForm.cshtml Ver fichero

@@ -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");


+ 8
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateFormEdit.cshtml Ver fichero

@@ -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');


+ 42
- 68
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Ver fichero

@@ -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;


+ 35
- 58
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml Ver fichero

@@ -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;


+ 42
- 68
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Ver fichero

@@ -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;


+ 9
- 8
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Feixing/UserApiController.cs Ver fichero

@@ -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);


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Excel/Import/ExcelImportBLL.cs Ver fichero

@@ -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();


Cargando…
Cancelar
Guardar