123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <%@ page contentType="text/html;charset=UTF-8" %>
- <%@ include file="/WEB-INF/views/include/taglib.jsp"%>
- <html>
- <head>
- <title>信息详情</title>
- <meta name="decorator" content="default"/>
- <script type="text/javascript">
- $(document).ready(function() {
- //$("#name").focus();cmOrderRemarksFormNew.jsp
- $("#inputForm").validate({
- submitHandler: function(form){
- loading('正在提交,请稍等...');
- form.submit();
- },
- errorContainer: "#messageBox",
- errorPlacement: function(error, element) {
- $("#messageBox").text("输入有误,请先更正。");
- if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
- error.appendTo(element.parent().parent());
- } else {
- error.insertAfter(element);
- }
- }
- });
- });
- function previewFile(url) {
- var index = url.lastIndexOf(".");
- var suffix = url.substring(index);
- if (suffix.startsWith(".png") || suffix.startsWith(".jpg") || suffix.startsWith(".pdf")) {
- window.open(url, '_blank');
- } else {
- var previewUrl = "https://view.officeapps.live.com/op/view.aspx?src="+encodeURIComponent(url);
- window.open(previewUrl, '_blank');
- }
- }
- function page(n,s){
- $("#pageNo").val(n);
- $("#pageSize").val(s);
- $("#searchForm").submit();
- return false;
- }
- </script>
- </head>
- <body>
- <ul class="nav nav-tabs">
- <li><a href="${ctx}/new/user/visit/">未注册用户咨询记录</a></li>
- <li class="active"> <a href="${ctx}/new/user/visit/find?questionManId=${visit.questionManId}">信息详情</a></li>
- </ul><br/>
- <form:form id="questionManId" modelAttribute="visit" action="${ctx}/new/user/visit/find" method="post" class="breadcrumb form-search">
- <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
- <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
- <form:hidden path="questionManId"/>
- </form:form>
- <form:form id="inputForm" modelAttribute="visit" action="${ctx}" method="post" class="form-horizontal">
- <sys:message content="${message}"/>
- <c:if test="${not empty page.list}">
- <div style="overflow-x: hidden;word-break:break-all">
- <c:forEach items="${page.list}" var="visitRemarks" varStatus="remark">
- <div class="td clear">
- <div style="font-weight: bold;width: 100%;float: left;"><span style="float: left;">${visitRemarks.serviceName}</span>
- <span style="float: left;margin-left:10px;"><fmt:formatDate value="${visitRemarks.addTime}" pattern="yyyy-MM-dd HH:mm"/></span></div>
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">咨询人:</div>
- <div style="width: 800px;float: left;margin: 10px 0;">${visitRemarks.questionMan}</div>
- <span style="float: left;margin-left:120px;">管理员:${visitRemarks.leaderName}</span>
- </div>
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">咨询类别:</div>
- <div style="width: 800px;float: left;margin: 10px 0;">${visitRemarks.consultType}</div>
- </div>
- <c:if test="${not empty visitRemarks.clubType}">
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 机构类型:
- </div>
- <div style="width: 300px;float: left;margin: 10px 0;">${visitRemarks.clubType}</div>
- </div>
- </c:if>
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
- <c:if test="${not empty visitRemarks.pinceSensitve}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 价格敏感度 :
- </div>
- <c:if test="${visitRemarks.pinceSensitve eq 1}">
- <div style="width: 300px;float: left;margin: 10px 0;">敏感</div>
- </c:if>
- <c:if test="${visitRemarks.pinceSensitve eq 2}">
- <div style="width: 300px;float: left;margin: 10px 0;">适中</div>
- </c:if>
- <c:if test="${visitRemarks.pinceSensitve eq 3}">
- <div style="width: 300px;float: left;margin: 10px 0;">不敏感</div>
- </c:if>
- <c:if test="${visitRemarks.pinceSensitve eq 4}">
- <div style="width: 300px;float: left;margin: 10px 0;">不明确</div>
- </c:if>
- </c:if>
- <c:if test="${not empty visitRemarks.satisfied}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 意向程度:
- </div>
- <c:if test="${visitRemarks.satisfied eq 1}">
- <div style="width: 300px;float: left;margin: 10px 0;">意向强烈</div>
- </c:if>
- <c:if test="${visitRemarks.satisfied eq 2}">
- <div style="width: 300px;float: left;margin: 10px 0;">意向一般</div>
- </c:if>
- <c:if test="${visitRemarks.satisfied eq 3}">
- <div style="width: 300px;float: left;margin: 10px 0;">意向平淡</div>
- </c:if>
- <c:if test="${visitRemarks.satisfied eq 4}">
- <div style="width: 300px;float: left;margin: 10px 0;">随便看看</div>
- </c:if>
- </c:if>
- <c:if test="${not empty visitRemarks.followup}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 跟进状态:
- </div>
- <c:if test="${visitRemarks.followup eq 1}">
- <div style="width: 300px;float: left;margin: 10px 0;">跟进中</div>
- </c:if>
- <c:if test="${visitRemarks.followup eq 2}">
- <div style="width: 300px;float: left;margin: 10px 0;">跟进完成</div>
- </c:if>
- <c:if test="${visitRemarks.followup eq 3}">
- <div style="width: 300px;float: left;margin: 10px 0;">已放弃</div>
- </c:if>
- </c:if>
- </div>
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">关键词记录:</div>
- <div style="width: 800px;float: left;margin: 10px 0;">
- ${visitRemarks.remarks}
- </div>
- </div>
- <div class="td-text" style="width: 100%;float: left;">
- <c:if test="${not empty visitRemarks.imageList}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">图片:</div>
- <div style="width: 1000px;float: left;">
- <c:forEach items="${visitRemarks.imageList}" var="imageUrl" varStatus="remarkImage">
- <a href="${imageUrl}" target="_blank">
- <img class="enlarge-pic" style="height: 150px;width: 150px;margin-top: 10px" src="${imageUrl}">
- </a>
- </c:forEach>
- </div>
- </c:if>
- </div>
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;border-bottom:1px dashed #999999;padding: 10px 0;">
- <c:if test="${not empty visitRemarks.fileList}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">文件:</div>
- <div style="width: 1000px;float: left;margin: 10px 0;">
- <c:forEach items="${visitRemarks.fileList}" var="item" varStatus="remarkFile">
- <p>${item.fileName}
- <a onclick="previewFile('${item.fileUrl}')" target="_blank">预览</a>
- <a href="${ctx}/new/user/agency/remarks/download?fileName=${item.fileName}&ossName=${item.ossName}">下载</a></p>
- </c:forEach>
- </div>
- </c:if>
- </div>
- </div>
- </c:forEach>
- </div>
- <div class="pagination">${page}</div>
- </c:if>
- <c:if test="${empty page.list}">
- <font size="3" style="text-align: center;display: block;line-height: 80px;" color="#0066CC">暂无任何记录..</font>
- </c:if>
- </form:form>
- </body>
- </html>
|