Commit 95b162ac authored by xishifeng's avatar xishifeng

bug修改2

parent e187aabb
......@@ -218,7 +218,7 @@
<script type="text/javascript" src="/app/js/jquery-1122-min.js"></script>
<script src="/app/js/common.js?new42" charset="utf-8"></script>
<script src="/app/js/customerinfo_details_new.js?new70"></script>
<script src="/app/js/customerinfo_details_new.js?new71"></script>
</body>
......
......@@ -113,6 +113,7 @@ function h5Page(token, fn) {
//验证C端token
function h5PageC(token, fn) {
console.log(location.href);
$.ajax({
type: "GET",
url: ServerHostTempC + "/broker/getAgentsByPhone",
......
......@@ -159,9 +159,10 @@ function loadMain(){
if(data['data']['is_outstrip_twenty_four_hours']==0){
//在保护期内
$('#baohuqi_span').show();
if((data['data']['user_info']['agent_id'] == _userId) || (data['data']['is_can_look'] == 0)){
if((data['data']['user_info']['agent_id'] == _userId) || (data['data']['is_can_look'] == 0) || (data['data']['examine_vip'] == 0)){
//客方与当前用户一致时
//或者is_can_look为1时,总监,总监是客方的总监
//或者is_can_look为0时,总监,总监是客方的总监
//或者examine_vip为0时,是否可以查看vip客户 0:可查看 1:不可查看
$('.call-btn-main').show();
}else{}
}else{
......
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