Нет описания

superviseReview.html 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. </head>
  11. <body>
  12. <div class="Common">
  13. <table>
  14. <!-- <tr>
  15. <th>审核状态:</th>
  16. <td>
  17. <select class="select_" id="review">
  18. <option value="0" selected>审核通过</option>
  19. <option value="1">审核拒绝</option>
  20. </select>
  21. </td>
  22. </tr> -->
  23. <tr>
  24. <th class="Importent">审核意见:</th>
  25. <td colspan="7"><textarea data-adaptheight id="reason" name="" rows="4" cols=""></textarea></td>
  26. </tr>
  27. </table>
  28. <div class="btn_box">
  29. <button class="btns BC">保存</button>
  30. </div>
  31. </div>
  32. <script src="../js/adjustHeight.js"></script>
  33. <script>
  34. var wid = helper.request.queryString("wid");
  35. var review = helper.request.queryString("review")
  36. $(document).ready(function () {
  37. $('.BC').click(function () {
  38. JA();
  39. })
  40. });
  41. //督办
  42. function JA() {
  43. $.post(huayi.config.callcenter_url + 'workorder/RemindApproved', {
  44. workorderid: wid,
  45. state: review, // 审核状态
  46. reason: $("#reason").val(), // 审核意见
  47. token: $.cookie("token")
  48. }, function (result) {
  49. result = JSON.parse(result);
  50. if (result.state.toLowerCase() == "success") {
  51. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  52. parent.layer.close(index); //再执行关闭
  53. parent.$('#orderlist').bootstrapTable('refresh');
  54. parent.layer.msg("操作成功");
  55. }
  56. })
  57. }
  58. </script>
  59. </body>
  60. </html>