From 76918a1d2b8c5346d037ed905853a328175ab66a Mon Sep 17 00:00:00 2001 From: ndbs Date: Wed, 16 Mar 2022 10:19:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E4=B8=AA=E4=BA=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=9F=A5=E7=9C=8B=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=20=E5=AD=A6=E7=94=9F=E5=AD=A6=E7=B1=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E7=9C=8B=E6=98=AF=E5=90=A6=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E7=85=A7=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/StuInfoBasic/Index.js | 11 ++++ .../Views/UserCenter/Index.cshtml | 53 ++++++++++++++++--- 2 files changed, 56 insertions(+), 8 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js index 7e6cf302f..22171f71c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js @@ -437,7 +437,18 @@ var bootstrap = function ($, learun) { formatter: function (cellvalue) { return cellvalue == "1" ? "已审核" : "未审核"; } + }, + { + label: "是否上传头像", name: "Photo", width: 80, align: "center", + formatter: function (cellvalue) { + if (cellvalue != null && cellvalue != "" && cellvalue != undefined) { + return cellvalue = ""; + } else { + return cellvalue= ""; + } + } } + ], mainId: 'StuId', isPage: true, 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 abe15e070..dfd60aa8d 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 @@ -95,11 +95,14 @@ @@ -112,32 +115,51 @@
  • 民 族 : {{studentInfo.NationalityNo |nationalityNo}}
  • 政治面貌 : {{studentInfo.PartyFaceNo | partyFaceNo}}
  • 身份证号 : {{studentInfo.IdentityCardNo}}
  • +
  • 户口所在地 : {{studentInfo.FatherUnit}}
  • + @*
  • 民 族 : {{studentInfo.NationalityNo |nationalityNo}}
  • +
  • 政治面貌 : {{studentInfo.PartyFaceNo | partyFaceNo}}
  • +
  • 身份证号 : {{studentInfo.IdentityCardNo}}
  • E-mail : {{studentInfo.EMail}}
  • 户 籍 省 : {{studentInfo.F_ProvinceId | province}}
  • 户籍地市 : {{studentInfo.F_CityId | city}}
  • 户籍县区 : {{studentInfo.F_CountyId | area}}
  • -
  • 户籍地址 : {{studentInfo.FatherUnit}}
  • +
  • 户籍地址 : {{studentInfo.FatherUnit}}
  • *@
    家庭情况
    学籍信息
    联系方式
    @@ -247,6 +272,18 @@ }); return result; }, + guardiantype: function (value) { + var result; + top.learun.clientdata.getAsync('dataItem', + { + key: value, + code: 'GuardianType', + callback: function (_data) { + result = _data.text; + } + }); + return result; + }, province: function (value) { var result; top.learun.clientdata.getAsync('custmerData', {