|
@@ -165,7 +165,7 @@
|
|
|
<em></em>
|
|
|
<strong>相关QA</strong>
|
|
|
<a href="javascript:void(0)" style="margin-left: 200px;" onclick="closeQA()">关闭</a>
|
|
|
- <ul id="question">
|
|
|
+ <ul id="question" style="padding-top: 15px">
|
|
|
<#--<li class="ask">1、净水机面板操作不灵敏,是怎么回事?</li>
|
|
|
<li class="answer">答:<span>4净水机面板操作不灵敏,是怎么回事。1、净水机面板操作不灵敏,是怎么回事?1、净水机面板操作不灵敏,是怎么回事?1、净水机面板操作不灵敏,是怎么回事?</span></li>-->
|
|
|
</ul>
|
|
@@ -551,15 +551,14 @@
|
|
|
});
|
|
|
|
|
|
$(document).on('click', '.dalog-ask .answer', function() {
|
|
|
- var msg = $(this).find("span").html();
|
|
|
- UE.getEditor('describeContentText').setContent(msg);
|
|
|
|
|
|
- $("#questionId").val($(this).find(".quesId").val());
|
|
|
+ var questionId = $(this).find(".quesId").val()
|
|
|
+ var title = $(this).find("span").html();
|
|
|
+ var desc = $(this).find("#questionProfile").html()
|
|
|
|
|
|
- var title = $(this).prev().html();
|
|
|
+ $("#questionId").val(questionId);
|
|
|
$("#describeTitle").val(title);
|
|
|
-
|
|
|
- //$("#questionId").val(.find(".quesId").val());
|
|
|
+ UE.getEditor('describeContentText').setContent(desc);
|
|
|
|
|
|
//$("#answer-textarea").text();
|
|
|
$(".dalog-ask").hide(); //隐藏qa
|
|
@@ -768,7 +767,6 @@
|
|
|
|
|
|
/*监听处理结果选择事件*/
|
|
|
$("[name='customerIsSolve']").change(function(){
|
|
|
- allCustomerType = parseInt($(this).val());
|
|
|
initProcessResult(parseInt($(this).val()));
|
|
|
})
|
|
|
|
|
@@ -1010,6 +1008,8 @@
|
|
|
type = 1;
|
|
|
}
|
|
|
|
|
|
+ allCustomerType = type;
|
|
|
+
|
|
|
if(allCustomerInfoType == null || allCustomerInfoType == ""){
|
|
|
allCustomerInfoType = $("input[name='customerCounselType']:checked").val();
|
|
|
}
|
|
@@ -1308,9 +1308,14 @@
|
|
|
if (data.returnCode == 200) {
|
|
|
for(var i=0;i<data.returnMsg.complaintQuestionInfoList.length;i++){
|
|
|
var complaintQuestion= data.returnMsg.complaintQuestionInfoList[i];
|
|
|
- html += '<li class="ask">'+ complaintQuestion.questionName +'' +
|
|
|
- '</li>' +
|
|
|
- '<li class="answer" style="height: 65px;overflow: hidden;">答:<span>'+ complaintQuestion.questionProfile +'</span><input class="quesId" type="hidden" value="'+ complaintQuestion.questionId +'"></li>';
|
|
|
+ //html += '<li class="ask">'+ complaintQuestion.questionName +'' +
|
|
|
+ // '</li>' +
|
|
|
+ // '<li class="answer" style="height: 65px;overflow: hidden;">答:<span>'+ complaintQuestion.questionProfile +'</span><input class="quesId" type="hidden" value="'+ complaintQuestion.questionId +'"></li>';
|
|
|
+ html += '' +
|
|
|
+ '<li class="answer" style="height: 20px;overflow: hidden;border-bottom: 1px solid #ddd;"><span>'+ complaintQuestion.questionName +'</span>' +
|
|
|
+ '<input class="quesId" type="hidden" value="'+ complaintQuestion.questionId +'">' +
|
|
|
+ '<div id="questionProfile" style="display: block">'+ complaintQuestion.questionProfile +'</div>' +
|
|
|
+ '</li>';
|
|
|
}
|
|
|
}else{
|
|
|
html = '<span style="font-size: 12px; margin-top: 10px; display: block;">未搜索到QA信息,请更换关键字或者直接录入到系统!</span>';
|