12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @model EMIS.ViewModel.TeachingMaterial.StudentDistributeView
- @{
- ViewBag.Title = "SubmitStudentDistribute";
- ComboGridOptions cgopUser = new ComboGridOptions
- {
- TextField = "UserName",
- ValueField = "UserID",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new LinkButtonColumn { FieldName="LoginID", HeaderText="学号", Width=0.25, Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Width=0.1, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Students/StudentOnlyInSchool"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- }
- };
- }
- @section scripts{
- <script type="text/javascript">
- //保存信息
- function StudentDistribute_Save() {
- $(document.forms[0]).submit();
- }
- </script>
- <style type="text/css">
- #stafftable
- {
- width: 100%;
- border: 0px none;
- }
- #stafftable tr
- {
- min-height: 30px;
- }
- </style>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/StudentDistribute/SubmitStudentDistribute", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- @Html.HiddenFor(x => x.StudentDistributeID)
- <div class="p_title">
- @* <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 发放提交确定
- </div>*@
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("SubmitConfirm")</div>
- </div>
- <div class="search_list">
- <table cellpadding="0" cellspacing="0" id="stafftable">
- <tr>
- <td>@Html.LabelFor(x => x.StudentDistributeNo):
- </td>
- <td>@Html.TextBoxFor(x => x.StudentDistributeNo)
- </td>
- <td>@Html.LabelFor(x => x.RecipientUser):
- </td>
- <td>@Html.ComboGridFor(x => x.RecipientUserID, cgopUser)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.Remark):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width: 500px;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|