| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!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>
- <input type="text" id="score" onkeyup="value=value.replace(/[^\d]/g,'')" />
- </td>
- </tr>
- <tr>
- <th class="">备注:</th>
- <td colspan="7"><textarea data-adaptheight id="remark" 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 id = helper.request.queryString("id");
- $(document).ready(function () {
- $('.BC').click(function () {
- JA();
- })
- });
- function JA() {
- $.post(huayi.config.callcenter_url + 'Department/Comprehensive', {
- deptid: id,
- Score: $("#score").val(),
- Remarks: $("#remark").val(), //回访内容
- token: $.cookie("token")
- }, function (result) {
- result = JSON.parse(result);
- if (result.state.toLowerCase() == "success") {
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- console.log(index);
- parent.layer.close(index); //再执行关闭
- parent.initTable();
- parent.layer.msg("操作成功");
- }
- })
- }
- </script>
- </body>
- </html>
|