| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link href="../css/layer/need/layer.css" />
- <link rel="stylesheet" href="../css/init.css" />
- <title>驳回重办</title>
- </head>
- <body>
- <div class="Common">
- <table >
- <tr>
- <th class="Importent">驳回原因:</th>
- <td colspan="7"><textarea data-adaptheight id="result" name="" rows="4" cols=""></textarea></td>
- </tr>
- </table>
- <div class="btn_box">
- <button class="btns BC">保存</button>
- </div>
- </div>
- <script src="../js/adjustHeight.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
-
- //alert(wid)
- $(document).ready(function() {
- $('.BC').click(function() {
- JA();
- })
- });
- //回退
- function JA() {
- $.post(huayi.config.callcenter_url + 'WorkOrder/RejReloadWorkOrder', {
- id: wid,
- reason:$("#result").val(),//回访内容
- token: $.cookie("token")
- }, function(result) {
- result = JSON.parse(result);
- if(result.state.toLowerCase() == "success") {
- debugger
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- console.log(index);
- parent.layer.close(index); //再执行关闭
- parent.$('#orderlist').bootstrapTable('refresh');
- parent.layer.msg("操作成功");
- }
- })
- }
- </script>
- </body>
- </html>
|