| 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>
- .input {
- background-color: #fff;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 1px;
- color: inherit;
- padding: 6px 12px;
- }
- </style>
- </head>
- <body>
- <div class="Common">
- <table>
- <tr>
- <th>申请天数:</th>
- <td>
- <select class="form-control" id="newlimittime" disabled="disabled">
- <option value="5">5天</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>申请原因:</th>
- <td colspan="5">
- <textarea data-adaptheight id="reason" name="" rows="4" cols=""></textarea>
- </td>
- <input type="hidden" id="ID" />
- </tr>
- </table>
- <div class="btn_box">
- <button class="btns Submit">提交</button>
- </div>
- </div>
- <script src="../js/adjustHeight.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- var type = helper.request.queryString("type");
- $(document).ready(function () {
- console.log(wid,type)
- $(".Submit").click(function () {
- JA();
- });
- });
- //交办
- function JA() {
- $.post(
- huayi.config.callcenter_url + "Affairs/DelayWorkOrder", {
- workorderid: wid,
- type: type, // 0二级单位申请延时,1退回申请延时
- reason: $("#reason").val(), // 申请原因
- newlimittime: $("#newlimittime").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.$("#orderlist").bootstrapTable("refresh");
- parent.layer.msg("申请延时成功");
- parent.closePage();
- }
- }
- );
- }
- </script>
- </body>
- </html>
|