Brak opisu

feedbackInspectorSupervise.html 2.1KB

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. .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 colspan="5">
  27. <textarea data-adaptheight id="opinion" name="" rows="4" cols=""></textarea>
  28. </td>
  29. </tr>
  30. </table>
  31. <div class="btn_box">
  32. <button class="btns Submit">提交</button>
  33. </div>
  34. </div>
  35. <script src="../js/adjustHeight.js"></script>
  36. <script>
  37. var wid = helper.request.queryString("wid");
  38. $(document).ready(function () {
  39. $(".Submit").click(function () {
  40. JA();
  41. });
  42. });
  43. // 反馈
  44. function JA() {
  45. $.post(
  46. huayi.config.callcenter_url + "Affairs/receive_dcsupervise_finish", {
  47. id: wid,
  48. opinion: $("#opinion").val(), // 反馈结果
  49. token: $.cookie("token"),
  50. },
  51. function (result) {
  52. result = JSON.parse(result);
  53. if (result.state.toLowerCase() == "success") {
  54. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  55. parent.layer.close(index); //再执行关闭
  56. parent.$("#orderlist").bootstrapTable("refresh");
  57. parent.layer.msg("操作成功");
  58. }
  59. }
  60. );
  61. }
  62. </script>
  63. </body>
  64. </html>