Browse Source

Merge branch '金隅分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 金隅分支

金隅分支
dyy 2 years ago
parent
commit
7a932b143d
14 changed files with 75 additions and 136 deletions
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js
  2. +2
    -24
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js
  3. +10
    -15
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml
  4. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js
  5. +9
    -12
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  6. +3
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/IndexOfDC.js
  7. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
  8. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
  9. +3
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml
  10. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js
  11. +3
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml
  12. +13
    -22
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml
  13. +10
    -16
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml
  14. +13
    -21
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Form.js View File

@@ -118,19 +118,19 @@ var bootstrap = function ($, learun) {
}
});
$('#RegionNo').lrselect();
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese', allowSearch: true });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus', allowSearch: true });
//初始学历
$('#CultureDegreeNo').lrDataItemSelect({ code: 'CollegeType', allowSearch: true });
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree', allowSearch: true });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin', allowSearch: true });
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' });
$('#SubjectSpeciesNo').lrDataItemSelect({ code: 'BCdSubjectSpecies', allowSearch: true });
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage', allowSearch: true });
$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' });
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' });
$('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' });
//$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
$('#PostRank').lrDataSourceSelect({ code: 'BCdTitleOfTechPost', value: 'titleoftechpostno', text: 'titleoftechpost' });
$('#PostRank').lrDataItemSelect({ code: 'BCdTitleOfTechPost', allowSearch: true });
$('#Photo').lrUploader();
//最高学历
$('#HighestRecord').lrDataItemSelect({ code: 'CollegeType', allowSearch: true });


+ 2
- 24
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormModify.js View File

@@ -8,7 +8,7 @@ var acceptClick;
var keyValue = request('keyValue');
var isTeacher = request('isTeacher');
var colDataItemArr = ['GenderNo', 'IsInActiveStatus', 'EmpSortNo', 'PositionLevel', 'CompilationCategory', 'ObtainWayOfHighestRecord', 'ObtainWay', 'ObtainWayOfHighestDegree', 'ObtainWayOfInitialDegree', 'JobRank', 'WorkLevel', 'EmpFullTimeNo', 'IsHasLesson'];
var colDataItemCode = ['BCdPartyFace', 'BCdNationality', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', 'BCdHealthStatus','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataItemCode = ['BCdPartyFace', 'BCdNationality', 'BCdDegree', 'BCdFamilyOrigin', 'BCdForeignLanguage', 'BCdSubjectSpecies', 'BCdOverseasChinese', 'BCdHealthStatus', 'BCdTitleOfTechPost','usersexbit', 'JobStatus', 'jsgw', 'PositionLevel', 'CompilationCategory', 'ObtainWay', 'ObtainWay', 'ObtainWayOfDegree', 'ObtainWayOfDegree', 'TechnicalPost', 'TechnicalLevelOfWorker', 'EmpFullTime', 'YesOrNoBit'];
var colDataSourceArr = ['PartyFaceNo', 'NationalityNo', 'HealthStatusNo', 'FamilyOriginNo', 'OverseasChineseNo', 'F_CompanyId', 'F_DepartmentId', 'DeptNo', 'PostRank', 'HighestRecord', 'CultureDegreeNo', 'DegreeNo', 'InitialDegree', 'SubjectSpeciesNo', 'ForeignLanguageNo'];
var colDataSourceCode = ['BCdPartyFace', 'BCdNationality', 'BCdHealthStatus', 'BCdFamilyOrigin', 'BCdOverseasChinese', 'company', 'classdata', 'CdDeptInfo', 'BCdTitleOfTechPost', 'BCdCultureDegree', 'BCdCultureDegree', 'BCdDegree', 'BCdSubjectSpecies', 'BCdForeignLanguage'];
var colDataSourceValue = ['partyfaceno', 'nationalityno', 'healthstatusno', 'familyoriginno', 'overseaschineseno', 'f_companyid', 'f_departmentid', 'deptno', 'titleoftechpostno', 'culturedegreeno', 'culturedegreeno', 'degreeno', 'degreeno', 'subjectspeciesno', 'foreignlanguageno'];
@@ -87,30 +87,8 @@ var bootstrap = function ($, learun) {
}
});
$('#RegionNo').lrselect();
//$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
//$('#HealthStatusNo').lrDataSourceSelect({ code: 'BCdHealthStatus', value: 'healthstatusno', text: 'healthstatus' });
//$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' });
//$('#DegreeNo').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' });
//$('#FamilyOriginNo').lrDataSourceSelect({ code: 'BCdFamilyOrigin', value: 'familyoriginno', text: 'familyorigin' });
//$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies', value: 'subjectspeciesno', text: 'subjectspecies' });
//$('#ForeignLanguageNo').lrDataSourceSelect({ code: 'BCdForeignLanguage', value: 'foreignlanguageno', text: 'foreignlanguagename' });
//$('#EmpSortNo').lrDataItemSelect({ code: 'jsgw' });
//$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' });
//$('#ObtainWay').lrDataItemSelect({ code: 'ObtainWay' });
//$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
//$('#PostRank').lrDataSourceSelect({ code: 'BCdTitleOfTechPost', value: 'titleoftechpostno', text: 'titleoftechpost' });
$('#Photo').lrUploader();
//$('#HighestRecord').lrDataSourceSelect({ code: 'BCdCultureDegree', value: 'culturedegreeno', text: 'culturedegree' });
//$('#ObtainWayOfHighestRecord').lrDataItemSelect({ code: 'ObtainWay' });
//$('#InitialDegree').lrDataSourceSelect({ code: 'BCdDegree', value: 'degreeno', text: 'degreename' });
//$('#ObtainWayOfInitialDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' });
//$('#ObtainWayOfHighestDegree').lrDataItemSelect({ code: 'ObtainWayOfDegree' });
//$('#PositionLevel').lrDataItemSelect({ code: 'PositionLevel' });
//$('#JobRank').lrDataItemSelect({ code: 'TechnicalPost' });
//$('#WorkLevel').lrDataItemSelect({ code: 'TechnicalLevelOfWorker' });
//$('#CompilationCategory').lrDataItemSelect({ code: 'CompilationCategory' });
//$('#IsInActiveStatus').lrDataItemSelect({ code: 'JobStatus' });

