(function () { var page = { isScroll: false, init: function ($page) { // 获取登录者信息 var userinfo = learun.storage.get('userinfo'); //数据绑定 learun.httpget(config.webapi + "StuInfoFresh/stuInfoFreshEntity", userinfo.baseinfo.account, (data) => { if (data) { var entity = data['StuInfoFreshEntity']; if (entity != null) { $('#StuName').html(entity.StuName); $('#StuNo').html(entity.StuNo); $('#DeptNo').html(entity.DeptNo); $('#MajorNo').html(entity.MajorNo); $('#ClassNo').html(entity.ClassNo); $('#ClassTutorName').html(entity.ClassTutorName); $('#ClassTutorMobile').html(entity.ClassTutorMobile); $('#PayFeeStatus').html(entity.PayFeeStatus == "1" ? "已缴费" : "未缴费"); $('#CollectFileStatus').html(entity.CollectFileStatus == "1" ? "已提交" : "未提交"); $('#GetKeyStatus').html(entity.GetKeyStatus == "1" ? "已领取" : "未领取"); $('#IsCompleteInfo').html(entity.IsCompleteInfo); $('#Dormitory').html(entity.DormitoryName); } } }); }, bind: function ($page) { } }; return page; })();