|
|
|
@ -867,7 +867,6 @@ class PromoteController extends BaseController
|
|
|
|
|
$realName = I('real_name', '');
|
|
|
|
|
$status = I('status', 'all');
|
|
|
|
|
$promoteType = I('promote_type', 0);
|
|
|
|
|
|
|
|
|
|
$loginer = $this->getLoginPromote();
|
|
|
|
|
|
|
|
|
|
$map = [];
|
|
|
|
@ -950,6 +949,8 @@ class PromoteController extends BaseController
|
|
|
|
|
$this->assign('count', $count);
|
|
|
|
|
$this->assign('pagination', $pagination);
|
|
|
|
|
$this->assign('records', $records);
|
|
|
|
|
$this->assign('promoteType',$promoteType);
|
|
|
|
|
$this->assign('promoteTypeTitle',$promoteTypeTitle);
|
|
|
|
|
$this->display();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1077,6 +1078,16 @@ class PromoteController extends BaseController
|
|
|
|
|
|
|
|
|
|
public function edit_chlid($id = 0)
|
|
|
|
|
{
|
|
|
|
|
$promoteType = $_REQUEST['promote_type'];
|
|
|
|
|
if($promoteType == 0) {
|
|
|
|
|
$promoteTypeTitle = "部门长管理";
|
|
|
|
|
}
|
|
|
|
|
if($promoteType == 1) {
|
|
|
|
|
$promoteTypeTitle = "组长管理";
|
|
|
|
|
}
|
|
|
|
|
if($promoteType == 2) {
|
|
|
|
|
$promoteTypeTitle = "推广员管理";
|
|
|
|
|
}
|
|
|
|
|
if (IS_POST) {
|
|
|
|
|
$type = $_REQUEST['type'];
|
|
|
|
|
$map['id'] = $id;
|
|
|
|
@ -1185,7 +1196,7 @@ class PromoteController extends BaseController
|
|
|
|
|
} else {
|
|
|
|
|
$promote = A('Promote', 'Event');
|
|
|
|
|
$this->meta_title = '子帐号';
|
|
|
|
|
$promote->baseinfo('edit_chlid', $id);
|
|
|
|
|
$promote->baseinfo('edit_chlid', $id,$promoteTypeTitle);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|