Sin descripción

provincialPlatformApplicationDelay.html 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <link href="../css/layer/need/layer.css" />
  8. <link rel="stylesheet" href="../css/init.css" />
  9. <title>省平台申请延时</title>
  10. <style>
  11. .input {
  12. background-color: #fff;
  13. background-image: none;
  14. border: 1px solid #ccc;
  15. border-radius: 1px;
  16. color: inherit;
  17. padding: 6px 12px;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <div class="Common">
  23. <table>
  24. <tr>
  25. <th>申请天数:</th>
  26. <td>
  27. <select class="form-control" id="newlimittime" disabled="disabled">
  28. <option value="5">5天</option>
  29. </select>
  30. </td>
  31. </tr>
  32. <tr>
  33. <th>申请原因:</th>
  34. <td colspan="5">
  35. <textarea data-adaptheight id="reason" name="" rows="4" cols=""></textarea>
  36. </td>
  37. <input type="hidden" id="ID" />
  38. </tr>
  39. </table>
  40. <div class="btn_box">
  41. <button class="btns Submit">提交</button>
  42. </div>
  43. </div>
  44. <script src="../js/adjustHeight.js"></script>
  45. <script>
  46. var wid = helper.request.queryString("wid");
  47. var type = helper.request.queryString("type");
  48. $(document).ready(function () {
  49. $(".Submit").click(function () {
  50. JA();
  51. });
  52. });
  53. //交办
  54. function JA() {
  55. $.post(
  56. huayi.config.callcenter_url + "Affairs/DelayWorkOrder", {
  57. workorderid: wid,
  58. type: type, // 0二级单位申请延时,1退回申请延时
  59. reason: $("#reason").val(), // 申请原因
  60. newlimittime: $("#newlimittime").val(), // 申请天数
  61. token: $.cookie("token"),
  62. },
  63. function (result) {
  64. result = JSON.parse(result);
  65. if (result.state.toLowerCase() == "success") {
  66. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  67. parent.layer.close(index); //再执行关闭
  68. parent.$("#orderlist").bootstrapTable("refresh");
  69. parent.layer.msg("操作成功");
  70. }
  71. }
  72. );
  73. }
  74. </script>
  75. </body>
  76. </html>