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

XIAOPAN

... ... @@ -37,6 +37,7 @@ class AdminStatisticsController extends AdminBaseController{
$where1['hospital']=$param['hospital'];
$note=Db::name('equipment')->where(['hospital'=>$param['hospital'],'is_delete'=>0])->group('note')->select();
$this->assign('note_category',$note);
var_dump($note);
}
if (!empty($param['note'])){
$where2['note']=$param['note'];
... ...
... ... @@ -45,7 +45,7 @@
<option value=''>全部</option>
<notempty name="note_category">
<foreach name="note_category" item="vo">
<option value='{$vo.note}' <eq name="note" value="{$vo.note}">selected</eq>>{$vo.note}</option>
<option value="{$vo.note}" <eq name="note" value="{$vo.note}">selected</eq>>{$vo.note}</option>
</foreach>
</notempty>
</select>
... ...