//内容编辑器
ue = UE.getEditor('editor');



+ 10
- 15
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.cshtml View File

@@ -166,13 +166,11 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

@@ -203,13 +201,12 @@
},
subjectSpeciesNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'subjectspeciesno',
code: 'BCdSubjectSpecies',
callback: function (_data) {
result = _data.subjectspecies;
}.bind(this)
result = _data.text;
}
});
return result;
},
@@ -311,13 +308,11 @@
},
titleOfTechPostNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'titleoftechpostno',
code: 'BCdTitleOfTechPost',
callback: function (_data) {
result = _data['titleoftechpost'];
result = _data.text;
}
});
return result;


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/FormView.js View File

@@ -67,17 +67,16 @@ var bootstrap = function ($, learun) {
}
});
$('#RegionNo').lrselect();
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#CultureDegreeNo').lrDataSourceSelect({ code: 'BCdCultureDegree',value: 'culturedegreeno',text: 'culturedegree' });
$('#DegreeNo').lrDataItemSelect({ code: 'BCdDegree' });
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#SubjectSpeciesNo').lrDataSourceSelect({ code: 'BCdSubjectSpecies',value: 'subjectspeciesno',text: 'subjectspecies' });
$('#SubjectSpeciesNo').lrDataItemSelect({ code: 'BCdSubjectSpecies' });
$('#ForeignLanguageNo').lrDataItemSelect({ code: 'BCdForeignLanguage' });
$('#EmpSortNo').lrDataItemSelect({ code: 'EmpSort' });
$('#EmpFullTimeNo').lrDataItemSelect({ code: 'EmpFullTime' });
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo',value: 'deptno',text: 'deptname' });
$('#TitleOfTechPostNo').lrDataSourceSelect({ code: 'BCdTitleOfTechPost',value: 'titleoftechpostno',text: 'titleoftechpost' });
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });$('#TitleOfTechPostNo').lrDataItemSelect({ code: 'BCdTitleOfTechPost', allowSearch: true });
$('#Photo').lrUploader();
$("#lrUploader_uploadBtn_Photo").hide();
},


+ 9
- 12
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js View File

@@ -494,12 +494,11 @@ var bootstrap = function ($, learun) {
{
label: "港澳台侨", name: "OverseasChineseNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
callback(_data['overseaschinesename']);
callback(_data.text);
}
});
}
@@ -533,12 +532,11 @@ var bootstrap = function ($, learun) {
{
label: "学科门类", name: "SubjectSpeciesNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'subjectspeciesno',
code: 'BCdSubjectSpecies',
callback: function (_data) {
callback(_data['subjectspecies']);
callback(_data.text);
}
});
}
@@ -570,12 +568,11 @@ var bootstrap = function ($, learun) {
{
label: "岗位名称", name: "TitleOfTechPostNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'titleoftechpostno',
code: 'BCdTitleOfTechPost',
callback: function (_data) {
callback(_data['titleoftechpost']);
callback(_data.text);
}
});
}


