AuditStatusView.cshtml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. @model EMIS.ViewModel.TeachingMaterial.TeachersOrderView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @using EMIS.ViewModel;
  5. @{
  6. ViewBag.Title = "Edit";
  7. List<DropdownListItem> listAction = ViewData["listAction"] as List<DropdownListItem>;
  8. Guid teachersOrderID = Model.TeachersOrderID;
  9. }
  10. @section scripts{
  11. <script src="../../Scripts/Business/TeachingMaterial/TeachersOrderEdit.js" type="text/javascript"></script>
  12. <script type="text/javascript">
  13. function TeachersOrder_AuditStatusAdd() {
  14. $(document.forms[0]).submit();
  15. }
  16. </script>
  17. }
  18. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  19. @using (Html.BeginForm())
  20. {
  21. <div class="p_title">
  22. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  23. 计划审核信息
  24. </div>
  25. @if (Model.ApproveStatus != (int)ViewData["endStatus"])
  26. {
  27. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("AuditStatus")</div>
  28. }
  29. </div>
  30. <div class="search_list">
  31. @Html.HiddenFor(x => x.TeachersOrderID)
  32. <table cellpadding="0" cellspacing="0" id="teachersOrderExamineTable">
  33. <tr>
  34. <td>
  35. @Html.Label("处理动作");
  36. </td>
  37. <td colspan="3">@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ddlAction", Name = "ddlAction", ItemList = listAction })
  38. </td>
  39. </tr>
  40. <tr>
  41. <td>@Html.Label("处理详细");
  42. </td>
  43. <td colspan="3">
  44. @Html.DataGrid(new DataGridOptions
  45. {
  46. Columns = new List<DataGridColumn>()
  47. {
  48. new BoundFieldColumn { FieldName="PName", HeaderText="步骤名称", Align=AlignStyle.Center },
  49. new BoundFieldColumn { FieldName="ApproveUserName", HeaderText="处理用户", Align=AlignStyle.Center },
  50. new BoundFieldColumn { FieldName="ActionName", HeaderText="处理动作", Align=AlignStyle.Center },
  51. new BoundFieldColumn { FieldName="ApproveTime", HeaderText="处理时间", Align=AlignStyle.Center, Formatter = Formatter.OnlyYearMonthDay },
  52. new BoundFieldColumn { FieldName="Comment", HeaderText="审核意见", Align=AlignStyle.Center }
  53. },
  54. IsCheckOnSelect = true,
  55. DataSourceUrl = Url.Content("~/TeachersOrderExamine/ApproveWorkflowList?teachersOrderID=" + teachersOrderID + ""),
  56. ID = "dgAuditingWorkflowHistoryList",
  57. IsPagination = true,
  58. IsShowRowNumbers = true,
  59. IsSingleSelect = false
  60. })
  61. </td>
  62. </tr>
  63. <tr>
  64. <td>
  65. <label>
  66. 处理意见:</label>
  67. </td>
  68. <td colspan="3">@Html.TextArea("txtOpinioncomment", new Dictionary<string, object> { { "style", "width:500px;" } })
  69. </td>
  70. </tr>
  71. </table>
  72. </div>
  73. }
  74. </div>