Bladeren bron

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

临城职教中职
zhangli 2 jaren geleden
bovenliggende
commit
0de511ef8e
13 gewijzigde bestanden met toevoegingen van 33 en 56 verwijderingen
  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 Bestand weergeven

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js Bestand weergeven

@@ -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', '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 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'];


+ 3
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml Bestand weergeven

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



+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js Bestand weergeven

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


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Bestand weergeven

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Bestand weergeven

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js Bestand weergeven

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


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml Bestand weergeven

@@ -227,16 +227,13 @@
},
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) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js Bestand weergeven

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


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml Bestand weergeven

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


+ 6
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Bestand weergeven

@@ -284,16 +284,13 @@
},
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) {
@@ -503,16 +500,13 @@
},
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) {


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml Bestand weergeven

@@ -284,16 +284,13 @@
},
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) {


+ 6
- 11
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Bestand weergeven

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

@@ -551,16 +549,13 @@
},
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) {


Laden…
Annuleren
Opslaan