| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <!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>
- </head>
- <body>
- <div class="Common">
- <table>
- <tr>
- <th class="Importent">批示人:</th>
- <td> <input type="text" id="superuser"/></td>
- </tr>
- <tr>
- <th class="Importent">批示内容:</th>
- <td colspan="2"><textarea id="superopinion" name="" rows="" cols=""></textarea></td>
- </tr>
- <!--<tr>
- <th>附件上传:</th>
- <td colspan="7">
- <input type="text" placeholder="输入附件详情" style="width:66%" />
- </td>
- </tr>-->
- </table>
- <div class="btn_box">
- <button class="btns">保存</button>
- </div>
- </div>
- <script src="../css/laydate/laydate.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- $(document).ready(function() {
- $(".btns").click(function(){
- JA();
- })
- })
- //批示
- function JA() {
- $.post(huayi.config.callcenter_url + 'WorkOrder/SuperWorkOrder', {
- workorderid: wid,
- type:1,//(1领导批示 2市长指示)
- superuser:$("#superuser").val(),//批示人&
- superopinion:$('#superopinion').val(),//批示内容&
- files:1,//附件id(多个用英文逗号,隔开
- "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>
|