Brak opisu

XGbanli.html 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <script src="../Script/Common/huayi.load.js"></script>
  6. <script src="../Script/Common/huayi.config.js"></script>
  7. <link href="../css/layer/need/layer.css" />
  8. <link rel="stylesheet" href="../css/init.css" />
  9. <title>交办</title>
  10. <style>
  11. .inpBox {
  12. border: 1px solid #a9a9a9;
  13. height: 27px;
  14. width: 220px;
  15. display: inline-block;
  16. position: relative;
  17. vertical-align: middle;
  18. }
  19. .addTree {
  20. background: #fff;
  21. position: absolute;
  22. width: 100%;
  23. border: 1px solid darkgrey;
  24. right: 0;
  25. top: 26px;
  26. display: none;
  27. }
  28. .xl {
  29. display: inline-block;
  30. background: url(../../img/dropDown.png) no-repeat;
  31. height: 100%;
  32. background-position: center center;
  33. width: 20px;
  34. position: absolute;
  35. right: 0;
  36. top: 0px;
  37. /* background-color: #f7bc8b; */
  38. cursor: pointer;
  39. }
  40. .ztree li span {
  41. border: none;
  42. padding: 0;
  43. }
  44. .inps {
  45. width: 217px;
  46. height: 24px;
  47. outline: none;
  48. border: 0;
  49. border-image-width: 0;
  50. padding: 0;
  51. padding-left: 3px;
  52. }
  53. .xl {
  54. display: inline-block;
  55. background: url(../img/dropDown.png) no-repeat;
  56. height: 100%;
  57. background-position: center center;
  58. width: 20px;
  59. position: absolute;
  60. right: 0;
  61. top: 0px;
  62. /* background-color: #f7bc8b; */
  63. cursor: pointer;
  64. }
  65. </style>
  66. </head>
  67. <body>
  68. <div class="Common" style="height: 100%;">
  69. <table>
  70. <tr>
  71. <th class="Importent">办理结果:</th>
  72. <td><textarea data-adaptheight id="assignedopinion" name="" rows="4" cols=""></textarea></td>
  73. </tr>
  74. </table>
  75. <div class="btn_box">
  76. <button class="btns BC">保存</button>
  77. </div>
  78. </div>
  79. <script src="../css/laydate/laydate.js"></script>
  80. <script src="../js/zTree/jquery.ztree.core.js"></script>
  81. <script src="../js/adjustHeight.js"></script>
  82. <script>
  83. var wid = helper.request.queryString("wid");
  84. $(document).ready(function () {
  85. XQ()
  86. $('.BC').click(function () {
  87. JA();
  88. })
  89. //交办
  90. function JA() {
  91. $.post(huayi.config.callcenter_url + 'WorkOrder/EditDealWorkOrder', {
  92. workorderid: wid,
  93. result: $('#assignedopinion').val(), //交办意见
  94. token: $.cookie("token")
  95. }, function (result) {
  96. result = JSON.parse(result);
  97. if (result.state.toLowerCase() == "success") {
  98. parent.parent.layer.closeAll();
  99. parent.parent.$('#orderlist').bootstrapTable('refresh');
  100. parent.parent.layer.msg("操作成功!");
  101. }
  102. })
  103. }
  104. //详情
  105. function XQ() {
  106. $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetNewSecondDealInfo', {
  107. workorderid: wid,
  108. token: $.cookie("token")
  109. }, function (result) {
  110. if (result.state.toLowerCase() == "success") {
  111. $('#assignedopinion').val(result.data[0].F_Result);
  112. }
  113. })
  114. }
  115. });
  116. </script>
  117. </body>
  118. </html>