@@ -19,6 +19,10 @@ | |||||
<div class="lr-form-item-title">请假天数<font face="宋体">*</font></div> | <div class="lr-form-item-title">请假天数<font face="宋体">*</font></div> | ||||
<input id="LeaveDay" readonly type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | <input id="LeaveDay" readonly type="text" class="form-control" isvalid="yes" checkexpession="NotNull" /> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item" data-table="StuLeaveManagement"> | |||||
<div class="lr-form-item-title">去向</div> | |||||
<input id="LeaveTo" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="StuLeaveManagement"> | <div class="col-xs-12 lr-form-item" data-table="StuLeaveManagement"> | ||||
<div class="lr-form-item-title">请假事由</div> | <div class="lr-form-item-title">请假事由</div> | ||||
<textarea id="LeaveReason" readonly class="form-control" style="height:100px;"></textarea> | <textarea id="LeaveReason" readonly class="form-control" style="height:100px;"></textarea> | ||||
@@ -92,6 +92,7 @@ var bootstrap = function ($, learun) { | |||||
{ label: "开始时间", name: "StartTime", width: 100, align: "left" }, | { label: "开始时间", name: "StartTime", width: 100, align: "left" }, | ||||
{ label: "结束时间", name: "EndTime", width: 100, align: "left" }, | { label: "结束时间", name: "EndTime", width: 100, align: "left" }, | ||||
{ label: "请假天数", name: "LeaveDay", width: 100, align: "left" }, | { label: "请假天数", name: "LeaveDay", width: 100, align: "left" }, | ||||
{ label: "去向", name: "LeaveTo", width: 100, align: "left" }, | |||||
{ label: "请假事由", name: "LeaveReason", width: 100, align: "left" }, | { label: "请假事由", name: "LeaveReason", width: 100, align: "left" }, | ||||
{ label: "学号", name: "CreateUserNo", width: 100, align: "left" }, | { label: "学号", name: "CreateUserNo", width: 100, align: "left" }, | ||||
{ label: "姓名", name: "CreateUserName", width: 100, align: "left" }, | { label: "姓名", name: "CreateUserName", width: 100, align: "left" }, | ||||
@@ -19,6 +19,10 @@ | |||||
<div class="lr-form-item-title">请假天数<font face="宋体">*</font></div> | <div class="lr-form-item-title">请假天数<font face="宋体">*</font></div> | ||||
<input id="LeaveDay" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" /> | <input id="LeaveDay" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatint" /> | ||||
</div> | </div> | ||||
<div class="col-xs-12 lr-form-item" data-table="StuLeaveManagement"> | |||||
<div class="lr-form-item-title">去向</div> | |||||
<input id="LeaveTo" type="text" class="form-control" /> | |||||
</div> | |||||
<div class="col-xs-12 lr-form-item" data-table="StuLeaveManagement"> | <div class="col-xs-12 lr-form-item" data-table="StuLeaveManagement"> | ||||
<div class="lr-form-item-title">请假事由</div> | <div class="lr-form-item-title">请假事由</div> | ||||
<textarea id="LeaveReason" class="form-control" style="height:100px;"></textarea> | <textarea id="LeaveReason" class="form-control" style="height:100px;"></textarea> | ||||
@@ -77,7 +77,7 @@ var bootstrap = function ($, learun) { | |||||
}, | }, | ||||
// 初始化列表 | // 初始化列表 | ||||
initGird: function () { | initGird: function () { | ||||
$('#gridtable').lrAuthorizeJfGrid({ | |||||
$('#gridtable').jfGrid({ | |||||
url: top.$.rootUrl + '/EducationalAdministration/StuLeaveManagement/GetPageList', | url: top.$.rootUrl + '/EducationalAdministration/StuLeaveManagement/GetPageList', | ||||
headData: [ | headData: [ | ||||
{ | { | ||||
@@ -122,6 +122,7 @@ var bootstrap = function ($, learun) { | |||||
{ label: "开始时间", name: "StartTime", width: 100, align: "left" }, | { label: "开始时间", name: "StartTime", width: 100, align: "left" }, | ||||
{ label: "结束时间", name: "EndTime", width: 100, align: "left" }, | { label: "结束时间", name: "EndTime", width: 100, align: "left" }, | ||||
{ label: "请假天数", name: "LeaveDay", width: 100, align: "left" }, | { label: "请假天数", name: "LeaveDay", width: 100, align: "left" }, | ||||
{ label: "去向", name: "LeaveTo", width: 100, align: "left" }, | |||||
{ label: "请假事由", name: "LeaveReason", width: 100, align: "left" }, | { label: "请假事由", name: "LeaveReason", width: 100, align: "left" }, | ||||
{ label: "学号", name: "CreateUserNo", width: 100, align: "left" }, | { label: "学号", name: "CreateUserNo", width: 100, align: "left" }, | ||||
{ label: "姓名", name: "CreateUserName", width: 100, align: "left" }, | { label: "姓名", name: "CreateUserName", width: 100, align: "left" }, | ||||
@@ -44,6 +44,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration | |||||
/// </summary> | /// </summary> | ||||
[Column("LEAVEREASON")] | [Column("LEAVEREASON")] | ||||
public string LeaveReason { get; set; } | public string LeaveReason { get; set; } | ||||
[Column("LEAVETO")] | |||||
public string LeaveTo { get; set; } | |||||
/// <summary> | /// <summary> | ||||
/// 申请人ID | /// 申请人ID | ||||
/// </summary> | /// </summary> | ||||