Просмотр исходного кода

政治面貌修改为字典

临城职教中职
zhangli 2 лет назад
Родитель
Сommit
52eef3cb35
51 измененных файлов: 172 добавлений и 199 удалений
  1. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/DropOutIndex.js
  2. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/PaymentIndex.js
  3. +6
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateForm.js
  4. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateIndex.js
  5. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/ReportIndex.js
  6. +2
    -5
      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. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js
  9. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormAdd.cshtml
  10. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js
  11. +4
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml
  12. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js
  13. +4
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  14. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/IndexOfDC.js
  15. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfoEnternal/FormAdd.cshtml
  16. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutOnline/Form.js
  17. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Form.js
  18. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Index.js
  19. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.js
  20. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Form.js
  21. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/FormView.js
  22. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetArticles.js
  23. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetCloth.js
  24. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetClothSize.js
  25. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Index.js
  26. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/IsPay.js
  27. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/IsPhoto.js
  28. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Military.js
  29. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/PayAfter.js
  30. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Report.js
  31. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/StuTuition.js
  32. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  33. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
  34. +3
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml
  35. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js
  36. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
  37. +9
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexOfDC.js
  38. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTwo/Index.js
  39. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
  40. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormDC.js
  41. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormOfStudent.js
  42. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js
  43. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js
  44. +3
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
  45. +5
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateForm.cshtml
  46. +7
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateFormEdit.cshtml
  47. +6
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  48. +6
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml
  49. +6
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml
  50. +5
    -4
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Feixing/UserApiController.cs
  51. +1
    -1
      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 Просмотреть файл

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


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/PaymentIndex.js Просмотреть файл

@@ -130,12 +130,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/RegistrateForm.js Просмотреть файл

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


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/RegistrateIndex.js Просмотреть файл

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


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AdmissionsPlatform/Views/AP_OnlineUserInfo/ReportIndex.js Просмотреть файл

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


+ 2
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/EmpInfoController.cs Просмотреть файл

@@ -122,11 +122,8 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
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 Просмотреть файл

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js Просмотреть файл

@@ -87,7 +87,7 @@ var bootstrap = function ($, learun) {
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#IsHasLesson').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#ProvinceNo').lrDataSourceSelect({
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',
select: function (item) {


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormAdd.cshtml Просмотреть файл

@@ -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) },
@@ -299,13 +299,13 @@
},
});
$.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);
},


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js Просмотреть файл

@@ -8,7 +8,7 @@ var acceptClick;
var keyValue = request('keyValue');
var isTeacher = request('isTeacher');
var colDataItemArr = ['GenderNo', 'IsInActiveStatus', 'EmpSortNo', 'PositionLevel', 'CompilationCategory', 'ObtainWayOfHighestRecord', 'ObtainWay', 'ObtainWayOfHighestDegree', 'ObtainWayOfInitialDegree', 'JobRank', 'WorkLevel', 'EmpFullTimeNo', 'IsHasLesson'];
var colDataItemCode = ['usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataItemCode = ['BCdPartyFace','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 colDataSourceValue = ['partyfaceno', 'nationalityno', 'healthstatusno', 'familyoriginno', 'overseaschineseno', 'f_companyid', 'f_departmentid', 'deptno', 'titleoftechpostno', 'culturedegreeno', 'culturedegreeno', 'degreeno', 'degreeno', 'subjectspeciesno', 'foreignlanguageno'];


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml Просмотреть файл

@@ -156,15 +156,14 @@
},
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) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js Просмотреть файл

@@ -36,7 +36,7 @@ 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' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#ProvinceNo').lrDataSourceSelect({
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',
select: function (item) {


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Просмотреть файл

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

@@ -434,12 +434,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/EmpInfo/IndexOfDC.js Просмотреть файл

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


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfoEnternal/FormAdd.cshtml Просмотреть файл

@@ -326,13 +326,13 @@
},
});
$.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);
},


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutOnline/Form.js Просмотреть файл

@@ -19,7 +19,7 @@ var bootstrap = function ($, learun) {
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#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 () {


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Form.js Просмотреть файл

@@ -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').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#CultureDegree').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' });
$('#ResidenceNo').lrDataItemSelect({ code: 'ResidenceNo' });
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo',value: 'majorno',text: 'majorname' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SignUpAboutTrain/Index.js Просмотреть файл

@@ -99,12 +99,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/StuEnroll/AllocationClass.js Просмотреть файл

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


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/Form.js Просмотреть файл

