@@ -233,6 +233,8 @@ namespace Learun.Application.Organization | |||||
[Column("PERSIGNATURE")] | [Column("PERSIGNATURE")] | ||||
public string PerSignature { get; set; } | public string PerSignature { get; set; } | ||||
[Column("F_ORDER")] | |||||
public int? F_Order { get; set; } | |||||
#endregion | #endregion | ||||
#region 扩展操作 | #region 扩展操作 | ||||
@@ -58,15 +58,19 @@ | |||||
<div class="lr-form-item-title">身份证号<font face="宋体">*</font></div> | <div class="lr-form-item-title">身份证号<font face="宋体">*</font></div> | ||||
<input id="IdentityCardNo" type="text" class="form-control" isvalid="yes" checkexpession="IDCard" /> | <input id="IdentityCardNo" type="text" class="form-control" isvalid="yes" checkexpession="IDCard" /> | ||||
</div> | </div> | ||||
<div class="col-xs-4 lr-form-item" data-table="EmpInfo"> | |||||
<div class="col-xs-3 lr-form-item" data-table="EmpInfo"> | |||||
<div class="lr-form-item-title">出生日期</div> | <div class="lr-form-item-title">出生日期</div> | ||||
<input id="Birthday" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#Birthday').trigger('change'); } })" /> | <input id="Birthday" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#Birthday').trigger('change'); } })" /> | ||||
</div> | </div> | ||||
<div class="col-xs-4 lr-form-item" data-table="EmpInfo"> | |||||
<div class="col-xs-3 lr-form-item" data-table="EmpInfo"> | |||||
<div class="lr-form-item-title">民族</div> | <div class="lr-form-item-title">民族</div> | ||||
<div id="NationalityNo"></div> | <div id="NationalityNo"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-4 lr-form-item" data-table="EmpInfo"> | |||||
<div class="col-xs-3 lr-form-item" data-table="EmpInfo"> | |||||
<div class="lr-form-item-title">排序<font face="宋体">*</font></div> | |||||
<input id="F_Order" type="text" class="form-control" isvalid="yes" checkexpession="Num" /> | |||||
</div> | |||||
<div class="col-xs-3 lr-form-item" data-table="EmpInfo"> | |||||
<div class="lr-form-item-title">政治面貌</div> | <div class="lr-form-item-title">政治面貌</div> | ||||
<div id="PartyFaceNo"></div> | <div id="PartyFaceNo"></div> | ||||
</div> | </div> | ||||
@@ -172,6 +172,7 @@ var bootstrap = function ($, learun) { | |||||
for (var id in data) { | for (var id in data) { | ||||
if (!!data[id].length && data[id].length > 0) { | if (!!data[id].length && data[id].length > 0) { | ||||
$('#' + id).jfGridSet('refreshdata', data[id]); | $('#' + id).jfGridSet('refreshdata', data[id]); | ||||
console.log(2); | |||||
} | } | ||||
else { | else { | ||||
$('[data-table="' + id + '"]').lrSetFormData(data[id]); | $('[data-table="' + id + '"]').lrSetFormData(data[id]); | ||||
@@ -460,7 +460,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}, | }, | ||||
{ label: "身份证号", name: "IdentityCardNo", width: 150, align: "left" }, | { label: "身份证号", name: "IdentityCardNo", width: 150, align: "left" }, | ||||
{ label: "排序", name: "F_Order", width: 100, align: "left" }, | |||||
{ | { | ||||
label: "最高学历", name: "HighestRecord", width: 100, align: "left", | label: "最高学历", name: "HighestRecord", width: 100, align: "left", | ||||
formatterAsync: function (callback, value, row, op, $cell) { | formatterAsync: function (callback, value, row, op, $cell) { | ||||
@@ -615,6 +615,7 @@ var bootstrap = function ($, learun) { | |||||
], | ], | ||||
mainId: 'EmpId', | mainId: 'EmpId', | ||||
sidx: 'F_Order asc', | |||||
isPage: true, | isPage: true, | ||||
isMultiselect: true | isMultiselect: true | ||||
}); | }); | ||||
@@ -357,6 +357,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
} | } | ||||
}, | }, | ||||
{ label: "排序", name: "F_Order", index: "F_Order", width: 50, align: "center"}, | |||||
{ | { | ||||
label: "最后登录时间", name: "F_UserId_Log", width: 200, align: "left", formatterAsync: function (callback, value, row) { | label: "最后登录时间", name: "F_UserId_Log", width: 200, align: "left", formatterAsync: function (callback, value, row) { | ||||
learun.httpAsyncGet(top.$.rootUrl + '/LR_OrganizationModule/User/GetLastLoginTime?userId=' + value, function (res) { | learun.httpAsyncGet(top.$.rootUrl + '/LR_OrganizationModule/User/GetLastLoginTime?userId=' + value, function (res) { | ||||
@@ -372,6 +373,7 @@ var bootstrap = function ($, learun) { | |||||
isPage: true, | isPage: true, | ||||
reloadSelected: true, | reloadSelected: true, | ||||
mainId: 'F_UserId', | mainId: 'F_UserId', | ||||
sidx: 'F_Order asc', | |||||
isMultiselect: true | isMultiselect: true | ||||
}); | }); | ||||
}, | }, | ||||
@@ -527,7 +527,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// </summary> | /// </summary> | ||||
[Column("WORKERTECHNOLOGYSTATUS")] | [Column("WORKERTECHNOLOGYSTATUS")] | ||||
public bool? WorkerTechnologyStatus { get; set; } | public bool? WorkerTechnologyStatus { get; set; } | ||||
/// <summary> | /// <summary> | ||||
/// 任同职级职务时间 | /// 任同职级职务时间 | ||||
/// </summary> | /// </summary> | ||||
@@ -585,6 +585,13 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
[Column("ISINACTIVETIME")] | [Column("ISINACTIVETIME")] | ||||
public DateTime? IsInActiveTime { get; set; } | public DateTime? IsInActiveTime { get; set; } | ||||
/// <summary> | |||||
/// 排序 | |||||
/// </summary> | |||||
[Column("F_ORDER")] | |||||
public int? F_Order { get; set; } | |||||
#endregion | #endregion | ||||
#region 扩展操作 | #region 扩展操作 | ||||
@@ -434,6 +434,7 @@ sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 20 and DATEDIFF(YYYY, t.Bi | |||||
userbase.F_CompanyId = tEntity.F_CompanyId; | userbase.F_CompanyId = tEntity.F_CompanyId; | ||||
userbase.F_DepartmentId = tEntity.F_DepartmentId; | userbase.F_DepartmentId = tEntity.F_DepartmentId; | ||||
userbase.F_IdentityCardNo = tEntity.IdentityCardNo; | userbase.F_IdentityCardNo = tEntity.IdentityCardNo; | ||||
userbase.F_Order = tEntity.F_Order; | |||||
userIBLL.SaveEntity(null, userbase); | userIBLL.SaveEntity(null, userbase); | ||||
studentList.Add(userbase); | studentList.Add(userbase); | ||||
} | } | ||||
@@ -545,7 +546,7 @@ sum(case when DATEDIFF(YYYY, t.Birthday, GETDATE()) > 20 and DATEDIFF(YYYY, t.Bi | |||||
var keyValueArr = keyValue.Split(','); | var keyValueArr = keyValue.Split(','); | ||||
foreach (var item in keyValueArr) | foreach (var item in keyValueArr) | ||||
{ | { | ||||
db.ExecuteBySql("update EmpInfo set CheckMark=1 where EmpId='" + item + "'"); | |||||
db.ExecuteBySql("update EmpInfo set CheckMark=1 where EmpId='" + item + "'"); | |||||
} | } | ||||
db.Commit(); | db.Commit(); | ||||
} | } | ||||