12345市长热线标准版-前端

lSHTH.html 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. .SQtime{
  12. width: 100%;
  13. display: block;
  14. /*height: 32px;*/
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <div class="Common">
  20. <table >
  21. <tr>
  22. <th class="Importent">审核意见:</th>
  23. <td colspan="2">
  24. <textarea data-adaptheight id="reason" name="" rows="6" cols=""></textarea>
  25. </td>
  26. </tr>
  27. <input type="hidden"id="delayid" />
  28. </table>
  29. <div class="btn_box">
  30. <button class="btns Agree">保存</button>
  31. </div>
  32. </div>
  33. <script src="../js/adjustHeight.js"></script>
  34. <script src="../css/laydate/laydate.js"></script>
  35. <script >
  36. var wid = helper.request.queryString("wid");
  37. var result = unescape(decodeURI(helper.request.queryString("reason")));
  38. $(document).ready(function() {
  39. $("#reason").val(result);
  40. $(".Agree").click(function(){
  41. JA();
  42. })
  43. })
  44. //批示
  45. function JA() {
  46. $.post(huayi.config.callcenter_url + 'WorkOrder/EditAuditRebackByAdmin', {
  47. id: wid,
  48. reason:$("#reason").val(),
  49. "token": $.cookie("token")
  50. }, function(result) {
  51. result = JSON.parse(result);
  52. if(result.state.toLowerCase() == "success") {
  53. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  54. parent.layer.close(index); //再执行关闭
  55. parent.layer.msg("修改成功");
  56. }
  57. })
  58. }
  59. </script>
  60. </body>
  61. </html>