1234567891011121314151617181920212223242526272829303132333435363738394041 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Entities;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "StudentList";
- Guid? templateID = ViewBag.TemplateID;
- var list = ViewBag.FileList;
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "EMISFunction.FormSuccess",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- @Html.Position()
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="成果名称", Align=AlignStyle.Center, Width=0.1 },
- new BoundFieldColumn { FieldName="Credit", HeaderText="成果学分", Align=AlignStyle.Center, Width=0.05 },
- new BoundFieldColumn { FieldName="Weight", HeaderText="成果权重", Align=AlignStyle.Center, Width=0.05},
- new BoundFieldColumn { FieldName="Description", HeaderText="成果描述", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="AttachmentName", HeaderText="附件说明", Align=AlignStyle.Center, Width=0.12 },
- new BoundFieldColumn { FieldName="IsGroupStr", HeaderText="是否分组", Align=AlignStyle.Center, Width=0.05 },
- },
- IsCheckOnSelect = false,
- DataSourceUrl = Url.Content("~/SOCTemplate/TemplateDetail?templateID=" + templateID),
- ID = "dgTemplateDetailList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsAutoHeight = false,
- })
- </div>
- }
- </div>
|