|
|
|
@ -311,9 +311,9 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
data2csv($data,'市场业绩提成',$title);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$arraypage = $p;
|
|
|
|
|
$size = $row;//每页显示的记录数
|
|
|
|
|
$data = array_slice($data, ($arraypage - 1) * $size, $size);
|
|
|
|
|
// $arraypage = $p;
|
|
|
|
|
// $size = $row;//每页显示的记录数
|
|
|
|
|
// $data = array_slice($data, ($arraypage - 1) * $size, $size);
|
|
|
|
|
|
|
|
|
|
$this->assign("list_data",$data);
|
|
|
|
|
$this->display("marketstaffsettle");
|
|
|
|
@ -345,7 +345,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
->select();
|
|
|
|
|
} else {
|
|
|
|
|
$data = $data
|
|
|
|
|
->page($p, $row)
|
|
|
|
|
// ->page($p, $row)
|
|
|
|
|
->order("pay_time DESC")
|
|
|
|
|
->select();
|
|
|
|
|
}
|
|
|
|
|