Selaa lähdekoodia

政治面貌数据源改为字典

临城职教中职
ndbs 2 vuotta sitten
vanhempi
commit
2f459a4d27
9 muutettua tiedostoa jossa 13 lisäystä ja 14 poistoa
  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 Näytä tiedosto

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Näytä tiedosto

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js Näytä tiedosto

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormTran.js Näytä tiedosto

@@ -107,7 +107,7 @@ var bootstrap = function ($, learun) {
$('#F_SchoolId').lrDataSourceSelect({ code: 'company', value: 'f_companyid', text: 'f_fullname' });
$('#NationalityNo').lrDataSourceSelect({ code: 'BCdNationality', value: 'nationalityno', text: 'nationality' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#PartyFaceNo').lrDataItemSelect({ code: 'PolityStatus' });
$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js Näytä tiedosto

@@ -324,12 +324,11 @@ var bootstrap = function ($, learun) {
{
label: "政治面貌", name: "PartyFaceNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'partyfaceno',
code: 'PolityStatus',
callback: function (_data) {
callback(_data['partyface']);
callback(_data.text);
}
});
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js Näytä tiedosto

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/FormView.js Näytä tiedosto

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


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml Näytä tiedosto

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

},
company: function (value) {


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Näytä tiedosto

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

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


Ladataan…
Peruuta
Tallenna