@@ -1,4 +1,4 @@ | |||||
(function () { | |||||
(function () { | |||||
var page = { | var page = { | ||||
isScroll: true, | isScroll: true, | ||||
init: function ($page) { | init: function ($page) { | ||||
@@ -9,7 +9,7 @@ | |||||
$page.find('img').attr('src', config.webapi + 'learun/adms/user/img?data=' + baseinfo.userId); | $page.find('img').attr('src', config.webapi + 'learun/adms/user/img?data=' + baseinfo.userId); | ||||
$page.find('.account').text(baseinfo.account); | |||||
$page.find('.account').text(baseinfo.IdentityCardNo); | |||||
$page.find('.enCode').text(baseinfo.enCode); | $page.find('.enCode').text(baseinfo.enCode); | ||||
$page.find('.realName').text(baseinfo.realName); | $page.find('.realName').text(baseinfo.realName); | ||||
$page.find('.gender').text(baseinfo.gender == 1 ? '男' : '女'); | $page.find('.gender').text(baseinfo.gender == 1 ? '男' : '女'); | ||||
@@ -323,13 +323,16 @@ namespace Learun.Util.Operat | |||||
userInfo.isSystem = userEntity.F_SecurityLevel == 1 ? true : false; | userInfo.isSystem = userEntity.F_SecurityLevel == 1 ? true : false; | ||||
userInfo.Description = userEntity.F_Description; | userInfo.Description = userEntity.F_Description; | ||||
userInfo.IdentityCardNo = | |||||
userEntity.F_IdentityCardNo.IsEmpty().ToString() == "True" ? "" : ""; | |||||
userInfo.roleIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 1); | userInfo.roleIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 1); | ||||
if (!string.IsNullOrEmpty(userInfo.roleIds)) | if (!string.IsNullOrEmpty(userInfo.roleIds)) | ||||
{ | { | ||||
var rolelist = userRelationIBLL.GetRoleListByUserId(userEntity.F_UserId); | var rolelist = userRelationIBLL.GetRoleListByUserId(userEntity.F_UserId); | ||||
foreach (var roleEntity in rolelist) | foreach (var roleEntity in rolelist) | ||||
{ | { | ||||
userInfo.roleName += roleEntity.F_FullName+ ","; | |||||
userInfo.roleName += roleEntity.F_FullName + ","; | |||||
} | } | ||||
} | } | ||||
userInfo.postIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 2); | userInfo.postIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 2); | ||||
@@ -19,6 +19,10 @@ namespace Learun.Util | |||||
/// </summary> | /// </summary> | ||||
public string userId { get; set; } | public string userId { get; set; } | ||||
/// <summary> | /// <summary> | ||||
/// 身份号 | |||||
/// </summary> | |||||
public string IdentityCardNo { get; set; } | |||||
/// <summary> | |||||
/// 工号 | /// 工号 | ||||
/// </summary> | /// </summary> | ||||
public string enCode { get; set; } | public string enCode { get; set; } | ||||
@@ -153,7 +157,7 @@ namespace Learun.Util | |||||
/// 学生专业 | /// 学生专业 | ||||
/// </summary> | /// </summary> | ||||
public string majorno { get; set; } | |||||
public string majorno { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// 学生年级 | /// 学生年级 | ||||
/// </summary> | /// </summary> | ||||