|
@@ -83,11 +83,25 @@
|
|
|
</#list>
|
|
|
</#if>
|
|
|
</select>
|
|
|
- <div style="display: none;" id="questionProfileDiv">
|
|
|
- <input class="my-input" type="text" name="questionProfile" id="questionProfile" style="width: 93%;"/>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <#--<div class="input-box">
|
|
|
+ <label class="form-label col-3 col-sm-3 " style="text-align: right;margin-top: 14px;"><span class="c-red">*</span>问题描述:</label>
|
|
|
+ <div id="questionProfile" class="formControls col-xs-9 col-sm-9 skin-minimal" style="margin: 10px 0px;padding-left: 0;">
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>-->
|
|
|
+ <div class="input-box">
|
|
|
+ <label class="form-label col-3 col-sm-3 huanhang" style="text-align: right;margin-top: 14px;">问题描述:</label>
|
|
|
+ <div class="formControls col-xs-9 col-sm-9 skin-minimal" style="margin-top: -8px;">
|
|
|
+
|
|
|
+ <div class="radio-box">
|
|
|
+ <textarea rows="3" style="width: 410px;margin-left: -15px;margin-top: 8px;" cols="20" id="questionProfile" name="questionDescription" class="my-textarea" placeholder="">
|
|
|
+
|
|
|
+ </textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="input-box">
|
|
|
<label class="form-label col-3 col-sm-3 huanhang" style="text-align: right;margin-top: 14px;">业务员:</label>
|
|
|
<div class="formControls col-xs-9 col-sm-9 skin-minimal" style="margin: 10px 0px;padding-left: 0;">
|
|
@@ -167,11 +181,20 @@
|
|
|
</article>
|
|
|
<script type="text/javascript" src="${path}/common/lib/My97DatePicker/4.8/WdatePicker.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
+
|
|
|
function problemDescription() {
|
|
|
var getvalue = $("#questionId").find("option:selected").attr("tag-id");
|
|
|
- $("#questionProfile").val(getvalue);
|
|
|
- }
|
|
|
+ if(getvalue == null || getvalue === "" || typeof(getvalue) === "undefined"){
|
|
|
+ getvalue = "没有问题描述";
|
|
|
+ }
|
|
|
+ $("#questionProfile").html(repalceHtml(getvalue));
|
|
|
|
|
|
+ }
|
|
|
+ function repalceHtml(str){
|
|
|
+ var dd=str.replace(/<\/?.+?>/g,"");
|
|
|
+ var dds=dd.replace(/ /g,"");//dds为得到后的内容
|
|
|
+ return dds;
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 客诉处理方式回显 state
|
|
@@ -451,6 +474,9 @@
|
|
|
if (data.returnCode == 200) {
|
|
|
for(var i=0;i<data.returnMsg.complaintQuestionInfoList.length;i++){
|
|
|
var complaintQuestion= data.returnMsg.complaintQuestionInfoList[i];
|
|
|
+ if(i === 0){
|
|
|
+ $("#questionProfile").html(repalceHtml(complaintQuestion.questionProfile));
|
|
|
+ }
|
|
|
html += '<option value="'+ complaintQuestion.questionId +'" tag-id="'+complaintQuestion.questionProfile+'" >'+ complaintQuestion.questionName +'</option>';
|
|
|
}
|
|
|
}else{
|