cmVisitRemarksList.jsp 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>信息详情</title>
  6. <meta name="decorator" content="default"/>
  7. <script type="text/javascript">
  8. $(document).ready(function() {
  9. //$("#name").focus();cmOrderRemarksFormNew.jsp
  10. $("#inputForm").validate({
  11. submitHandler: function(form){
  12. loading('正在提交,请稍等...');
  13. form.submit();
  14. },
  15. errorContainer: "#messageBox",
  16. errorPlacement: function(error, element) {
  17. $("#messageBox").text("输入有误,请先更正。");
  18. if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
  19. error.appendTo(element.parent().parent());
  20. } else {
  21. error.insertAfter(element);
  22. }
  23. }
  24. });
  25. });
  26. function previewFile(url) {
  27. var index = url.lastIndexOf(".");
  28. var suffix = url.substring(index);
  29. if (suffix.startsWith(".png") || suffix.startsWith(".jpg") || suffix.startsWith(".pdf")) {
  30. window.open(url, '_blank');
  31. } else {
  32. var previewUrl = "https://view.officeapps.live.com/op/view.aspx?src="+encodeURIComponent(url);
  33. window.open(previewUrl, '_blank');
  34. }
  35. }
  36. function page(n,s){
  37. $("#pageNo").val(n);
  38. $("#pageSize").val(s);
  39. $("#searchForm").submit();
  40. return false;
  41. }
  42. </script>
  43. </head>
  44. <body>
  45. <ul class="nav nav-tabs">
  46. <li><a href="${ctx}/new/user/visit/">未注册用户咨询记录</a></li>
  47. <li class="active"> <a href="${ctx}/new/user/visit/find?questionManId=${visit.questionManId}">信息详情</a></li>
  48. </ul><br/>
  49. <form:form id="questionManId" modelAttribute="visit" action="${ctx}/new/user/visit/find" method="post" class="breadcrumb form-search">
  50. <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
  51. <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
  52. <form:hidden path="questionManId"/>
  53. </form:form>
  54. <form:form id="inputForm" modelAttribute="visit" action="${ctx}" method="post" class="form-horizontal">
  55. <sys:message content="${message}"/>
  56. <c:if test="${not empty page.list}">
  57. <div style="overflow-x: hidden;word-break:break-all">
  58. <c:forEach items="${page.list}" var="visitRemarks" varStatus="remark">
  59. <div class="td clear">
  60. <div style="font-weight: bold;width: 100%;float: left;"><span style="float: left;">${visitRemarks.serviceName}</span>
  61. <span style="float: left;margin-left:10px;"><fmt:formatDate value="${visitRemarks.addTime}" pattern="yyyy-MM-dd HH:mm"/></span></div>
  62. <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
  63. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">咨询人:</div>
  64. <div style="width: 800px;float: left;margin: 10px 0;">${visitRemarks.questionMan}</div>
  65. <span style="float: left;margin-left:120px;">管理员:${visitRemarks.leaderName}</span>
  66. </div>
  67. <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
  68. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">咨询类别:</div>
  69. <div style="width: 800px;float: left;margin: 10px 0;">${visitRemarks.consultType}</div>
  70. </div>
  71. <c:if test="${not empty visitRemarks.clubType}">
  72. <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
  73. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
  74. 机构类型:
  75. </div>
  76. <div style="width: 300px;float: left;margin: 10px 0;">${visitRemarks.clubType}</div>
  77. </div>
  78. </c:if>
  79. <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
  80. <c:if test="${not empty visitRemarks.pinceSensitve}">
  81. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
  82. 价格敏感度 :
  83. </div>
  84. <c:if test="${visitRemarks.pinceSensitve eq 1}">
  85. <div style="width: 300px;float: left;margin: 10px 0;">敏感</div>
  86. </c:if>
  87. <c:if test="${visitRemarks.pinceSensitve eq 2}">
  88. <div style="width: 300px;float: left;margin: 10px 0;">适中</div>
  89. </c:if>
  90. <c:if test="${visitRemarks.pinceSensitve eq 3}">
  91. <div style="width: 300px;float: left;margin: 10px 0;">不敏感</div>
  92. </c:if>
  93. <c:if test="${visitRemarks.pinceSensitve eq 4}">
  94. <div style="width: 300px;float: left;margin: 10px 0;">不明确</div>
  95. </c:if>
  96. </c:if>
  97. <c:if test="${not empty visitRemarks.satisfied}">
  98. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
  99. 意向程度:
  100. </div>
  101. <c:if test="${visitRemarks.satisfied eq 1}">
  102. <div style="width: 300px;float: left;margin: 10px 0;">意向强烈</div>
  103. </c:if>
  104. <c:if test="${visitRemarks.satisfied eq 2}">
  105. <div style="width: 300px;float: left;margin: 10px 0;">意向一般</div>
  106. </c:if>
  107. <c:if test="${visitRemarks.satisfied eq 3}">
  108. <div style="width: 300px;float: left;margin: 10px 0;">意向平淡</div>
  109. </c:if>
  110. <c:if test="${visitRemarks.satisfied eq 4}">
  111. <div style="width: 300px;float: left;margin: 10px 0;">随便看看</div>
  112. </c:if>
  113. </c:if>
  114. <c:if test="${not empty visitRemarks.followup}">
  115. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
  116. 跟进状态:
  117. </div>
  118. <c:if test="${visitRemarks.followup eq 1}">
  119. <div style="width: 300px;float: left;margin: 10px 0;">跟进中</div>
  120. </c:if>
  121. <c:if test="${visitRemarks.followup eq 2}">
  122. <div style="width: 300px;float: left;margin: 10px 0;">跟进完成</div>
  123. </c:if>
  124. <c:if test="${visitRemarks.followup eq 3}">
  125. <div style="width: 300px;float: left;margin: 10px 0;">已放弃</div>
  126. </c:if>
  127. </c:if>
  128. </div>
  129. <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
  130. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">关键词记录:</div>
  131. <div style="width: 800px;float: left;margin: 10px 0;">
  132. ${visitRemarks.remarks}
  133. </div>
  134. </div>
  135. <div class="td-text" style="width: 100%;float: left;">
  136. <c:if test="${not empty visitRemarks.imageList}">
  137. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">图片:</div>
  138. <div style="width: 1000px;float: left;">
  139. <c:forEach items="${visitRemarks.imageList}" var="imageUrl" varStatus="remarkImage">
  140. <a href="${imageUrl}" target="_blank">
  141. <img class="enlarge-pic" style="height: 150px;width: 150px;margin-top: 10px" src="${imageUrl}">&nbsp;
  142. </a>
  143. </c:forEach>
  144. </div>
  145. </c:if>
  146. </div>
  147. <div class="td-text" style="width: 100%;float: left;margin-top: 20px;border-bottom:1px dashed #999999;padding: 10px 0;">
  148. <c:if test="${not empty visitRemarks.fileList}">
  149. <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">文件:</div>
  150. <div style="width: 1000px;float: left;margin: 10px 0;">
  151. <c:forEach items="${visitRemarks.fileList}" var="item" varStatus="remarkFile">
  152. <p>${item.fileName}&nbsp;&nbsp;&nbsp;&nbsp;
  153. <a onclick="previewFile('${item.fileUrl}')" target="_blank">预览</a>&nbsp;&nbsp;&nbsp;&nbsp;
  154. <a href="${ctx}/new/user/agency/remarks/download?fileName=${item.fileName}&ossName=${item.ossName}">下载</a></p>
  155. </c:forEach>
  156. </div>
  157. </c:if>
  158. </div>
  159. </div>
  160. </c:forEach>
  161. </div>
  162. <div class="pagination">${page}</div>
  163. </c:if>
  164. <c:if test="${empty page.list}">
  165. <font size="3" style="text-align: center;display: block;line-height: 80px;" color="#0066CC">暂无任何记录..</font>
  166. </c:if>
  167. </form:form>
  168. </body>
  169. </html>