12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- @model EMIS.ViewModel.SupervisionManage.SupDocumentView
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- String SchoolYearID = ViewBag.SchoolYearID;
- ViewBag.Title = "List";
- }
- @section scripts{
- <script type="text/javascript">
- var windowID = '@(Request["WindowID"])';
- var nonSelect = "@DropdownList.SELECT_ALL";
- </script>
- <script src="~/Scripts/Business/SupervisionManage/SupDocumentUpload.js" type="text/javascript"></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;">@(Request["isShow"] == "1" ? new MvcHtmlString("") : Html.ContextMenuBar("Edit"))</div>
- </div>
- <div class="search_list popupWindowContent" style="overflow: hidden;">
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- @Html.HiddenFor(x => x.DocumentID)
- <tr>
- <td>
- @Html.LabelFor(x => x.Title):
- </td>
- <td>
- @Html.TextAreaFor(x => x.Title, new Dictionary<string, object> { { "style", "width: 90%;min-height: 60px" } })
- </td>
- </tr>
- <tr>
- <td>
- @Html.LabelFor(x => x.DocumentTypeID):
- </td>
- <td>
- @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.SUP_DocumentType, x => x.DocumentTypeID)
- </td>
- </tr>
- <tr>
- <td>
- <label>文件:</label>
- </td>
- <td>
- @Html.Uploader(new uploaderOption { Name = "SupDocumentAttachment", MainTableID = Model.DocumentID })
- </td>
- </tr>
- </table>
- </div>
- }
|