作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

XIAOPAN

... ... @@ -48,7 +48,7 @@ class AdminStatisticsController extends AdminBaseController{
$hospital[$k]=$v['hospital'];
$num[$k]=$v['num'];
}
var_dump($hospital);
$this->assign('hospitalJson',json_encode($hospital));
$this->assign('num',json_encode($num));
... ... @@ -126,6 +126,7 @@ class AdminStatisticsController extends AdminBaseController{
public function getNote(){
$param=$this->request->param();
$data=Db::name('equipment')->where(['hospital'=>$param['hospital'],'is_delete'=>0])->group('note')->select()->toArray();
return $data;
}
... ...