| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!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>
-
- .remarksContent{
- width: 90%;
- margin: 0 auto;
- }
- .remarksContent th.Importent{
- width: 14%;
- text-align: left;
- }
- </style>
- </head>
- <body>
- <div class="Common remarksContent">
- <table>
- <tr>
- <th class="Importent">原因:</th>
- <td colspan="2"><textarea data-adaptheight id="remarksOpinion" name="" rows="6" cols=""></textarea></td>
- </tr>
- </table>
- <div class="btn_box">
- <button class="remarksBtn btns">保存</button>
- </div>
- </div>
- <script src="../css/laydate/laydate.js"></script>
- <script src="../js/adjustHeight.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- $(document).ready(function() {
- })
-
- $(".remarksBtn").click(function(){
- remarksSubmit();
- })
- //备注
- function remarksSubmit() {
- $.post(huayi.config.callcenter_url + 'third/BackWorkOrder', {
- workorderid: wid,//工单号
- reason: $('#remarksOpinion').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>
|