| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!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>
- <select class="select_" id="issatisfie">
- <option value="">全部</option>
- <option value="0">不满意</option>
- <option value="1">满意</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>结案意见:</th>
- <td colspan="2"><textarea id="finalopinion" name="" rows="" cols=""></textarea></td>
- </tr>
- </table>
- <div class="btn_box">
- <button class="btns">保存</button>
- </div>
- </div>
- <script>
- var wid = helper.request.queryString("wid");
- $(document).ready(function() {
- $(".btns").click(function(){
- JA();
- })
- })
- function JA() {
- $.post(huayi.config.callcenter_url + 'WorkOrder/FinishWorkOrder', {
- workorderid: wid,
- issatisfie: $("#issatisfie").val(),
- finalopinion: $("#finalopinion").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.load();
- parent.layer.msg("结案成功");
-
- }
- })
- }
- </script>
- </body>
- </html>
|