Bez popisu

appealOrderDetails.html 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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 rel="stylesheet" href="../css/init.css" />
  8. <title>申诉详情</title>
  9. <style type="text/css">
  10. ul,li{
  11. padding: 0;
  12. margin: 0;
  13. list-style: none;
  14. }
  15. .tab_list{
  16. border-bottom: 1px solid #d5d5d5;
  17. }
  18. .tab_list li{
  19. padding: 10px 15px;
  20. float: left;
  21. color: #333333;
  22. font-size: 14px;
  23. position: relative;
  24. }
  25. .tab_list li.active{
  26. color: #19aad0;
  27. }
  28. .tab_list li.active:after{
  29. content: "";
  30. width: 100%;
  31. height: 2px;
  32. background: #19aad0;
  33. position: absolute;
  34. bottom: -1px;
  35. left: 0;
  36. }
  37. .tab_content{
  38. font-size: 14px;
  39. color: #4c4c4c;
  40. padding: 15px 0;
  41. /*text-indent: 28px;*/
  42. }
  43. .tab_content>div{
  44. display: none;
  45. }
  46. .table tr td input[type="text"]{
  47. width: 100%;
  48. height: 30px;
  49. background: #f3f3f4;
  50. border: 0;
  51. outline: none;
  52. }
  53. .radio-inline input[type=radio]{
  54. margin-top: 2px;
  55. }
  56. .table tr td textarea{
  57. width: 100%;
  58. height: 100%;
  59. background: #f3f3f4;
  60. border: 0;
  61. resize: none;
  62. }
  63. #scwj{
  64. background-color: #FFF;
  65. background-image: none;
  66. border: 1px solid #ccc;
  67. border-radius: 1px;
  68. color: inherit;
  69. padding: 6px 12px!important;
  70. }
  71. .files{
  72. padding: 5px!important;
  73. }
  74. .time-box{
  75. position: relative;
  76. width: 197px!important;
  77. height: 34px;
  78. margin: 0;
  79. }
  80. .tub + input {
  81. padding-right: 30px;
  82. border: 1px solid #e5e6e7!important;
  83. }
  84. i.tub {
  85. position: absolute;
  86. right: 8px;
  87. top: 8px;
  88. font-size: 18px;
  89. color: #00a0ca;
  90. }
  91. .tab_content textarea{
  92. display: block;
  93. background: #f3f3f4;
  94. width: 100%;
  95. height: 298px;
  96. box-sizing: border-box;
  97. text-indent: 28px;
  98. }
  99. .tab_content .cons >div{
  100. background: #f3f3f4;
  101. width: 100%;
  102. min-height: 298px;
  103. box-sizing: border-box;
  104. text-indent: 28px;
  105. word-break:break-all;
  106. word-wrap:break-word;
  107. }
  108. .tab_content .cons >div img{
  109. max-width: 100%;
  110. /*width: 95%;
  111. margin: 0 auto;*/
  112. }
  113. .shdetail table{
  114. width: 100%;
  115. line-height: 30px;
  116. text-align: center;
  117. }
  118. </style>
  119. </head>
  120. <body class="gray-bg">
  121. <div class="container-fluid wrapper-content animated fadeInRight">
  122. <table class="table table-bordered table-condensed">
  123. <tr>
  124. <td width="100">工单编号</td>
  125. <td colspan="3"> <input type="text" id="detailsWorkOrderNumber" readonly="readonly" /></td>
  126. </tr>
  127. <tr>
  128. <td width="100">申诉部门</td>
  129. <td colspan="3"> <input type="text" id="detailsDepartment" readonly="readonly" /></td>
  130. </tr>
  131. <tr>
  132. <td width="100">申诉信息</td>
  133. <td colspan="3"> <input type="text" id="detailsComplaintInformation" readonly="readonly" /></td>
  134. </tr>
  135. <tr>
  136. <td width="100">申诉原因</td>
  137. <td colspan="3"> <input type="text" id="detailsAppealReason" readonly="readonly" /></td>
  138. </tr>
  139. <tr>
  140. <td width="100">其他原因</td>
  141. <td colspan="3"> <input type="text" id="detailsOtherReason" readonly="readonly" /></td>
  142. </tr>
  143. <tr>
  144. <td width="100">申诉依据</td>
  145. <td colspan="3"> <input type="text" id="detailsBasis" readonly="readonly" /></td>
  146. </tr>
  147. <tr>
  148. <td width="100">申诉要求</td>
  149. <td colspan="3"> <input type="text" id="detailsRequirement" readonly="readonly" /></td>
  150. </tr>
  151. <tr>
  152. <td width="100">申诉详情</td>
  153. <td colspan="3"> <input type="text" id="detailsRemark" readonly="readonly" /></td>
  154. </tr>
  155. <tr>
  156. <td width="100">审核申诉</td>
  157. <td colspan="3"> <input type="text" id="detailsState" readonly="readonly" /></td>
  158. </tr>
  159. <tr>
  160. <td width="100">审核申诉原因</td>
  161. <td colspan="3"> <input type="text" id="detailsStateReason" readonly="readonly" /></td>
  162. </tr>
  163. </table>
  164. <div class="cons">
  165. <div>
  166. <table class="table-bordered table-condensed feilTable" style="width: 100%;">
  167. <thead>
  168. <tr>
  169. <th>文件名称</th>
  170. <th>添加时间</th>
  171. <th>文件大小</th>
  172. </tr>
  173. </thead>
  174. <tbody>
  175. </tbody>
  176. </table>
  177. </div>
  178. </div>
  179. <script src="../js/kindeditor/kindeditor-all-min.js"></script>
  180. <script src="../js/kindeditor/lang/zh-CN.js"></script>
  181. <script src="../js/adjustHeight.js"></script>
  182. <script src="../js/laydate/laydate.js"></script>
  183. <script>
  184. var ids=helper.request.queryString("ids");
  185. $(document).ready(function(){
  186. $.ajax({
  187. type:"get",
  188. url:huayi.config.callcenter_url +"Appeal/GetAppeal",
  189. async:true,
  190. dataType:'json',
  191. data:{
  192. token: $.cookie("token"),
  193. nid:ids
  194. },
  195. success:function(res){
  196. if(res.state.toLowerCase()=='success'){
  197. var con = res.data;
  198. $("#detailsWorkOrderNumber").val(con.dt[0].F_WorkOrderId); //工单编号
  199. $("#detailsDepartment").val(con.NoticeDeptName); //申诉部门
  200. $("#detailsAppealReason").val(con.dt[0].F_NoticeInfo); //申诉原因
  201. $("#detailsOtherReason").val(con.dt[0].F_Content); //其他原因
  202. $("#detailsBasis").val(con.dt[0].F_Basis); //申诉依据
  203. $("#detailsRequirement").val(con.dt[0].F_Requirement); //申诉要求
  204. $("#detailsRemark").val(con.dt[0].F_Remark); //申诉详情
  205. if(con.dt[0].F_State === 0) {
  206. $("#detailsState").val("未处理");
  207. } else if (con.dt[0].F_State === 1) {
  208. $("#detailsState").val("通过");
  209. } else if (con.dt[0].F_State === 2) {
  210. $("#detailsState").val("退回");
  211. }
  212. $("#detailsStateReason").val(con.dt[0].F_Reason); //审核申诉原因
  213. //申诉信息分类
  214. if (con.dt[0].F_Type === 1) {
  215. $("#detailsComplaintInformation").val("办理情况");
  216. } else if (con.dt[0].F_Type === 2) {
  217. $("#detailsComplaintInformation").val("查收情况");
  218. } else if (con.dt[0].F_Type === 3) {
  219. $("#detailsComplaintInformation").val("办理规范");
  220. } else if (con.dt[0].F_Type === 4) {
  221. $("#detailsComplaintInformation").val("回访情况");
  222. } else if (con.dt[0].F_Type === 5) {
  223. $("#detailsComplaintInformation").val("退回情况");
  224. } else if (con.dt[0].F_Type === 6) {
  225. $("#detailsComplaintInformation").val("知识库索引更新不及时");
  226. } else if (con.dt[0].F_Type === 7) {
  227. $("#detailsComplaintInformation").val("知识库纠错情况");
  228. } else if (con.dt[0].F_Type === 8) {
  229. $("#detailsComplaintInformation").val("办理情况");
  230. }
  231. $(con.dt[0].File).each(function(k,q){
  232. var size= (q.F_Size/1024).toFixed(2)
  233. var strs='<tr>'+
  234. '<td><a href="'+ q.F_FileUrl+'" download="test.pdf">'+ q.F_FileName.substring(19) +'</a></td>'+
  235. '<td>'+ q.F_AddTime +'</td>'+
  236. '<td>'+ size +'kb</td>'+
  237. '</tr>'
  238. $(strs).appendTo($('.feilTable tbody'))
  239. })
  240. }
  241. }
  242. });
  243. })
  244. </script>
  245. </body>
  246. </html>