1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- @model EMIS.ViewModel.DQPSystem.SOCDetailView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.ViewModel;
- @{
- }
- @section scripts{
-
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- <div class="search_list">
- <form id="formQuery" method="post">
- @Html.Hidden("hidSOCDetailID", Model.SOCDetailID, new Dictionary<string, object> { { "data-condition", "dgSOCDetailGroupStudentList" } })
- </form>
- @Html.HiddenFor(x => x.SOCDetailID)
- <table cellpadding="0" cellspacing="0" id="departmenttable">
- <tr>
- <td>
- @Html.LabelFor(x => x.Name):
- </td>
- <td>
- @Html.DisplayFor(x => x.Name)
- </td>
- <td>
- @Html.LabelFor(x => x.Credit):
- </td>
- <td>
- @Html.DisplayFor(x => x.Credit)
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Weight):
- </td>
- <td>
- @Html.DisplayFor(x => x.Weight)
- </td>
- <td>
- @Html.Label("")
- </td>
- <td>
- @Html.Label("")
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Description):
- </td>
- <td colspan = "3">
- @Html.DisplayFor(x => x.Description)
- </td>
- </tr>
- <tr>
- <td colspan="4">
- @Html.Uploader(new uploaderOption { IsEnabled = false, Name = "SOCAttachment", MainTableID = Model.SOCDetailID, Title = "SOC说明文件" })
- </td>
- </tr>
- @if (Model.IsGroup == true)
- {
- <tr>
- <td colspan="4">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="所在班级", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/SOCDetailScore/DetailStudentGroupList"),
- ID = "dgSOCDetailGroupStudentList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </td>
- </tr>
- }
- </table>
- </div>
- </div>
|