Нет описания

provincialPlatformApplicationDelay.html 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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">
  28. <option value="">请选择</option>
  29. <option value="1">1天</option>
  30. <option value="2">2天</option>
  31. <option value="3">3天</option>
  32. <option value="4">4天</option>
  33. <option value="5">5天</option>
  34. <option value="6">6天</option>
  35. <option value="7">7天</option>
  36. </select>
  37. </td>
  38. </tr>
  39. <tr>
  40. <th>申请原因:</th>
  41. <td colspan="5">
  42. <textarea data-adaptheight id="reason" name="" rows="4" cols=""></textarea>
  43. </td>
  44. <input type="hidden" id="ID" />
  45. </tr>
  46. </table>
  47. <div class="btn_box">
  48. <button class="btns Submit">提交</button>
  49. </div>
  50. </div>
  51. <script src="../js/adjustHeight.js"></script>
  52. <script>
  53. var wid = helper.request.queryString("wid");
  54. $(document).ready(function () {
  55. $(".Submit").click(function () {
  56. JA();
  57. });
  58. });
  59. //交办
  60. function JA() {
  61. $.post(
  62. huayi.config.callcenter_url + "Affairs/DelayWorkOrder", {
  63. workorderid: wid,
  64. type: 1, // 0二级单位申请延时,1退回申请延时
  65. reason: $("#reason").val(), // 申请原因
  66. newlimittime: $("#newlimittime").val(), // 申请天数
  67. token: $.cookie("token"),
  68. },
  69. function (result) {
  70. result = JSON.parse(result);
  71. if (result.state.toLowerCase() == "success") {
  72. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  73. parent.layer.close(index); //再执行关闭
  74. parent.$("#orderlist").bootstrapTable("refresh");
  75. parent.layer.msg("操作成功");
  76. }
  77. }
  78. );
  79. }
  80. </script>
  81. </body>
  82. </html>