zouyuxuan 5 lat temu
rodzic
commit
3986b89c2b
1 zmienionych plików z 19 dodań i 3 usunięć
  1. 19 3
      core/src/web/templates/manage/loan/clue.html

+ 19 - 3
core/src/web/templates/manage/loan/clue.html

@@ -149,7 +149,8 @@
     margin-left: 202px;
     margin-top: -600px;
     width: 200px;
-    height: 200px;">
+    height: 200px;
+overflow-y: auto;">
                <span style="font-size: 24px;">1 回访记录:</span>
                 <div id="visit_record"></div>
             </div>
@@ -160,6 +161,7 @@
     margin-top: -600px;
     width: 200px;
     height: 200px;
+    overflow-y: auto;
 
 ">
                 <span style=" font-size: 24px;">2 评估意见:</span>
@@ -263,8 +265,11 @@
                 },
                 {
                     title:"线索分类",field:"remark",callback:function (d) {
-                        $("#visit_record").html(d.visit_msg);
-                        $("#evaluation").html(d.opinion_msg);
+                        var visit_msg,opinion_msg = "";
+                        visit_msg = format(d.visit_msg);
+                        opinion_msg = format(d.opinion_msg);
+                        $("#visit_record").html(visit_msg);
+                        $("#evaluation").html(opinion_msg);
                         $(".record").show();
                         var select = '<select id="classify" name=""  style="width: 70px;height: 25px" >'+'<option></option>'
                         $.ajax({
@@ -364,5 +369,16 @@
     function cancle(){
         window.location.href = "/manage/loan/cluelist"
     }
+    function format(d) {
+        if (typeof(d)!== "undefined"){
+            console.log(d)
+            var tt =d.replace(/&#60;/g,"<");
+            var t = tt.replace(/&#62;/g,">");
+            return t
+        }else{
+            return ""
+        }
+
+    }
 </script>
 </html>