|
@@ -71,6 +71,12 @@ class Dashboard extends Backend
|
|
|
$this->assignconfig('column', array_keys($userlist));
|
|
|
$this->assignconfig('userdata', array_values($userlist));
|
|
|
|
|
|
+ //各项为审核的,待处理的数量
|
|
|
+ $this->view->assign([
|
|
|
+ 'wait_report' => Db::name('report')->where('status',0)->count(),
|
|
|
+ 'wait_dt_report' => Db::name('topic_dongtai_report')->where('status',0)->count(),
|
|
|
+ ]);
|
|
|
+
|
|
|
return $this->view->fetch();
|
|
|
}
|
|
|
|