浏览代码

港澳台侨数据BCdOverseasChinese 数据源修改为字典

临城职教中职
zhangli 2 年前
父节点
当前提交
0de511ef8e
共有 13 个文件被更改,包括 33 次插入56 次删除
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js
  3. +3
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js
  5. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  6. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
  8. +3
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml
  9. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js
  10. +3
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
  11. +6
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  12. +3
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml
  13. +6
    -11
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js 查看文件

@@ -118,7 +118,7 @@ var bootstrap = function ($, learun) {
} }
}); });
$('#RegionNo').lrselect(); $('#RegionNo').lrselect();
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true }); $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true });
//初始学历 //初始学历
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); $('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true });


+ 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 keyValue = request('keyValue');
var isTeacher = request('isTeacher'); var isTeacher = request('isTeacher');
var colDataItemArr = ['GenderNo', 'IsInActiveStatus', 'EmpSortNo', 'PositionLevel', 'CompilationCategory', 'ObtainWayOfHighestRecord', 'ObtainWay', 'ObtainWayOfHighestDegree', 'ObtainWayOfInitialDegree', 'JobRank', 'WorkLevel', 'EmpFullTimeNo', 'IsHasLesson']; var colDataItemArr = ['GenderNo', 'IsInActiveStatus', 'EmpSortNo', 'PositionLevel', 'CompilationCategory', 'ObtainWayOfHighestRecord', 'ObtainWay', 'ObtainWayOfHighestDegree', 'ObtainWayOfInitialDegree', 'JobRank', 'WorkLevel', 'EmpFullTimeNo', 'IsHasLesson'];
var colDataItemCode = ['BCdPartyFace', 'BCdNationality', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', 'BCdHealthStatus','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataItemCode = ['BCdPartyFace', 'BCdNationality', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', 'BCdOverseasChinese','BCdHealthStatus','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataSourceArr = ['PartyFaceNo', 'NationalityNo', 'HealthStatusNo', 'FamilyOriginNo', 'OverseasChineseNo', 'F_CompanyId', 'F_DepartmentId', 'DeptNo', 'PostRank', 'HighestRecord', 'CultureDegreeNo', 'DegreeNo', 'InitialDegree', 'SubjectSpeciesNo', 'ForeignLanguageNo']; var colDataSourceArr = ['PartyFaceNo', 'NationalityNo', 'HealthStatusNo', 'FamilyOriginNo', 'OverseasChineseNo', 'F_CompanyId', 'F_DepartmentId', 'DeptNo', 'PostRank', 'HighestRecord', 'CultureDegreeNo', 'DegreeNo', 'InitialDegree', 'SubjectSpeciesNo', 'ForeignLanguageNo'];
var colDataSourceCode = ['BCdPartyFace', 'BCdNationality', 'BCdHealthStatus', 'BCdFamilyOrigin', 'BCdOverseasChinese', 'company', 'classdata', 'CdDeptInfo', 'BCdTitleOfTechPost', 'BCdCultureDegree', 'BCdCultureDegree', 'BCdDegree', 'BCdSubjectSpecies', 'BCdForeignLanguage']; var 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 colDataSourceValue = ['partyfaceno', 'nationalityno', 'healthstatusno', 'familyoriginno', 'overseaschineseno', 'f_companyid', 'f_departmentid', 'deptno', 'titleoftechpostno', 'culturedegreeno', 'culturedegreeno', 'degreeno', 'degreeno', 'subjectspeciesno', 'foreignlanguageno'];


+ 3
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml 查看文件

@@ -166,13 +166,11 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });




+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js 查看文件

@@ -67,7 +67,7 @@ var bootstrap = function ($, learun) {
} }
}); });
$('#RegionNo').lrselect(); $('#RegionNo').lrselect();
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); $('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' });
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js 查看文件

@@ -499,12 +499,11 @@ var bootstrap = function ($, learun) {
{ {
label: "港澳台侨", name: "OverseasChineseNo", width: 100, align: "left", label: "港澳台侨", name: "OverseasChineseNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
callback(_data['overseaschinesename']);
callback(_data.text);
} }
}); });
} }


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js 查看文件

@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader(); $('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); $('#EduSystem').lrDataItemSelect({ code: 'EduSystem' });
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); $('#StudyModality').lrDataItemSelect({ code: 'StudyModality' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js 查看文件

@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader(); $('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' }); $('#EduSystem').lrDataItemSelect({ code: 'EduSystem' });
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' }); $('#StudyModality').lrDataItemSelect({ code: 'StudyModality' });


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml 查看文件

@@ -227,16 +227,13 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });

return result; return result;
}, },
healthStatusNo: function (value) { healthStatusNo: function (value) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js 查看文件

@@ -69,7 +69,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' }); $('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader(); $('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#DeptNo').lrselect({ $('#DeptNo').lrselect({
value: "deptno", value: "deptno",


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml 查看文件

@@ -351,16 +351,13 @@
}, },
filter_BCdOverseasChinese: function (value) { filter_BCdOverseasChinese: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result=_data.text;
} }
}); });

return result; return result;
}, },
filter_CollegeType: function (value) { filter_CollegeType: function (value) {


+ 6
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml 查看文件

@@ -284,16 +284,13 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });

return result; return result;
}, },
healthStatusNo: function (value) { healthStatusNo: function (value) {
@@ -503,16 +500,13 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });

return result; return result;
}, },
healthStatusNo: function (value) { healthStatusNo: function (value) {


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml 查看文件

@@ -284,16 +284,13 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });

return result; return result;
}, },
healthStatusNo: function (value) { healthStatusNo: function (value) {


+ 6
- 11
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml 查看文件

@@ -270,13 +270,11 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });


@@ -551,16 +549,13 @@
}, },
overseasChineseNo: function (value) { overseasChineseNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) { callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
} }
}); });

return result; return result;
}, },
healthStatusNo: function (value) { healthStatusNo: function (value) {


正在加载...
取消
保存