|
|
|
@ -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);
|
|
|
|
|