Pārlūkot izejas kodu

政治面貌数据源改为字典

临城职教中职
ndbs pirms 2 gadiem
vecāks
revīzija
2f459a4d27
9 mainītis faili ar 13 papildinājumiem un 14 dzēšanām
  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/Index.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js
  5. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
  6. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js
  8. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  9. +3
    -3
      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 Parādīt failu

@@ -87,7 +87,7 @@ var bootstrap = function ($, learun) {
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#IsHasLesson').lrDataItemSelect({ code: 'YesOrNoBit' }); $('#IsHasLesson').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); $('#NationalityNo').lrDataItemSelect({ code: 'National' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'BCdPartyFace' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus' });
$('#ProvinceNo').lrDataSourceSelect({ $('#ProvinceNo').lrDataSourceSelect({
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',
select: function (item) { select: function (item) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Parādīt failu

@@ -436,7 +436,7 @@ var bootstrap = function ($, learun) {
formatterAsync: function (callback, value, row, op, $cell) { formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('dataItem', { learun.clientdata.getAsync('dataItem', {
key: value, key: value,
code: 'BCdPartyFace',
code: 'PolityStatus',
callback: function (_data) { callback: function (_data) {
callback(_data.text); callback(_data.text);
} }


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Parādīt failu

@@ -108,7 +108,7 @@ var bootstrap = function ($, learun) {
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); $('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataItemSelect({ code: 'National' }); $('#NationalityNo').lrDataItemSelect({ code: 'National' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'StuHealthType' }); $('#HealthStatusNo').lrDataItemSelect({ code: 'StuHealthType' });
$('#Photo').lrUploader(); $('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' }); $('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js Parādīt failu

@@ -107,7 +107,7 @@ var bootstrap = function ($, learun) {
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' }); $('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' }); $('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' }); $('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus' });
$('#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').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js Parādīt failu

@@ -324,12 +324,11 @@ var bootstrap = function ($, learun) {
{ {
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left", label: "政治面貌", name: "PartyFaceNo", 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=' + 'BCdPartyFace',
learun.clientdata.getAsync('dataItem', {
key: value, key: value,
keyId: 'partyfaceno',
code: 'PolityStatus',
callback: function (_data) { callback: function (_data) {
callback(_data['partyface']);
callback(_data.text);
} }
}); });
} }


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js Parādīt failu

@@ -16,7 +16,7 @@ var bootstrap = function ($, learun) {
}, },
bind: function () { bind: function () {
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); $("#GenderNo").lrDataItemSelect({ code: 'usersex' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus' });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'stuType' }); $('#FamilyOriginNo').lrDataItemSelect({ code: 'stuType' });
$("#NationalityNo").lrDataItemSelect({ code: 'National' }); $("#NationalityNo").lrDataItemSelect({ code: 'National' });
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' }); $("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js Parādīt failu

@@ -16,7 +16,7 @@ var bootstrap = function ($, learun) {
}, },
bind: function () { bind: function () {
$("#GenderNo").lrDataItemSelect({ code: 'usersex' }); $("#GenderNo").lrDataItemSelect({ code: 'usersex' });
$("#PartyFaceNo").lrDataItemSelect({ code: 'BCdPartyFace' });
$("#PartyFaceNo").lrDataItemSelect({ code: 'PolityStatus' });
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' }); $("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' });
$("#NationalityNo").lrDataItemSelect({ code: 'National' }); $("#NationalityNo").lrDataItemSelect({ code: 'National' });
$("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' }); $("#TestStuSortNo").lrDataItemSelect({ code: 'ExamineeType' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Parādīt failu

@@ -190,7 +190,7 @@
}, },
filters: { filters: {
sex: function (value) { sex: function (value) {
return value ? "男" : "女";
return value ? "男" : "女";


}, },
company: function (value) { company: function (value) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Parādīt failu

@@ -176,7 +176,7 @@
}, },
filters: { filters: {
sex: function (value) { sex: function (value) {
return value ? "男" : "女";
return value ? "男" : "女";


}, },
company: function (value) { company: function (value) {
@@ -222,7 +222,7 @@
var result; var result;
top.learun.clientdata.getAsync('dataItem', { top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
code: 'BCdPartyFace',
code: 'PolityStatus',
callback: function (_data) { callback: function (_data) {
result = _data.text; result = _data.text;
} }
@@ -544,7 +544,7 @@
var result; var result;
top.learun.clientdata.getAsync('dataItem', { top.learun.clientdata.getAsync('dataItem', {
key: value, key: value,
code: 'BCdPartyFace',
code: 'PolityStatus',
callback: function (_data) { callback: function (_data) {
result =_data.text; result =_data.text;
} }


Notiek ielāde…
Atcelt
Saglabāt