| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!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/EditAuditRebackByAdmin', {
- id: wid,
- reason:$("#reason").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.layer.msg("修改成功");
-
- }
- })
- }
- function XQ(){
- $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetInfoByAdmin', {
- id: wid,
- type:3,
- token: $.cookie("token")
- }, function(result) {
- if(result.state.toLowerCase() == "success") {
- // $("#startTime").val(result.data[0].F_LimitTime);
- // $('#assignedopinion').val(result.data[0].F_AssignedOpinion);
- $("#reason").val(result.data[0].F_AuditReason);
- console.log(result);
-
- }
- })
- }
- </script>
- </body>
- </html>
|