正在显示
2 个修改的文件
包含
1 行增加
和
3 行删除
@@ -130,7 +130,6 @@ class AdminStatisticsController extends AdminBaseController{ | @@ -130,7 +130,6 @@ class AdminStatisticsController extends AdminBaseController{ | ||
130 | 130 | ||
131 | 131 | ||
132 | $this->assign('interval',json_encode($interval)); | 132 | $this->assign('interval',json_encode($interval)); |
133 | - var_dump($note); | ||
134 | $this->assign('note_category',$note); | 133 | $this->assign('note_category',$note); |
135 | $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : ''); | 134 | $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : ''); |
136 | $this->assign('note', isset($param['note']) ? $param['note'] : ''); | 135 | $this->assign('note', isset($param['note']) ? $param['note'] : ''); |
@@ -44,9 +44,8 @@ | @@ -44,9 +44,8 @@ | ||
44 | <select class="form-control" id="note" name="note" style="width: 140px;"> | 44 | <select class="form-control" id="note" name="note" style="width: 140px;"> |
45 | <option value=''>全部</option> | 45 | <option value=''>全部</option> |
46 | <notempty name="note_category"> | 46 | <notempty name="note_category"> |
47 | - <php>echo 1;</php> | ||
48 | <foreach name="note_category" item="vo"> | 47 | <foreach name="note_category" item="vo"> |
49 | - <option value="{$vo.note}">{$vo.note}</option> | 48 | + <option value="{$vo.note}" <eq name="note" value="$vo.note">selected</eq>>{$vo.note}</option> |
50 | </foreach> | 49 | </foreach> |
51 | </notempty> | 50 | </notempty> |
52 | </select> | 51 | </select> |
-
请 注册 或 登录 后发表评论