Browse Source

家庭出身 BCdFamilyOrigin改为字典

西昌缴费二期
zhangli 3 years ago
parent
commit
be10cb6106
11 changed files with 27 additions and 34 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js
  2. +4
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js
  4. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  5. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  6. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js
  8. +3
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
  9. +4
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  10. +4
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml
  11. +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 View File

@@ -127,7 +127,7 @@ var bootstrap = function ($, learun) {
//初始学历 //初始学历
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true }); $('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true });
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true }); $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true });
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true });
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' }); $('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' });
$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' }); $('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' });
$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' }); $('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' });


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml View File

@@ -220,13 +220,12 @@
}, },
familyOriginNo: function (value) { familyOriginNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'familyoriginno',
code: 'BCdFamilyOrigin',
callback: function (_data) { callback: function (_data) {
result = _data.familyorigin;
}.bind(this)
result = _data.text;
}
}); });
return result; return result;
}, },


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

@@ -71,7 +71,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus',value: 'healthstatusno',text: 'healthstatus' }); $('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus',value: 'healthstatusno',text: 'healthstatus' });
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' }); $('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' });
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' }); $('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' });
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin',value: 'familyoriginno',text: 'familyorigin' });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' }); $('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' });
$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage',value: 'foreignlanguageno',text: 'foreignlanguagename' }); $('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage',value: 'foreignlanguageno',text: 'foreignlanguagename' });
$('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' }); $('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' });


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

@@ -572,12 +572,11 @@ var bootstrap = function ($, learun) {
{ {
label: "家庭出身", name: "FamilyOriginNo", width: 100, align: "left", label: "家庭出身", name: "FamilyOriginNo", 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=' + 'BCdFamilyOrigin',
learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'familyoriginno',
code: 'BCdFamilyOrigin',
callback: function (_data) { callback: function (_data) {
callback(_data['familyorigin']);
callback(_data.text);
} }
}); });
} }


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

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


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

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


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

@@ -68,7 +68,7 @@ var bootstrap = function ($, learun) {
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' }); $('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' }); $('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#Photo').lrUploader(); $('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' }); $('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' }); $('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#DeptNo').lrselect({ $('#DeptNo').lrselect({


+ 3
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml View File

@@ -288,13 +288,11 @@
}, },
filter_BCdFamilyOrigin: function (value) { filter_BCdFamilyOrigin: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'familyoriginno',
code: 'BCdFamilyOrigin',
callback: function (_data) { callback: function (_data) {
result = _data['familyorigin'];
result = _data.text;
} }
}); });
return result; return result;


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml View File

@@ -561,13 +561,12 @@
}, },
familyOriginNo: function (value) { familyOriginNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'familyoriginno',
code: 'BCdFamilyOrigin',
callback: function (_data) { callback: function (_data) {
result = _data.familyorigin;
}.bind(this)
result = _data.text;
}
}); });
return result; return result;
}, },


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml View File

@@ -569,13 +569,12 @@
}, },
familyOriginNo: function (value) { familyOriginNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'familyoriginno',
code: 'BCdFamilyOrigin',
callback: function (_data) { callback: function (_data) {
result = _data.familyorigin;
}.bind(this)
result = _data.text;
}
}); });
return result; return result;
}, },


+ 4
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml View File

@@ -610,13 +610,12 @@
}, },
familyOriginNo: function (value) { familyOriginNo: function (value) {
var result; var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdFamilyOrigin',
top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'familyoriginno',
code: 'BCdFamilyOrigin',
callback: function (_data) { callback: function (_data) {
result = _data.familyorigin;
}.bind(this)
result = _data.text;
}
}); });
return result; return result;
}, },


Loading…
Cancel
Save