123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- <%@ 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 getmember() {
- var leaderId = $("#leaderId").val();
- if (leaderId > 0) {
- $.get("${ctx}/new/user/agency/group", {'leaderId': leaderId}, function (data) {
- console.log(data);
- var opts = "<option value='" + data[0].serviceProviderID + "'>" + data[0].name + "</option>";
- if (data.length > 1) {
- for (let i = 1; i < data.length; i++) {
- opts += "<option value='" + data[i].serviceProviderID + "' >" + data[i].name + "</option>";
- }
- }
- $("#findgroup").html('').append(opts);
- });
- } else {
- $("#findgroup").html('');
- }
- }
- 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 class="active"><a href="${ctx}/new/user/agency/regist">已注册用户咨询记录</a></li>
- <li><a href="${ctx}/new/user/visit/unregist">未注册用户咨询记录</a></li>
- <li><a href="${ctx}/consult/type/cmConsulttype/">咨询类别设置</a></li>
- <li><a href="${ctx}/new/user/agency/cmrenaksList">关键词库</a></li>
- </ul>
- <br/>
- <form:form id="searchForm" modelAttribute="cmClubRemarks" action="${ctx}/new/user/agency/regist" 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}"/>
- <div class="flex-wrap">
- <div>
- <label>关键词:</label>
- <form:input path="remarks" htmlEscape="false" class="input-medium" maxlength="10"/>
- </div>
- <div class="item">
- <label>咨询类别:</label>
- <form:select path="consult" class="input-medium">
- <form:option value="" label="全部"/>
- <c:forEach items="${cmClubRemarks.consults}" var="consults">
- <form:option value="${consults.id}">${consults.className}</form:option>
- </c:forEach>
- </form:select>
- </div>
- <div class="item">
- <label>机构名称:</label>
- <form:input path="clubName" class="input-medium" maxlength="50"/>
- </div>
- <div class="item">
- <label>小组:</label>
- <form:select path="leaderId" class="input-medium" onchange="getmember()">
- <form:option value="" label="全部"/>
- <c:forEach items="${cmClubRemarks.teams}" var="team">
- <form:option value="${team.leaderId}">${team.leaderName}</form:option>
- </c:forEach>
- </form:select>
- </div>
- <div class="item">
- <label>组员:</label>
- <form:select path="serviceProviderId" class="input-medium" id="findgroup">
- <form:option value="" label="全部"/>
- </form:select>
- </div>
- <div class="item">
- <label class="control-label">添加日期:</label>
- <form:input path="startAddTime" type="text" maxlength="20" class="input-mini Wdate"
- value="${cmClubRemarks.startAddTime}" cssStyle="width: 130px"
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
- -
- <form:input path="endAddTime" type="text" maxlength="20" class="input-mini Wdate"
- value="${cmClubRemarks.endAddTime}" cssStyle="width: 130px"
- onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
- </div>
- <div class="item">
- <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
- </div>
- </div>
- </form:form>
- <form:form id="inputForm" modelAttribute="cmClubRemarks" 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="clubRemarks" varStatus="remark">
- <div class="td clear" style="dashed:#0066CC;">
- <div style="font-weight: bold;width: 100%;float: left;">
- <%-- <c:if test="${not empty clubRemarks.oldName}">--%>
- <%-- <span style="float: left;">${clubRemarks.oldName}</span>--%>
- <%-- </c:if>--%>
- <%-- <c:if test="${empty clubRemarks.oldName}">--%>
- <%-- <span style="float: left;">${clubRemarks.spName}</span>--%>
- <%-- </c:if>--%>
- <span style="float: left;">${clubRemarks.spName}</span>
- <span style="float: left;margin-left:20px;"><fmt:formatDate value="${clubRemarks.addTime}"
- pattern="yyyy-MM-dd HH:mm"/></span>
- <span style="float: left;margin-left:120px;">管理员:${clubRemarks.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: 150px;float: left;margin: 10px 0;">${clubRemarks.questionMan}</div>
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 机构名称:
- </div>
- <div style="width: 150px;float: left;margin: 10px 0;">${clubRemarks.clubName}</div>
- <c:if test="${not empty clubRemarks.clubType}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 机构类型:
- </div>
- <div style=" width: 150px;float: left;margin: 10px 0;position: relative;">${clubRemarks.clubType}</div>
- </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: 300px;float: left;margin: 10px 0;">${clubRemarks.consultType}</div>
- </div>
- <div class="td-text" style="width: 100%;float: left;margin-top: 20px;">
- <c:if test="${not empty clubRemarks.pinceSensitve}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 价格敏感度 :
- </div>
- <c:if test="${clubRemarks.pinceSensitve eq 1}">
- <div style="width: 150px;float: left;margin: 10px 0;">敏感</div>
- </c:if>
- <c:if test="${clubRemarks.pinceSensitve eq 2}">
- <div style="width: 150px;float: left;margin: 10px 0;">适中</div>
- </c:if>
- <c:if test="${clubRemarks.pinceSensitve eq 3}">
- <div style="width: 150px;float: left;margin: 10px 0;">不敏感</div>
- </c:if>
- <c:if test="${clubRemarks.pinceSensitve eq 4}">
- <div style="width: 150px;float: left;margin: 10px 0;">不明确</div>
- </c:if>
- </c:if>
- <c:if test="${not empty clubRemarks.satisfied}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 意向程度:
- </div>
- <c:if test="${clubRemarks.satisfied eq 1}">
- <div style="width: 150px;float: left;margin: 10px 0;">意向强烈</div>
- </c:if>
- <c:if test="${clubRemarks.satisfied eq 2}">
- <div style="width: 150px;float: left;margin: 10px 0;">意向一般</div>
- </c:if>
- <c:if test="${clubRemarks.satisfied eq 3}">
- <div style="width: 150px;float: left;margin: 10px 0;">意向平淡</div>
- </c:if>
- <c:if test="${clubRemarks.satisfied eq 4}">
- <div style="width: 150px;float: left;margin: 10px 0;">随便看看</div>
- </c:if>
- </c:if>
- <c:if test="${not empty clubRemarks.followup}">
- <div style="width: 100px;font-weight: bold;margin: 10px 0;float: left;text-align: right;margin-right: 10px;">
- 跟进状态:
- </div>
- <c:if test="${clubRemarks.followup eq 1}">
- <div style="width: 150px;float: left;margin: 10px 0;">跟进中</div>
- </c:if>
- <c:if test="${clubRemarks.followup eq 2}">
- <div style="width: 150px;float: left;margin: 10px 0;">跟进完成</div>
- </c:if>
- <c:if test="${clubRemarks.followup eq 3}">
- <div style="width: 150px;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;">
- ${clubRemarks.remarks}
- </div>
- </div>
- <c:if test="${not empty clubRemarks.extra}">
- <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;">
- ${clubRemarks.extra}
- </div>
- </div>
- </c:if>
- <div class="td-text" style="width: 100%;float: left;">
- <c:if test="${not empty clubRemarks.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="${clubRemarks.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 clubRemarks.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="${clubRemarks.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>
|