+ 3
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/IndexOfDC.js View File

@@ -417,12 +417,11 @@ var bootstrap = function ($, learun) {
{
label: "职级", name: "PostRank", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost',
learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'titleoftechpostno',
code: 'BCdTitleOfTechPost',
callback: function (_data) {
callback(_data['titleoftechpost']);
callback(_data.text);
}
});
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js View File

@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' });
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' });


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js View File

@@ -110,7 +110,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#EduSystem').lrDataItemSelect({ code: 'EduSystem' });
$('#StudyModality').lrDataItemSelect({ code: 'StudyModality' });


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.cshtml View File

@@ -227,16 +227,13 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

return result;
},
healthStatusNo: function (value) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormView.js View File

@@ -69,7 +69,7 @@ var bootstrap = function ($, learun) {
$('#HealthStatusNo').lrDataItemSelect({ code: 'BCdHealthStatus' });
$('#Photo').lrUploader();
$('#FamilyOriginNo').lrDataItemSelect({ code: 'BCdFamilyOrigin' });
$('#OverseasChineseNo').lrDataSourceSelect({ code: 'BCdOverseasChinese', value: 'overseaschineseno', text: 'overseaschinesename' });
$('#OverseasChineseNo').lrDataItemSelect({ code: 'BCdOverseasChinese' });
$('#GraduateNo').lrDataItemSelect({ code: 'CollegeType' });
$('#DeptNo').lrselect({
value: "deptno",


+ 3
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Room.cshtml View File

@@ -351,16 +351,13 @@
},
filter_BCdOverseasChinese: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result=_data.text;
}
});

return result;
},
filter_CollegeType: function (value) {


+ 13
- 22
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml View File

@@ -284,16 +284,13 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

return result;
},
healthStatusNo: function (value) {
@@ -503,16 +500,13 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

return result;
},
healthStatusNo: function (value) {
@@ -540,13 +534,12 @@
},
subjectSpeciesNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'subjectspeciesno',
code: 'BCdSubjectSpecies',
callback: function (_data) {
result = _data.subjectspecies;
}.bind(this)
result = _data.text;
}
});
return result;
},
@@ -648,13 +641,11 @@
},
titleOfTechPostNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'titleoftechpostno',
code: 'BCdTitleOfTechPost',
callback: function (_data) {
result = _data['titleoftechpost'];
result = _data.text;
}
});
return result;


+ 10
- 16
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexForDC.cshtml View File

@@ -284,16 +284,13 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

return result;
},
healthStatusNo: function (value) {
@@ -547,13 +544,12 @@
},
subjectSpeciesNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'subjectspeciesno',
code: 'BCdSubjectSpecies',
callback: function (_data) {
result = _data.subjectspecies;
}.bind(this)
result = _data.text;
}
});
return result;
},
@@ -666,13 +662,11 @@
},
titleOfTechPostNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'titleoftechpostno',
code: 'BCdTitleOfTechPost',
callback: function (_data) {
result = _data['titleoftechpost'];
result = _data.text;
}
});
return result;


+ 13
- 21
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml View File

@@ -270,13 +270,11 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

@@ -551,16 +549,13 @@
},
overseasChineseNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdOverseasChinese',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'overseaschineseno',
code: 'BCdOverseasChinese',
callback: function (_data) {
result = _data.overseaschinesename;
result = _data.text;
}
});

return result;
},
healthStatusNo: function (value) {
@@ -588,13 +583,12 @@
},
subjectSpeciesNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdSubjectSpecies',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'subjectspeciesno',
code: 'BCdSubjectSpecies',
callback: function (_data) {
result = _data.subjectspecies;
}.bind(this)
result = _data.text;
}
});
return result;
},
@@ -696,13 +690,11 @@
},
titleOfTechPostNo: function (value) {
var result;
top.learun.clientdata.getAsync('custmerData', {
sync: true,
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdTitleOfTechPost',
top.learun.clientdata.getAsync('dataItem', {
key: value,
keyId: 'titleoftechpostno',
code: 'BCdTitleOfTechPost',
callback: function (_data) {
result = _data['titleoftechpost'];
result = _data.text;
}
});
return result;


Loading…
Cancel
Save