Commit b0098587 authored by agping's avatar agping

修改 客户详情

parent d6013924
......@@ -1136,14 +1136,14 @@ define(['doT', 'css!style/home.css', 'ckfinder', 'ckfinderStart', 'bootstrapJs']
$("#take_look_phone").html(hideTel(data.data.user_info.user_phone)); //约带看手机号
$("#take_look_id").html(data.data.user_info.user_id); //约带看id
//收藏客户 取消收藏
if(data.data.user_info.is_collect == 2){
if(data.data.is_collect == 2){
$('#user_is_collect').html('收藏');
}else{
$('#user_is_collect').html('取消收藏');
};
//vip客户 查看权限
if(user.agent_id_call_vip*1 == 1){
if(check_auth('auth_vip') || (user.agent_id_call*1 == user.agent_id_call_current*1) || (data.data.user_info.is_can_look == 0)){
if(check_auth('auth_vip') || (user.agent_id_call*1 == user.agent_id_call_current*1) || (data.data.is_can_look == 0)){
$('.user_call').show();
}else{
$('.user_call').hide();
......
......@@ -73,7 +73,7 @@
[% } %]
[% if(it[item]['auth_edit_house'] || check_auth('index/houseEdit')) { %]
<a class="btn1 btn-success" href="/admin.php/index/houseEdit?id=[%= it[item]['id']%]" data-toggle="modal" >编辑</a>
<a class="btn1 btn-success" href="/admin.php/index/houseEdit?id=[%= it[item]['id']%]" >编辑</a>
[% } %]
<a class="btn1 btn-default btn-default-show-caozuo">>>></a>
......
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