| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <!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>
- .SQtime{
- width: 100%;
- display: block;
- /*height: 32px;*/
- }
- </style>
- </head>
- <body>
- <div class="Common">
- <table >
- <tr>
- <th class="Importent">审核意见:</th>
- <td colspan="2">
- <textarea data-adaptheight id="reason" name="" rows="6" cols=""></textarea>
- </td>
- </tr>
- <input type="hidden"id="delayid" />
- </table>
- <div class="btn_box">
- <button class="btns Agree">保存</button>
- </div>
- </div>
- <script src="../js/adjustHeight.js"></script>
- <script src="../css/laydate/laydate.js"></script>
- <script >
- var wid = helper.request.queryString("wid");
- $(document).ready(function() {
- XQ();
- $(".Agree").click(function(){
- JA();
- })
- })
- //批示
- function JA() {
- $.post(huayi.config.callcenter_url + 'WorkOrder/EditAuditDelayByAdmin', {
- id: wid,
- reason:$("#reason").val(),
- "token": $.cookie("token")
- }, function(result) {
- result = JSON.parse(result);
- if(result.state.toLowerCase() == "success") {
- parent.parent.layer.closeAll();
- parent.parent.$('#orderlist').bootstrapTable('refresh');
- parent.parent.layer.msg("操作成功!");
- }
- })
- }
- function XQ(){
- $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetInfoByAdmin', {
- id: wid,
- type:2,
- token: $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- $("#reason").val(result.data[0].F_RefuseReason)
- console.log(result);
-
- }
- })
- }
-
- </script>
- </body>
- </html>
|