Geen omschrijving

dealWithAppeal.html 3.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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" id="appealAudit" style="width: 75%; float: left; padding: 0;">
  26. <label>
  27. <input type="radio" value="1" name="appealAuditRadio" style="vertical-align: -2px;"/>
  28. </label>
  29. <label style="margin-left: 10px">
  30. <input type="radio" value="2" name="appealAuditRadio" style="vertical-align: -2px;" />
  31. </label>
  32. <!-- <select name="" class="form-control" id="dealWithappeal">
  33. <option value="1">是</option>
  34. <option value="2">否</option>
  35. </select> -->
  36. </div>
  37. </li>
  38. <li class="form-group">
  39. <label for="customer_layer" class="col-md-2" style="float: left; line-height: 78px">原因:</label>
  40. <div class="col-md-9" id="appealAudit" style="width: 75%; float: left; padding: 0;">
  41. <textarea name="" rows="4" cols="" placeholder="" id="remark" style="width: 100%"></textarea>
  42. </div>
  43. </li>
  44. </ul>
  45. <div class="form-group clearfix" style="text-align: center;">
  46. <div class="col-md-offset-5 col-md-10">
  47. <button class="project_save btn btn-primary" id="save_btns" type="submit">保存</button>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <script type="text/javascript">
  53. $(function(){
  54. var id = helper.request.queryString("ids");
  55. $('#save_btns').click(function() {
  56. $.post(huayi.config.callcenter_url + 'Appeal/DealAppeal', {
  57. nid:id,
  58. state: $("#appealAudit input[name='appealAuditRadio']:checked").val(),
  59. reason: $("#remark").val(),
  60. "token": $.cookie("token"),
  61. }, function(result) {
  62. result = $.parseJSON(result);
  63. if(result.state.toLowerCase() == "success") {
  64. var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
  65. parent.layer.close(index); //再执行关闭
  66. parent.layer.msg("处理成功!");
  67. parent.$('#table1').bootstrapTable('refresh');
  68. }
  69. })
  70. })
  71. })
  72. </script>
  73. </body>
  74. </html>