暫無描述

auditAddReplyThird.html 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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. </head>
  11. <style>
  12. .text-center{
  13. text-align: center !important;
  14. }
  15. </style>
  16. <body>
  17. <div class="Common">
  18. <div style="width: 100%;padding: 10px;">
  19. <table class="Table" border="" cellspacing="0" cellpadding="0">
  20. <theard>
  21. <tr>
  22. <td class="text-center" style="min-width:80px;">承办人</td>
  23. <td class="text-center" style="min-width:80px;">联系方式</td>
  24. <td class="text-center" style="min-width:80px;">职务</td>
  25. <td class="text-center" style="min-width:80px;">单位</td>
  26. <td class="text-center" style="min-width:80px;">办理结果</td>
  27. <td class="text-center" style="min-width:80px;">办理时间</td>
  28. <td class="text-center" style="min-width:80px;">是/否向当事人反馈</td>
  29. <td class="text-center" style="min-width:80px;">是否满意</td>
  30. <td class="text-center" style="min-width:80px;">审核领导</td>
  31. <td class="text-center" style="min-width:80px;">审核领导职务</td>
  32. <td class="text-center" style="min-width:80px;">审核领导联系方式</td>
  33. <td class="text-center" style="min-width:80px;">附件</td>
  34. <td class="text-center" style="min-width:80px;">追加回复附件</td>
  35. <td class="text-center" style="min-width:100px;">操作</td>
  36. </tr>
  37. </theard>
  38. <tbody class="BLQK">
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. <script src="../js/adjustHeight.js"></script>
  44. <script src="../css/laydate/laydate.js"></script>
  45. <script>
  46. var wid = helper.request.queryString("wid");
  47. $(document).ready(function() {
  48. getDetail(17);
  49. });
  50. // 获取详情
  51. function getDetail(type) {
  52. $.ajax({
  53. type: "get",
  54. url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
  55. dataType: 'json',
  56. async: false,
  57. data: {
  58. workorderid: wid,
  59. type: type,
  60. token: $.cookie("token")
  61. },
  62. success: function(result) {
  63. if(result.state.toLowerCase() == "success") {
  64. var htmls = ''
  65. $(".BLQK").empty();
  66. $(result.data.bldata).each(function(i, n) {
  67. //类型
  68. var bval = n.F_Type;
  69. switch(bval + '') {
  70. case '1':
  71. bval = '主办';
  72. break;
  73. case '2':
  74. bval = '协办';
  75. break;
  76. }
  77. //是/否向当事人反馈
  78. var isProResultValue = n.F_IsProResult + "";
  79. switch(isProResultValue) {
  80. case "0":
  81. isProResultValue = "否";
  82. break;
  83. case "1":
  84. isProResultValue = "是";
  85. break;
  86. case "2":
  87. isProResultValue = "已办未果";
  88. break;
  89. }
  90. //是否满意
  91. var isSatisfiedValue = n.F_IsSatisfied + "";
  92. switch(isSatisfiedValue) {
  93. case "0":
  94. isSatisfiedValue = "未评价";
  95. break;
  96. case "1":
  97. isSatisfiedValue = "满意";
  98. break;
  99. case "2":
  100. isSatisfiedValue = "基本满意";
  101. break;
  102. case "3":
  103. isSatisfiedValue = "不满意";
  104. break;
  105. }
  106. //沟通时间
  107. var connectTimeValue = n.F_ConnectTime;
  108. switch(connectTimeValue) {
  109. case null:
  110. connectTimeValue = "";
  111. break;
  112. default:
  113. connectTimeValue = n.F_ConnectTime;
  114. }
  115. //职务
  116. var dutiesValue
  117. switch(n.F_Duties) {
  118. case "":
  119. dutiesValue = ""
  120. break;
  121. case null:
  122. dutiesValue = ""
  123. break;
  124. default:
  125. dutiesValue = n.F_Duties
  126. break;
  127. }
  128. //处理情况
  129. var situationValue
  130. switch(n.F_Situation) {
  131. case "":
  132. situationValue = ""
  133. break;
  134. case null:
  135. situationValue = ""
  136. break;
  137. default:
  138. situationValue = n.F_Situation
  139. break;
  140. }
  141. //已办未果备注
  142. var unsuccessful
  143. switch(n.F_Unsuccessful) {
  144. case "":
  145. unsuccessful = ""
  146. break;
  147. case null:
  148. unsuccessful = ""
  149. break;
  150. default:
  151. unsuccessful = n.F_Unsuccessful
  152. break;
  153. }
  154. // 审核领导
  155. var auditUser
  156. switch(n.F_AuditUser) {
  157. case "":
  158. auditUser = ""
  159. break;
  160. case null:
  161. auditUser = ""
  162. break;
  163. default:
  164. auditUser = n.F_AuditUser
  165. break;
  166. }
  167. // 领导职务
  168. var auditPost
  169. switch(n.F_AuditPost) {
  170. case "":
  171. auditPost = ""
  172. break;
  173. case null:
  174. auditPost = ""
  175. break;
  176. default:
  177. auditPost = n.F_AuditPost
  178. break;
  179. }
  180. // 领导联系方式
  181. var auditContact
  182. switch(n.F_AuditContact) {
  183. case "":
  184. auditContact = ""
  185. break;
  186. case null:
  187. auditContact = ""
  188. break;
  189. case undefined:
  190. auditContact = ""
  191. break;
  192. default:
  193. auditContact = n.F_AuditContact
  194. break;
  195. }
  196. htmls += '<tr>' +
  197. '<td class="text-center">' + n.F_DealUser +
  198. '</td>' +
  199. '<td class="text-center">' + n
  200. .F_DealUserContact +
  201. '</td>' +
  202. '<td class="text-center">' + dutiesValue +
  203. '</td>' +
  204. '<td class="text-center">' + n.DeptName +
  205. '</td>' +
  206. '<td class="text-center">' + n.F_Result +
  207. '</td>' +
  208. '<td class="text-center">' + n.F_CreateTime +
  209. '</td>' +
  210. '<td class="text-center">' + isProResultValue +
  211. '</td>' +
  212. '<td class="text-center">' + isSatisfiedValue +
  213. '</td>' +
  214. '<td class="text-center">' + auditUser +
  215. '</td>' +
  216. '<td class="text-center">' + auditPost +
  217. '</td>' +
  218. '<td class="text-center">' + auditContact +
  219. '</td>'
  220. //办理情况附件
  221. htmls += '<td class="gallerys">';
  222. var FileHtml;
  223. $(n.File).each(function(j, m) {
  224. if(m.F_FileType == ".jpg" || m
  225. .F_FileType ==
  226. ".png") {
  227. FileHtml =
  228. '<img class="gallery-pic" style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
  229. m.F_FileUrl + '" alt="' + m
  230. .F_FileName +
  231. '" fileId="' + m.F_FileId + '">'
  232. } else {
  233. FileHtml =
  234. '<div><a style="margin-right:5px;" target="view_window" href="' +
  235. m.F_FileUrl + '" download="' + m
  236. .F_FileName + '">' + m
  237. .F_FileName.substring(
  238. 19) + '</a></div>'
  239. }
  240. htmls += FileHtml;
  241. })
  242. htmls += '</td>' +
  243. '<td class="gallerys">'
  244. var FileHtmls;
  245. $(n.Files).each(function(j, m) {
  246. if(m.F_FileType == ".jpg" || m
  247. .F_FileType ==
  248. ".png") {
  249. FileHtmls =
  250. '<img style="width:60px; height:60px" border="0" ondblclick="$.openPhotoGallery(this)" src="' +
  251. m.F_FileUrl + '" alt="' + m
  252. .F_FileName +
  253. '" fileId="' + m.F_FileId +
  254. '">';
  255. } else {
  256. FileHtmls =
  257. '<div><a style="margin-right:5px;" target="view_window" href="' +
  258. m.F_FileUrl + '" download="' + m
  259. .F_FileName + '">' + m
  260. .F_FileName.substring(
  261. 19) + '</a></div>'
  262. }
  263. htmls += FileHtmls
  264. })
  265. htmls += '</td>';
  266. htmls +="<td class='text-center'><a class='xg' onclick='audioAddReply( \""+n.F_Id+"\",\""+n.F_WorkOrderId+"\")' title='审核'>审核</a></td></tr>"
  267. })
  268. $(htmls).appendTo($(".BLQK"));
  269. }
  270. }
  271. })
  272. }
  273. // 追加回复 69
  274. function audioAddReply(backid,workorderid){
  275. layer.open({
  276. type: 2,
  277. content: "../CommonHtml/auditHandleAddReplyThird.html?backid=" + backid +'&workorderid='+workorderid, //iframe的url,no代表不显示滚动条
  278. title: "办理工单",
  279. area: ["100%", "80%"], //宽高
  280. });
  281. }
  282. </script>
  283. </body>
  284. </html>