1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- @model EMIS.ViewModel.MinorManage.MinorApply.MinorApplyView
- @using EMIS.Web.Controls;
- @using EMIS.Entities;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- List<DropdownListItem> listAction = ViewData["listAction"] as List<DropdownListItem>;
- var defaultAction = listAction.FirstOrDefault(x => x.Text == "同意");
- var defaultActionValue = (defaultAction == null ? null : defaultAction.Value);
- string minorApplyIDs = ViewData["planApplicationIDs"] as string;
- }
- @section scripts{
- <script type="text/javascript">
- function MinorRegistApprove_Submit() {
- $(document.forms[0]).submit();
- }
- </script>
- }
- @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <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("Edit")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("hid_minorApplyIDs", minorApplyIDs)
- @Html.HiddenFor(x => x.StudentMinorRegistID)
- <table cellpadding="0" cellspacing="0" id="minorRegistApprovaltable">
- <tr>
- <td style="color: red;">
- @Html.LabelFor(x => x.Action):
- </td>
- <td colspan="3">
- @Html.DropdownList(new DropdownListOptions
- {
- BindType = DropdownListBindType.PleaseSelect,
- ID = "ddlAction",
- Name = "ddlAction",
- ItemList = listAction,
- })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.Comment):
- </td>
- <td colspan="3">
- @Html.TextAreaFor(x => x.Comment, new Dictionary<string, object>
- {
- { "style", "width: 90%;min-height: 50px" }
- })
- </td>
- </tr>
- </table>
- </div>
- }
|