正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
@@ -28,9 +28,9 @@ use think\Db; | @@ -28,9 +28,9 @@ use think\Db; | ||
28 | class AdminStatisticsController extends AdminBaseController{ | 28 | class AdminStatisticsController extends AdminBaseController{ |
29 | 29 | ||
30 | public function index(){ | 30 | public function index(){ |
31 | - $hospital=$this->request->param('hospital'); | 31 | + $param=$this->request->param(); |
32 | $where=array(); | 32 | $where=array(); |
33 | - dump($hospital); | 33 | + dump($param); |
34 | 34 | ||
35 | //医院总体时长统计 | 35 | //医院总体时长统计 |
36 | $data=Db::name('order') | 36 | $data=Db::name('order') |
@@ -98,6 +98,8 @@ class AdminStatisticsController extends AdminBaseController{ | @@ -98,6 +98,8 @@ class AdminStatisticsController extends AdminBaseController{ | ||
98 | $interval[$k]=$interval[$k][0]['num']; | 98 | $interval[$k]=$interval[$k][0]['num']; |
99 | } | 99 | } |
100 | $this->assign('interval',json_encode($interval)); | 100 | $this->assign('interval',json_encode($interval)); |
101 | + | ||
102 | + $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : ''); | ||
101 | return $this->fetch(); | 103 | return $this->fetch(); |
102 | } | 104 | } |
103 | 105 |
-
请 注册 或 登录 后发表评论