商丘12345 前端

dealWithAppeal.html 2.4KB

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="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />-->
  8. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  9. <link rel="stylesheet" href="../css/init.css" />
  10. <link rel="stylesheet" href="../css/notification/css/notifucation.css" />
  11. <link rel="stylesheet" href="../css/notification/css/addNotifucation.css">
  12. <title></title>
  13. <style type="text/css">
  14. ul li{
  15. list-style: none;
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <div class="container" style="margin-left: 15px;">
  21. <div class="tab_contents" id="tab_user_contents">
  22. <ul class="project_items form-horizontal showtabs">
  23. <li class="form-group">
  24. <label for="customer_layer" class="col-md-2" style="float: left;">审核申诉:</label>
  25. <div class="col-md-9" style="width: 75%; float: left; padding: 0;">
  26. <select name="" class="form-control" id="dealWithappeal">
  27. <option value="0">是否审核申诉</option>
  28. <option value="1">是</option>
  29. <option value="2">否</option>
  30. </select>
  31. </div>
  32. </li>
  33. </ul>
  34. <div class="form-group clearfix" style="text-align: center;">
  35. <div class="col-md-offset-5 col-md-10">
  36. <button class="project_save btn btn-primary" id="save_btns" type="submit">保存</button>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. <input type="hidden" id="PID" />
  42. <input type="hidden" id="Dpment" />
  43. <script type="text/javascript">
  44. $(function(){
  45. var id = helper.request.queryString("ids");
  46. $('#save_btns').click(function() {
  47. $.post(huayi.config.callcenter_url + 'Appeal/DealAppeal', {
  48. nid:id,
  49. state: $("#dealWithappeal").val(),
  50. "token": $.cookie("token"),
  51. }, function(result) {
  52. result = $.parseJSON(result);
  53. if(result.state.toLowerCase() == "success") {
  54. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  55. parent.layer.close(index); //再执行关闭
  56. parent.layer.msg("处理成功!");
  57. parent.$('#table1').bootstrapTable('refresh');
  58. }
  59. })
  60. })
  61. })
  62. </script>
  63. </body>
  64. </html>