12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- @model EMIS.ViewModel.MinorGraduation.MinorGraduationManage.MinorGraduationApplyView
- @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 minorGraduationApplyIDs = ViewData["minorGraduationApplyIDs"] as string;
- }
- @section scripts{
- <script type="text/javascript">
- function MinorGraduationApprove_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("Approve")</div>
- </div>
- <div class="search_list">
- @Html.Hidden("hid_minorApplyIDs", minorGraduationApplyIDs)
- @Html.HiddenFor(x => x.MinorGraduationApplyID)
- <table cellpadding="0" cellspacing="0" id="minorRegistApprovaltable">
- <tr>
- <td>
- @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>
- }
|