Açıklama Yok

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. console.log(wid,type)
  50. $(".Submit").click(function () {
  51. JA();
  52. });
  53. });
  54. //交办
  55. function JA() {
  56. $.post(
  57. huayi.config.callcenter_url + "Affairs/DelayWorkOrder", {
  58. workorderid: wid,
  59. type: type, // 0二级单位申请延时,1退回申请延时
  60. reason: $("#reason").val(), // 申请原因
  61. newlimittime: $("#newlimittime").val(), // 申请天数
  62. token: $.cookie("token"),
  63. },
  64. function (result) {
  65. result = JSON.parse(result);
  66. if (result.state.toLowerCase() == "success") {
  67. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  68. parent.layer.close(index); //再执行关闭
  69. parent.$("#orderlist").bootstrapTable("refresh");
  70. parent.layer.msg("申请延时成功");
  71. parent.closePage();
  72. }
  73. }
  74. );
  75. }
  76. </script>
  77. </body>
  78. </html>