| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!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>审核状态:</th>
- <td>
- <select class="select_" id="review">
- <option value="0" selected>审核通过</option>
- <option value="1">审核拒绝</option>
- </select>
- </td>
- </tr> -->
- <tr>
- <th class="Importent">审核意见:</th>
- <td colspan="7"><textarea data-adaptheight id="reason" 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");
- var review = helper.request.queryString("review")
- $(document).ready(function () {
- $('.BC').click(function () {
- JA();
- })
- });
- //督办
- function JA() {
- $.post(huayi.config.callcenter_url + 'workorder/RemindApproved', {
- workorderid: wid,
- state: review, // 审核状态
- reason: $("#reason").val(), // 审核意见
- token: $.cookie("token")
- }, function (result) {
- result = JSON.parse(result);
- if (result.state.toLowerCase() == "success") {
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- parent.layer.close(index); //再执行关闭
- parent.$('#orderlist').bootstrapTable('refresh');
- parent.layer.msg("操作成功");
- }
- })
- }
- </script>
- </body>
- </html>
|