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

政治面貌数据源改为字典

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

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

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

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

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

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

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

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

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

@@ -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;
}


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