| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <!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 rel="stylesheet" href="../../css/init.css"/>
- <title>知识库答复</title>
- <style>
- .m-kuang {
- width: 50%;
- background-color: #FFF;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 1px;
- color: inherit;
- padding: 6px 12px;
- outline: none;
- vertical-align: middle;
- }
- table th {
- width: 20%;
- text-align: right;
- border-top: 0!important;
- }
- table td {
- border-top: 0!important;
- }
- .content {
- margin-top: 15px;
- }
- .selectTwo{
- width: 45%;
- margin-right: 5%;
- }
- #SecondCategoryCode{
- display: none;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="container-fluid wrapper-content animated fadeInRight">
- <div class="content">
- <table class="table">
-
- <tr>
- <th>
- <b>内容:</b>
- </th>
- <td>
- <textarea data-adaptheight id="KINFO_REASON" name="content" style="width: 80%;height: 200px;"></textarea>
- </td>
- </tr>
- <tr>
- <td colspan="2" class="text-center">
- <button class="btns tiJiao">提交</button>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <script src="../../css/layer/layer.js"></script>
-
- <script>
- var id =helper.request.queryString("id")
- var url;
- console.log(id)
- $(document).ready(function(){
-
- })
-
- $('.tiJiao').click(function(){
- add()
- });
-
- function add(){
- $.ajax({
- type:"post",
- url:huayi.config.callcenter_url+'Affairs/kinfo_refuse',
- async:true,
- dataType:'json',
- data:{
- token:$.cookie("token"),
- id:id,
- KINFO_REASON:$("#KINFO_REASON").val(), //拒绝答复原因
- },
- success:function(data){
- if(data.state.toLowerCase()=="success"){
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- parent.layer.close(index); //再执行关闭
- parent.initTable(id);
- parent.layer.msg("拒绝成功");
- }
- }
- });
- }
-
- </script>
- </body>
- </html>
|