Commit 287f1703 authored by hujun's avatar hujun

1

parent d95579e8
......@@ -346,7 +346,7 @@ class GHouses extends BaseModel
->where('a.agents_id', $agents_id)
->count();
if ($exclusive_num > 0) {
$result[$k]['auth_edit_exclusive'] = 0;
$result[$k]['auth_edit_exclusive'] = 1;
}
}
}
......
......@@ -94,7 +94,7 @@
<a class="btn1 btn-success anch" data-target="#modal-anch" data-toggle="modal" data-id='[%= it[item]["id"] %]'>设置案场权限人</a>
[% } %]-->
[% if(check_auth('index/editExclusive') || it[item][is_exclusive_type] == 0 || it[item][auth_edit_exclusive] == 0) { %]
[% if(check_auth('index/editExclusive') || it[item][is_exclusive_type] == 0 || it[item][auth_edit_exclusive] == 1) { %]
<a class="btn1 btn-success dujia btn-default-hide-display" href="#modal-dujia" data-toggle="modal" data-id='[%= it[item]["id"] %]' >是否独家</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