Commit 0da62cea authored by agping's avatar agping

带看中

parent 6bd9e975
{layout name="global/frame_pure_tpl" /} {layout name="global/frame_pure_tpl" /}
<input type="hidden" class="page-load" id="user_genjing_modal" /> <input type="hidden" class="page-load" id="user_genjing_modal" />
<style> <style>
.take-look{
display: inline-block;
background: #FF9318;
color: #fff;
font-size: 12px;
width: 47px;
height: 18px;
line-height: 18px;
text-align: center;
border-radius: 3px;
margin-left: 5px;
}
.fore-span{ .fore-span{
line-height: 20px; line-height: 20px;
} }
...@@ -563,7 +576,7 @@ ...@@ -563,7 +576,7 @@
<span class="fore-span">姓名:</span> <span class="fore-span">姓名:</span>
<!--<input class="form-control btn6 cus_name input-border-0" value="" data-rule-phoneus="false" data-rule-required="false" name="name" type="text" disabled="disabled">--> <!--<input class="form-control btn6 cus_name input-border-0" value="" data-rule-phoneus="false" data-rule-required="false" name="name" type="text" disabled="disabled">-->
<span class="fore-span cus_name"></span> <span class="fore-span cus_name"></span>
<span class="take-look">带看中</span>
</td> </td>
<td width="34%"> <td width="34%">
<span class="fore-span">产生类型:</span> <span class="fore-span">产生类型:</span>
......
...@@ -1202,6 +1202,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c ...@@ -1202,6 +1202,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
}, },
// 客户详情页面 编辑和客户详情共用 // 客户详情页面 编辑和客户详情共用
Caozuo: function() { Caozuo: function() {
$(".take-look").hide();
//获取跟进详情的数据 //获取跟进详情的数据
$.ajax({ $.ajax({
'type': 'GET', 'type': 'GET',
...@@ -1219,8 +1220,14 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c ...@@ -1219,8 +1220,14 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
if(data.data.user_info.entrust_type){ if(data.data.user_info.entrust_type){
user.entrustType = data.data.user_info.entrust_type; user.entrustType = data.data.user_info.entrust_type;
} }
//隐藏显示带看中
//跟进 带看 6666 if(data.data.is_user_report*1){
$(".take-look").show();
}else{
$(".take-look").hide();
}
//跟进 带看
user.getGenjincon(); user.getGenjincon();
user.getUserLogNew();//客户详情获取最近一条带看动态 user.getUserLogNew();//客户详情获取最近一条带看动态
$(".cus_id").html(data.data.user_info.user_id); //客户编号 $(".cus_id").html(data.data.user_info.user_id); //客户编号
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment