|
@@ -35,6 +35,8 @@ class AdminStatisticsController extends AdminBaseController{ |
|
@@ -35,6 +35,8 @@ class AdminStatisticsController extends AdminBaseController{ |
35
|
if (!empty($param['hospital'])){
|
35
|
if (!empty($param['hospital'])){
|
36
|
$where="hospital='".$param['hospital']."' AND";
|
36
|
$where="hospital='".$param['hospital']."' AND";
|
37
|
$where1['hospital']=$param['hospital'];
|
37
|
$where1['hospital']=$param['hospital'];
|
|
|
38
|
+ $note=Db::name('equipment')->where(['hospital'=>$param['hospital'],'is_delete'=>0])->group('note')->select();
|
|
|
39
|
+ $this->assign('note_category',$note);
|
38
|
}
|
40
|
}
|
39
|
if (!empty($param['note'])){
|
41
|
if (!empty($param['note'])){
|
40
|
$where2['note']=$param['note'];
|
42
|
$where2['note']=$param['note'];
|
|
@@ -130,7 +132,7 @@ class AdminStatisticsController extends AdminBaseController{ |
|
@@ -130,7 +132,7 @@ class AdminStatisticsController extends AdminBaseController{ |
130
|
$this->assign('interval',json_encode($interval));
|
132
|
$this->assign('interval',json_encode($interval));
|
131
|
|
133
|
|
132
|
$this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');
|
134
|
$this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');
|
133
|
-// $this->assign('note', isset($param['note']) ? $param['note'] : '');
|
135
|
+ $this->assign('note', isset($param['note']) ? $param['note'] : '');
|
134
|
return $this->fetch();
|
136
|
return $this->fetch();
|
135
|
}
|
137
|
}
|
136
|
|
138
|
|