Преглед на файлове

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

临城职教中职
ndbs преди 2 години
родител
ревизия
7095cfd445
променени са 2 файла, в които са добавени 5 реда и са изтрити 4 реда
  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 Целия файл

@@ -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 Целия файл

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


Зареждане…
Отказ
Запис