| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <!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>
- <style>
-
- .reminderContent{
- width: 90%;
- margin: 0 auto;
- }
- .reminderContent th.Importent{
- width: 14%;
- text-align: left;
- }
- </style>
- </head>
- <body>
- <div class="Common reminderContent">
- <table>
- <tr>
- <th class="Importent">回复:</th>
- <td colspan="2"><textarea data-adaptheight id="replycount" name="" rows="6" cols=""></textarea></td>
- </tr>
- </table>
- <!-- <div id="message" style="text-align: left;padding: 2% 0 0 19%;">
- 是否发送短信
- <input type="radio" name="message" id="" value="0" />否
- <input type="radio" name="message" id="" value="1" />是
- </div> -->
- <div class="btn_box">
- <button class="replyBtn btns">保存</button>
- </div>
- </div>
- <script src="../css/laydate/laydate.js"></script>
- <script src="../js/adjustHeight.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- var callid = helper.request.queryString("callid");
- var depId = helper.request.queryString("depId");
- $(document).ready(function() {
- $(".replyBtn").click(function(){
- replyhande();
- })
- })
- //催单
- function replyhande() {
- $.post(huayi.config.callcenter_url + 'WorkOrder/ReplyWorkOrder', {
- workorderid: wid,//工单号
- replycount: $('#replycount').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); //再执行关闭
- //debugger;
- parent.loadOld();
- parent.layer.msg("操作成功");
- }
- })
- }
-
- </script>
- </body>
- </html>
|