Açıklama Yok

provincialPlatformApplicationDelay.html 2.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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="5">5天</option>-->
  29. <option value="1">一天</option>
  30. <option value="2">二天</option>
  31. <option value="4">四天</option>
  32. <option value="5">五天</option>
  33. <option value="9">九天</option>
  34. </select>
  35. </td>
  36. </tr>
  37. <tr>
  38. <th>申请原因:</th>
  39. <td colspan="5">
  40. <textarea data-adaptheight id="reason" name="" rows="4" cols=""></textarea>
  41. </td>
  42. <input type="hidden" id="ID" />
  43. </tr>
  44. </table>
  45. <div class="btn_box">
  46. <button class="btns Submit">提交</button>
  47. </div>
  48. </div>
  49. <script src="../js/adjustHeight.js"></script>
  50. <script>
  51. var wid = helper.request.queryString("wid");
  52. var type = helper.request.queryString("type");
  53. $(document).ready(function () {
  54. console.log(wid,type)
  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: type, // 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. parent.closePage();
  77. }
  78. }
  79. );
  80. }
  81. </script>
  82. </body>
  83. </html>