12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @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/TeachersOrderEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- function TeachersOrder_AuditStatusAdd() {
- $(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("AuditStatus")</div>
- }
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.TeachersOrderID)
- <table cellpadding="0" cellspacing="0" id="teachersOrderExamineTable">
- <tr>
- <td>
- @Html.Label("处理动作");
- </td>
- <td colspan="3">@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ddlAction", Name = "ddlAction", ItemList = listAction })
- </td>
- </tr>
- <tr>
- <td>@Html.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>
|