|
@@ -1589,10 +1589,10 @@ function distributeInit(){
|
|
|
$.ajax({
|
|
|
type: 'get',
|
|
|
contentType: "application/json",
|
|
|
- url: '/bigmember/use/isAdd',
|
|
|
+ url: '/entbase/ent/entinfo',
|
|
|
success: function (r) {
|
|
|
if (r.data) {
|
|
|
- if(r.data.entSubscribe == 1){
|
|
|
+ if(r.data.admin_system || r.data.admin_department){
|
|
|
$('#right-distribute').show();
|
|
|
$('.line-distribute').show();
|
|
|
}
|