소스 검색

外语语种修改为数据字典读取

临城职教中职
zhangli 2 년 전
부모
커밋
022addd593
6개의 변경된 파일15개의 추가작업 그리고 18개의 파일을 삭제
  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. +4
    -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. +4
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  6. +4
    -5
      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 파일 보기

@@ -125,7 +125,7 @@ var bootstrap = function ($, learun) {
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true });
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' });
$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' });
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage', allowSearch: true });
$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' });
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' });
$('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' });


+ 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 = ['BCdPartyFace', 'BCdDegree', 'BCdFamilyOrigin','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataItemCode = ['BCdPartyFace', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage','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', '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 파일 보기

@@ -231,13 +231,12 @@
},
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;
},


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js 파일 보기

@@ -73,7 +73,7 @@ var bootstrap = function ($, learun) {
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' });
$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage',value: 'foreignlanguageno',text: 'foreignlanguagename' });
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage' });
$('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' });
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' });
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo',value: 'deptno',text: 'deptname' });


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml 파일 보기

@@ -572,13 +572,12 @@
},
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;
},


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml 파일 보기

@@ -621,13 +621,12 @@
},
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;
},


불러오는 중...
취소
저장