|
@@ -127,15 +127,15 @@
|
|
<div id="audit" style="margin-top: 20px"></div>
|
|
<div id="audit" style="margin-top: 20px"></div>
|
|
</div>
|
|
</div>
|
|
<div class="record" style="display: none">
|
|
<div class="record" style="display: none">
|
|
- <div style="position: relative;float: left;margin-left: 206px;margin-top: -246px;width: 280px;height: 200px">
|
|
|
|
|
|
+ <div style="position: relative;float: left;margin-left: 206px;margin-top: -366px;width: 280px;height: 300px;">
|
|
<span style="font-size: 24px;">回访记录:</span>
|
|
<span style="font-size: 24px;">回访记录:</span>
|
|
<span id="visit-person"></span>
|
|
<span id="visit-person"></span>
|
|
<span id="visit-time"></span>
|
|
<span id="visit-time"></span>
|
|
- <div id="visit-record">
|
|
|
|
|
|
+ <div id="visit-record" style="overflow-y: auto;">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div style="position: relative;float: left;margin-left: 580px;margin-top: -260px;">
|
|
|
|
|
|
+ <div style="position: relative;float: right;margin-left: 580px;margin-top: -366px;">
|
|
<span style="font-size: 24px" >贷款评估意见:</span>
|
|
<span style="font-size: 24px" >贷款评估意见:</span>
|
|
<textarea id="evaluation" name="evaluation" style="width: 400px;height: 200px;" placeholder="多行输入"></textarea>
|
|
<textarea id="evaluation" name="evaluation" style="width: 400px;height: 200px;" placeholder="多行输入"></textarea>
|
|
<div>
|
|
<div>
|
|
@@ -282,8 +282,10 @@
|
|
async: false,
|
|
async: false,
|
|
method: "POST",
|
|
method: "POST",
|
|
success:function (d) {
|
|
success:function (d) {
|
|
|
|
+ var visit_record="";
|
|
|
|
+ visit_record = format(d.data[0].visit_msg);
|
|
$("#visit-person").html(d.data[0].visit_person);
|
|
$("#visit-person").html(d.data[0].visit_person);
|
|
- $("#visit-record").html(d.data[0].visit_msg);
|
|
|
|
|
|
+ $("#visit-record").html(visit_record);
|
|
$("#visit-time").html(d.data[0].visit_time);
|
|
$("#visit-time").html(d.data[0].visit_time);
|
|
$(".record").show();
|
|
$(".record").show();
|
|
$("#manage").focus();
|
|
$("#manage").focus();
|
|
@@ -292,10 +294,17 @@
|
|
});
|
|
});
|
|
//单击事件
|
|
//单击事件
|
|
$("#content").on("click","#audit>.dt-table-wrapper>.table>tbody>tr",function(){
|
|
$("#content").on("click","#audit>.dt-table-wrapper>.table>tbody>tr",function(){
|
|
|
|
+ $(this).addClass("selected");
|
|
|
|
+ $(this).css("background","rgb(202, 198, 133)");
|
|
|
|
+ $(this).siblings().css("background","rgb(255,255,255)");
|
|
|
|
+ $(this).siblings().removeClass("selected");
|
|
$("#visit-person").text("");
|
|
$("#visit-person").text("");
|
|
$("#visit-record").text("");
|
|
$("#visit-record").text("");
|
|
$("#visit-time").text("");
|
|
$("#visit-time").text("");
|
|
- $(".record").hide()
|
|
|
|
|
|
+ $(".record").hide();
|
|
|
|
+ // if ($(this).hasClass("select")){
|
|
|
|
+ // window.location.href = ""
|
|
|
|
+ // }
|
|
});
|
|
});
|
|
function submit() {
|
|
function submit() {
|
|
var content = $("#evaluation").val();
|
|
var content = $("#evaluation").val();
|
|
@@ -326,5 +335,16 @@
|
|
function cancle() {
|
|
function cancle() {
|
|
window.location.href = "/manage/loan/evaluationlist"
|
|
window.location.href = "/manage/loan/evaluationlist"
|
|
}
|
|
}
|
|
|
|
+ function format(d) {
|
|
|
|
+ if (typeof(d)!== "undefined"){
|
|
|
|
+ console.log(d)
|
|
|
|
+ var tt =d.replace(/</g,"<");
|
|
|
|
+ var t = tt.replace(/>/g,">");
|
|
|
|
+ return t
|
|
|
|
+ }else{
|
|
|
|
+ return ""
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
</script>
|
|
</script>
|
|
</html>
|
|
</html>
|