Aucune description

auditMultimedia.html 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. .Common table th {
  12. width: 120px;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <div class="Common">
  18. <table>
  19. <tr class="nexttype-wrapper">
  20. <th>是否通过:</th>
  21. <td>
  22. <select class="form-control" id='nexttype'>
  23. <option value="0">审核通过</option>
  24. <option value="1">审核不通过</option>
  25. </select>
  26. </td>
  27. </tr>
  28. <tr>
  29. <th>审核说明:</th>
  30. <td colspan="7"><textarea class="form-control" data-adaptheight id="cbreason" name="" rows="4" cols=""></textarea></td>
  31. </tr>
  32. </table>
  33. <div class="btn_box">
  34. <button class="btns BC">保存</button>
  35. </div>
  36. </div>
  37. <script src="../js/adjustHeight.js"></script>
  38. <script src="../css/laydate/laydate.js"></script>
  39. <script>
  40. var wid = helper.request.queryString("wid");
  41. var nexttype = helper.request.queryString("nexttype");
  42. $(document).ready(function () {
  43. if (String(nexttype) === "1") {
  44. // $(".nexttype-wrapper").hide()
  45. $("#nexttype").val(nexttype).attr("disabled", true)
  46. }
  47. $('.BC').click(function () {
  48. JA();
  49. })
  50. });
  51. // 保存
  52. function JA() {
  53. $.post(huayi.config.callcenter_url + 'WorkOrder/AuditDispatch', {
  54. workorderid: wid,
  55. nexttype: $("#nexttype").val(),
  56. cbreason: $("#cbreason").val(),
  57. token: $.cookie("token")
  58. }, function (result) {
  59. result = JSON.parse(result);
  60. if (result.state.toLowerCase() == "success") {
  61. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  62. parent.layer.close(index); //再执行关闭
  63. parent.$("#orderlist").bootstrapTable("refresh");
  64. parent.closePage()
  65. parent.layer.msg("操作成功");
  66. }
  67. })
  68. }
  69. </script>
  70. </body>
  71. </html>