diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml index 712ce85e1..45dd0cf8b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/Index.cshtml @@ -175,7 +175,7 @@ $.get('/UserCenter/GetStudentInfo', function (ref) { this.studentInfo = ref.data.userInfo; this.baseInfo = ref.data.basicInfo; - console.log(ref); + //console.log(ref); }.bind(this), "json"); }, @@ -236,13 +236,11 @@ }, partyFaceNo: function (value) { var result; - top.learun.clientdata.getAsync('custmerData', { - sync: true, - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', + top.learun.clientdata.getAsync('dataItem', { key: value, - keyId: 'partyfaceno', + code: 'PolityStatus', callback: function (_data) { - result = _data['partyface']; + result = _data.text; } }); return result; @@ -508,29 +506,24 @@ }, partyFaceNo: function (value) { var result; - top.learun.clientdata.getAsync('custmerData', { - sync: true, - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdPartyFace', + top.learun.clientdata.getAsync('dataItem', { key: value, - keyId: 'partyfaceno', + code: 'PolityStatus', callback: function (_data) { - result = _data['partyface']; + result = _data.text; } }); return result; - }, + }, HighestRecordNo: function (value) { var result; - top.learun.clientdata.getAsync('custmerData', { - sync: true, - url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BCdCultureDegree', + top.learun.clientdata.getAsync('dataItem', { key: value, - keyId: 'culturedegreeno', + code: 'RecordInSchool', callback: function (_data) { - result = _data.culturedegree; + result = _data.text; } }); - return result; }, healthStatusNo: function (value) {