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

XIAOPAN

@@ -37,6 +37,7 @@ class AdminStatisticsController extends AdminBaseController{ @@ -37,6 +37,7 @@ class AdminStatisticsController extends AdminBaseController{
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(); 38 $note=Db::name('equipment')->where(['hospital'=>$param['hospital'],'is_delete'=>0])->group('note')->select();
39 $this->assign('note_category',$note); 39 $this->assign('note_category',$note);
  40 + var_dump($note);
40 } 41 }
41 if (!empty($param['note'])){ 42 if (!empty($param['note'])){
42 $where2['note']=$param['note']; 43 $where2['note']=$param['note'];
@@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
45 <option value=''>全部</option> 45 <option value=''>全部</option>
46 <notempty name="note_category"> 46 <notempty name="note_category">
47 <foreach name="note_category" item="vo"> 47 <foreach name="note_category" item="vo">
48 - <option value='{$vo.note}' <eq name="note" value="{$vo.note}">selected</eq>>{$vo.note}</option> 48 + <option value="{$vo.note}" <eq name="note" value="{$vo.note}">selected</eq>>{$vo.note}</option>
49 </foreach> 49 </foreach>
50 </notempty> 50 </notempty>
51 </select> 51 </select>