@@ -23,7 +23,8 @@ var bootstrap = function ($, learun) {
//民族
$('#Nationals').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
//政治面貌
$('#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",


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/FormView.js Просмотреть файл

@@ -23,7 +23,7 @@ var bootstrap = function ($, learun) {
//民族
$('#Nationals').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
//政治面貌
$('#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' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/GetArticles.js Просмотреть файл

@@ -216,12 +216,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/GetCloth.js Просмотреть файл

@@ -216,12 +216,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/GetClothSize.js Просмотреть файл

@@ -212,12 +212,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/Index.js Просмотреть файл

@@ -379,12 +379,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/IsPay.js Просмотреть файл

@@ -248,12 +248,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/IsPhoto.js Просмотреть файл

@@ -208,12 +208,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/Military.js Просмотреть файл

@@ -246,12 +246,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/PayAfter.js Просмотреть файл

@@ -334,12 +334,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/Report.js Просмотреть файл

@@ -312,12 +312,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/StuTuition.js Просмотреть файл

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Просмотреть файл

@@ -106,7 +106,7 @@ var bootstrap = function ($, learun) {
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js Просмотреть файл

@@ -106,7 +106,7 @@ var bootstrap = function ($, learun) {
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });
@@ -187,13 +187,13 @@ var bootstrap = function ($, learun) {
$('#OneIsGuardian').lrDataItemSelect({ code: 'YesOrNoInt' });
$('#OneIdCardType').lrDataItemSelect({ code: 'IdCardType' });
$('#OneNationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#OnePartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#OnePartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#OneHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#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' });
$('#TwoPartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#TwoHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });




+ 3
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml Просмотреть файл

@@ -179,13 +179,11 @@
},
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;


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js Просмотреть файл

@@ -65,7 +65,7 @@ var bootstrap = function ($, learun) {
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js Просмотреть файл

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


+ 9
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexOfDC.js Просмотреть файл

@@ -389,12 +389,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);
}
});
}
@@ -554,12 +553,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);
}
});
}
@@ -632,12 +630,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);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasicTwo/Index.js Просмотреть файл

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js Просмотреть файл

@@ -16,7 +16,7 @@ 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' });
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormDC.js Просмотреть файл

@@ -17,7 +17,7 @@ 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' });
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormOfStudent.js Просмотреть файл

@@ -17,7 +17,7 @@ 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' });
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js Просмотреть файл

@@ -16,7 +16,7 @@ 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' });
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/StatusView.js Просмотреть файл

@@ -268,12 +268,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
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml Просмотреть файл

@@ -277,13 +277,11 @@
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;


+ 5
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateForm.cshtml Просмотреть файл

@@ -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>
@@ -341,7 +343,7 @@
GetDataItemStr("usersex", "@Model.SexId", "#SexId");
GetDataSourceStr("BCdNationality", "nationalityno", "nationality", "@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");


+ 7
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/OnlineRegistrate/RegistrateFormEdit.cshtml Просмотреть файл

@@ -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,7 +847,7 @@
@*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");
SetDataItemSelect("BCdPartyFace", "@Model.PoliticsFace", "#PoliticsFace");
SetDataSourceSelect("BCdNationality", "nationalityno", "nationality", "@Model.Nation", "#Nation");
SetDataItemSelect("MarriageType", "@Model.AP_OnlineStudentInfoEntity.MarriageId", "#MarriageId");
SetDataItemSelect("FamilyBirth", "@Model.AP_OnlineStudentInfoEntity.FamilyBirthId", "#FamilyBirthId");
@@ -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');


+ 6
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Просмотреть файл

@@ -236,13 +236,11 @@
},
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;
@@ -500,13 +498,11 @@
},
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;


+ 6
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml Просмотреть файл

@@ -236,13 +236,11 @@
},
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;
@@ -508,13 +506,11 @@
},
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;


+ 6
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Просмотреть файл

@@ -222,13 +222,11 @@
},
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;
@@ -549,13 +547,11 @@
},
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;


+ 5
- 4
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Feixing/UserApiController.cs Просмотреть файл

@@ -298,16 +298,17 @@ 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")


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Excel/Import/ExcelImportBLL.cs Просмотреть файл

@@ -820,7 +820,7 @@ namespace Learun.Application.Excel
empinfoEntity.Birthday = Convert.ToDateTime(dr["出生日期"].ToString());
empinfoEntity.NationalityNo = dataSourceIBLL.GetKeyByValue("BCdNationality", "nationality", dr["民族"].ToString(), "nationalityno");
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();


Загрузка…
Отмена
Сохранить