@using Bowin.Web.Controls.Mvc;
@using EMIS.Entities;
@using EMIS.Web.Controls;
@{
ViewBag.Title = "Detail";
Guid? SOCID = ViewBag.SOCID;
var list = ViewBag.FileList;
}
@section scripts{
}
@using (Ajax.BeginForm(new AjaxOptions
{
OnSuccess = "EMISFunction.FormSuccess",
OnBegin = "EMISFunction.FormSubmit",
OnComplete = "EMISFunction.FormComplete"
}))
{
@Html.Position()
@Html.DataGrid(new DataGridOptions
{
Columns = new List()
{
new CheckBoxFieldColumn{ HeaderText="", FieldName="SOCDetailID" },
new BoundFieldColumn { FieldName="Name", HeaderText="成果名称", Align=AlignStyle.Center, Width=0.05 },
new BoundFieldColumn { FieldName="Credit", HeaderText="成果学分", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="Weight", HeaderText="成果权重", Align=AlignStyle.Center, Width=0.04 },
new BoundFieldColumn { FieldName="Description", HeaderText="成果描述", Align=AlignStyle.Center, Width=0.16 },
new BoundFieldColumn { FieldName="IsGroupStr", HeaderText="是否分组", Align=AlignStyle.Center, Width=0.04 },
new LinkButtonColumn { FieldName="SOCDetailAttachment", HeaderText="附件说明", Align=AlignStyle.Center, Width=0.1, Handle="showAttachment" },
new BoundFieldColumn { FieldName="StartTimeStr", HeaderText="开始上传时间", Align=AlignStyle.Center, Width=0.06 },
new BoundFieldColumn { FieldName="EndTimeStr", HeaderText="截止上传时间", Align=AlignStyle.Center, Width=0.06 },
},
IsCheckOnSelect = false,
DataSourceUrl = Url.Content("~/SOC/SOCDetail?SOCID=" + SOCID),
ID = "dgSOCDetailList",
IsPagination = true,
IsShowRowNumbers = true,
IsSingleSelect = false,
IsAutoHeight = false,
})
}