ApproveHandler.cshtml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "Edit";
  5. }
  6. @section scripts{
  7. <script type="text/javascript">
  8. function Confirm() {
  9. if ($("#ddlAction").combobox("getValue") == "" || $("#ddlAction").combobox("getValue") == "@DropdownList.SELECT_ALL"){
  10. $.messager.alert("系统提示", "请选择处理动作。");
  11. return;
  12. }
  13. top.$("#@(Request["WindowID"])").data("resultData", {
  14. Action: $("#ddlAction").combobox("getValue"),
  15. Comment: $("#txtOpinioncomment").val()
  16. });
  17. top.$("#@(Request["WindowID"])").dialog("close");
  18. }
  19. </script>
  20. }
  21. <div class="easyui-panel" data-options="border:false,fit:true">
  22. @using (Html.BeginForm("AuditProcess", "SpecialtyAuditing", new { MNU = "Mnu05-01-03" }, FormMethod.Post))
  23. {
  24. <div class="p_title">
  25. @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  26. 审核信息</div>*@
  27. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  28. <div class="current_navbar toolbar">
  29. <div class="func_info">
  30. <a class="easyui-linkbutton" href="javascript:Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
  31. onfocus="this.blur()">确定</a>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="search_list">
  37. <table id="specialtytable">
  38. <tr>
  39. <td style="padding: 0px 0px 0px 10px;">
  40. 处理动作:
  41. </td>
  42. <td>@Html.DropdownList(new DropdownListOptions
  43. {
  44. BindType = DropdownListBindType.None,
  45. ID = "ddlAction",
  46. Name = "ddlAction",
  47. ItemSourceUrl = "~/Common/ApproveActionDropDown?bindType="+
  48. ((int)DropdownListBindType.None).ToString() + "&tableName=" +
  49. Request["TableName"] + "&formID=" + Request["FormID"]
  50. })
  51. </td>
  52. </tr>
  53. <tr>
  54. <td style="padding: 10px 0px 0px 10px;">
  55. 处理意见:
  56. </td>
  57. <td style="padding: 10px 0px 0px 0px;">@Html.TextArea("txtOpinioncomment", "", 5, 30, new { id = "txtOpinioncomment" })
  58. </td>
  59. </tr>
  60. </table>
  61. </div>
  62. }
  63. </div>