12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- @model EMIS.ViewModel.TeachingMaterial.TeachersOrderView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.ViewModel;
- @{
- ViewBag.Title = "Edit";
- List<DropdownListItem> listAction = ViewData["listAction"] as List<DropdownListItem>;
- Guid teachersOrderID = Model.TeachersOrderID;
- }
- @section scripts{
- <script src="~/Scripts/Business/TeachingMaterial/TeachersOrderExamine.js" type="text/javascript"></script>
- <script type="text/javascript">
- function TeachersOrderExamine_Save() {
- $(document.forms[0]).submit();
- }
- //提交审核
- function TeachersOrder_Submit() {
- $(document.forms[0]).submit();
- }
-
- </script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Html.BeginForm())
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 计划审核信息</div>
- @if (Model.ApproveStatus != (int)ViewData["endStatus"])
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
- }
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.TeachersOrderID)
- <table cellpadding="0" cellspacing="0" >
- <tr>
- <td>
- <label>
- 处理动作:</label>
- </td>
- <td colspan="3">@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ddlAction", Name = "ddlAction", ItemList = listAction })
- </td>
- </tr>
- <tr>
- <td>
- <label>
- 处理详细:</label>
- </td>
- <td colspan="3">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="PName", HeaderText="步骤名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ApproveUserName", HeaderText="处理用户", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ActionName", HeaderText="处理动作", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ApproveTime", HeaderText="处理时间", Align=AlignStyle.Center, Formatter = Formatter.OnlyYearMonthDay },
- new BoundFieldColumn { FieldName="Comment", HeaderText="审核意见", Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/TeachersOrderExamine/ApproveWorkflowList?teachersOrderID=" + teachersOrderID + ""),
- ID = "dgAuditingWorkflowHistoryList",
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </td>
- </tr>
- <tr>
- <td>
- <label>
- 处理意见:</label>
- </td>
- <td colspan="3">@Html.TextArea("txtOpinioncomment", new Dictionary<string, object> { { "style", "width:500px;" } })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|