...
|
...
|
@@ -10,6 +10,7 @@ namespace app\portal\controller; |
|
|
|
|
|
|
|
|
use app\portal\model\EquipmentModel;
|
|
|
use app\portal\model\OrderModel;
|
|
|
use cmf\controller\AdminBaseController;
|
|
|
/**
|
|
|
* Class AdminAllStatisticsController
|
...
|
...
|
@@ -27,8 +28,8 @@ use cmf\controller\AdminBaseController; |
|
|
class AdminAllStatisticsController extends AdminBaseController{
|
|
|
|
|
|
public function index(){
|
|
|
$Equipment=new EquipmentModel();
|
|
|
$data=$Equipment->paginate(10);
|
|
|
$Order=new OrderModel();
|
|
|
$data=$Order->paginate(10);
|
|
|
$this->assign('data',$data);
|
|
|
return $this->fetch();
|
|
|
}
|
...
|
...
|
|