Procházet zdrojové kódy

健康状况BCdHealthStatus修改为读取字典

临城职教中职
zhangli před 2 roky
rodič
revize
f6c3d491a6
13 změnil soubory, kde provedl 45 přidání a 72 odebrání
  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
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml
  4. +2
    -2
      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. +3
    -3
      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. +9
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexOfDC.js
  11. +6
    -11
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  12. +6
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml
  13. +6
    -12
      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 Zobrazit soubor

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


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

@@ -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', 'BCdForeignLanguage','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataItemCode = ['BCdPartyFace', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', '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
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml Zobrazit soubor

@@ -182,16 +182,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

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


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js Zobrazit soubor

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


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

@@ -513,12 +513,11 @@ var bootstrap = function ($, learun) {
{
label: "健康状况", name: "HealthStatusNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
callback(_data['healthstatus']);
callback(_data.text);
}
});
}


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

@@ -107,7 +107,7 @@ var bootstrap = function ($, learun) {
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js Zobrazit soubor

@@ -107,7 +107,7 @@ var bootstrap = function ($, learun) {
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
@@ -188,13 +188,13 @@ var bootstrap = function ($, learun) {
$('#OneIdCardType').lrDataItemSelect({ code: 'IdCardType' });
$('#OneNationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#OnePartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#OneHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#OneHealthStatus').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#TwoMembership').lrDataItemSelect({ code: 'FamilyRelation' });
$('#TwoIsGuardian').lrDataItemSelect({ code: 'YesOrNoInt' });
$('#TwoIdCardType').lrDataItemSelect({ code: 'IdCardType' });
$('#TwoNationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#TwoPartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#TwoHealthStatus').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#TwoHealthStatus').lrDataItemSelect({ code: 'BCdHealthStatus' });





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

@@ -243,16 +243,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

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


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

@@ -66,7 +66,7 @@ var bootstrap = function ($, learun) {
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });


+ 9
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/IndexOfDC.js Zobrazit soubor

@@ -401,12 +401,11 @@ var bootstrap = function ($, learun) {
{
label: "健康状况", name: "HealthStatusNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
callback(_data['healthstatus']);
callback(_data.text);
}
});
}
@@ -565,12 +564,11 @@ var bootstrap = function ($, learun) {
{
label: "成员1健康状况", name: "OneHealthStatus", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
callback(_data['healthstatus']);
callback(_data.text);
}
});
}
@@ -642,12 +640,11 @@ var bootstrap = function ($, learun) {
{
label: "成员2健康状况", name: "TwoHealthStatus", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
callback(_data['healthstatus']);
callback(_data.text);
}
});
}


+ 6
- 11
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Zobrazit soubor

@@ -300,13 +300,11 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

@@ -523,16 +521,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

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


+ 6
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml Zobrazit soubor

@@ -300,16 +300,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

return result;
},
deptNo: function (value) {
@@ -531,16 +528,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

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


+ 6
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Zobrazit soubor

@@ -286,16 +286,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

return result;
},
deptNo: function (value) {
@@ -572,16 +569,13 @@
},
healthStatusNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdHealthStatus',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'healthstatusno',
code: 'BCdHealthStatus',
callback: function (_data) {
result = _data.healthstatus;
result = _data.text;
}
});

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


Načítá se…
Zrušit
Uložit