소스 검색

关键词库,客户咨询记录bugfix

Duan_xu 3 년 전
부모
커밋
125d7af597

+ 2 - 1
src/main/webapp/WEB-INF/views/modules/consult/type/cmConsulttypeList.jsp

@@ -64,6 +64,7 @@
     <li><a href="${ctx}/new/user/agency/regist">已注册用户咨询记录</a></li>
     <li><a href="${ctx}/new/user/visit/unregist">未注册用户咨询记录</a></li>
     <li class="active"><a href="${ctx}/consult/type/cmConsulttype/">咨询类别设置</a></li>
+    <li><a href="${ctx}/new/user/agency/cmrenaksList">关键词库</a></li>
 </ul>
 <form:form id="searchForm" modelAttribute="cmConsulttype" action="${ctx}/consult/type/cmConsulttype/" method="post"
            class="breadcrumb form-search">
@@ -134,4 +135,4 @@
 </table>
 <div class="pagination">${page}</div>
 </body>
-</html>
+</html>

+ 1 - 1
src/main/webapp/WEB-INF/views/modules/userNew/cmRemaksForm.jsp

@@ -168,7 +168,7 @@
             <th><span style="color: red">*</span>  关键词:</th>
             <td colspan="3">
 <%--                <input:form path="remarks" name="remarks" value=" ${empty list.remarks ? '' : list.remarks}" class="short input-small required" maxlength="50"/>--%>
-                <input id="remarks" placeholder="最多输入10个字符" name="remarks" class="short input-small required" type="text" value="${remaks}" maxlength="10"/>&nbsp; &emsp; <span class="red" id="bt">*必填</span>
+                <input style="width: 150px" id="remarks" placeholder="最多输入10个字符" name="remarks" class="short input-small" type="text" value="${remaks}" maxlength="10"/>&nbsp; &emsp; <span class="red" id="bt">*必填</span>
             </td>
         </tr>
         <tr>

+ 37 - 6
src/main/webapp/WEB-INF/views/modules/userNew/cmUnRegistRemarksList.jsp

@@ -47,6 +47,7 @@
 		<li><a href="${ctx}/new/user/agency/regist">已注册用户咨询记录</a></li>
 		<li class="active"><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="visit" action="${ctx}/new/user/visit/unregist" method="post" class="breadcrumb form-search">
 	<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
@@ -123,19 +124,52 @@
 						<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.pinceSensitve}</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>
-						<div style="width: 300px;float: left;margin: 10px 0;">${visitRemarks.satisfied}</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>
-						<div style="width: 300px;float: left;margin: 10px 0;">${visitRemarks.followup}</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;">
@@ -183,9 +217,6 @@
 	</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>