|
|
@ -41,13 +41,13 @@
|
|
|
|
<div class="navContent jsnavContent">
|
|
|
|
<div class="navContent jsnavContent">
|
|
|
|
<!-- <a href="{:U('Promote/base_info')}" class="<if condition='CONTROLLER_NAME eq Promote and ACTION_NAME eq base_info '>active</if> ">账户信息</a>-->
|
|
|
|
<!-- <a href="{:U('Promote/base_info')}" class="<if condition='CONTROLLER_NAME eq Promote and ACTION_NAME eq base_info '>active</if> ">账户信息</a>-->
|
|
|
|
<?php if (in_array($loginer['level'], [1])):?>
|
|
|
|
<?php if (in_array($loginer['level'], [1])):?>
|
|
|
|
<a href="{:U('Promote/children', ['promote_type' => 0])}" class="<if condition='CONTROLLER_NAME eq Promote and (ACTION_NAME eq children or ACTION_NAME eq addPromote or ACTION_NAME eq edit_chlid) '>active</if> ">部门长管理</a>
|
|
|
|
<a href="{:U('Promote/children', ['promote_type' => 0])}" class="<if condition='$_GET["promote_type"]==0 and CONTROLLER_NAME eq Promote and (ACTION_NAME eq children or ACTION_NAME eq addPromote or ACTION_NAME eq edit_chlid) '>active</if> ">部门长管理</a>
|
|
|
|
<?php endif;?>
|
|
|
|
<?php endif;?>
|
|
|
|
<?php if (in_array($loginer['level'], [1, 2])):?>
|
|
|
|
<?php if (in_array($loginer['level'], [1, 2])):?>
|
|
|
|
<a href="{:U('Promote/children', ['promote_type' => 1])}" class="<if condition='CONTROLLER_NAME eq Promote and (ACTION_NAME eq children or ACTION_NAME eq addPromote or ACTION_NAME eq edit_chlid) '>active</if> ">组长管理</a>
|
|
|
|
<a href="{:U('Promote/children', ['promote_type' => 1])}" class="<if condition='$_GET["promote_type"]==1 and CONTROLLER_NAME eq Promote and (ACTION_NAME eq children or ACTION_NAME eq addPromote or ACTION_NAME eq edit_chlid) '>active</if> ">组长管理</a>
|
|
|
|
<?php endif;?>
|
|
|
|
<?php endif;?>
|
|
|
|
<?php if (in_array($loginer['level'], [1, 2, 3])):?>
|
|
|
|
<?php if (in_array($loginer['level'], [1, 2, 3])):?>
|
|
|
|
<a href="{:U('Promote/children', ['promote_type' => 2])}" class="<if condition='CONTROLLER_NAME eq Promote and (ACTION_NAME eq children or ACTION_NAME eq addPromote or ACTION_NAME eq edit_chlid) '>active</if> ">推广员管理</a>
|
|
|
|
<a href="{:U('Promote/children', ['promote_type' => 2])}" class="<if condition='$_GET["promote_type"]==2 and CONTROLLER_NAME eq Promote and (ACTION_NAME eq children or ACTION_NAME eq addPromote or ACTION_NAME eq edit_chlid) '>active</if> ">推广员管理</a>
|
|
|
|
<?php endif;?>
|
|
|
|
<?php endif;?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif;?>
|
|
|
|
<?php endif;?>
|
|
|
|