推广员oa关联

master
zhanglingsheng 5 years ago
parent 9c89f1bcd3
commit dcd9791f79

@ -71,6 +71,7 @@ unset($_REQUEST['parent_id']);
if(isset($_REQUEST['row'])) {$row = $_REQUEST['row'];}else{$row = 10;}
if(!empty(I('oa_associated'))) {
$map['oa_associated'] = I('oa_associated');
$oa_data = [];
for($i = 1; $i > 0; $i++) {
$arr['time'] = time();
@ -127,7 +128,7 @@ unset($_REQUEST['parent_id']);
}
}
}
$count = D(self::model_name)->count();
$count = I('oa_associated') ? count($list_data) : D(self::model_name)->count();
$page = set_pagination($count,$row);
if($page) {$this->assign('_page', $page);}
$this->assign('list_data', $list_data);

Loading…
Cancel
Save