ApproveHandler.cshtml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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"), Comment: $("#txtOpinioncomment").val()
  15. });
  16. top.$("#@(Request["WindowID"])").dialog("close");
  17. }
  18. </script>
  19. }
  20. <div class="easyui-panel" data-options="border:false,fit:true">
  21. @using (Html.BeginForm("AuditProcess", "SpecialtyAuditing", new { MNU = "Mnu05-01-03" }, FormMethod.Post))
  22. {
  23. <div class="p_title">
  24. @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  25. 审核信息</div>*@
  26. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  27. <div class="current_navbar toolbar">
  28. <div class="func_info">
  29. <a class="easyui-linkbutton" href="javascript:Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
  30. onfocus="this.blur()">确定</a>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="search_list">
  36. <table id="specialtytable">
  37. <tr>
  38. <td style="padding: 0px 0px 0px 10px;">
  39. 处理动作:
  40. </td>
  41. <td>@Html.DropdownList(new DropdownListOptions
  42. {
  43. BindType = DropdownListBindType.None,
  44. ID = "ddlAction",
  45. Name = "ddlAction",
  46. ItemSourceUrl = "~/Common/ApproveActionDropDown?bindType="+
  47. ((int)DropdownListBindType.None).ToString() + "&tableName=" +
  48. Request["TableName"] + "&formID=" + Request["FormID"]
  49. })
  50. </td>
  51. </tr>
  52. <tr>
  53. <td style="padding: 10px 0px 0px 10px;">
  54. 处理意见:
  55. </td>
  56. <td style="padding: 10px 0px 0px 0px;">@Html.TextArea("txtOpinioncomment", "", 5, 30, new { id = "txtOpinioncomment" })
  57. </td>
  58. </tr>
  59. </table>
  60. </div>
  61. }
  62. </div>