Selaa lähdekoodia

学生信息 政治面貌列表回显失败

临城职教中职
ndbs 2 vuotta sitten
vanhempi
commit
7095cfd445
2 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  2. +4
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js

+ 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').lrDataItemSelect({ code: 'PolityStatus' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'StuHealthType' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });


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

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


Ladataan…
Peruuta
Tallenna