From 53aaf40043cb72398a33fb89c5f150663c9bca2a Mon Sep 17 00:00:00 2001 From: libo Date: Fri, 10 Mar 2023 12:01:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83=20?= =?UTF-8?q?=E6=94=BF=E6=B2=BB=E9=9D=A2=E8=B2=8C=20=E6=9C=80=E9=AB=98?= =?UTF-8?q?=E5=AD=A6=E5=8E=86=20=E4=BF=AE=E6=94=B9=E4=B8=BA=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/UserCenter/Index.cshtml | 29 +++++++------------ 1 file changed, 11 insertions(+), 18 deletions(-) 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) {