Procházet zdrojové kódy

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

临城职教中职
ndbs před 2 roky
rodič
revize
7095cfd445
2 změnil soubory, kde provedl 5 přidání a 4 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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']);
}
});
}


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