正在显示
2 个修改的文件
包含
1 行增加
和
6 行删除
@@ -130,7 +130,7 @@ class AdminStatisticsController extends AdminBaseController{ | @@ -130,7 +130,7 @@ class AdminStatisticsController extends AdminBaseController{ | ||
130 | $this->assign('interval',json_encode($interval)); | 130 | $this->assign('interval',json_encode($interval)); |
131 | 131 | ||
132 | $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : ''); | 132 | $this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : ''); |
133 | - $this->assign('note', isset($param['note']) ? $param['note'] : ''); | 133 | +// $this->assign('note', isset($param['note']) ? $param['note'] : ''); |
134 | return $this->fetch(); | 134 | return $this->fetch(); |
135 | } | 135 | } |
136 | 136 |
@@ -626,16 +626,11 @@ | @@ -626,16 +626,11 @@ | ||
626 | }, | 626 | }, |
627 | success: function (data) { | 627 | success: function (data) { |
628 | var html="<option value=''>全部</option>"; | 628 | var html="<option value=''>全部</option>"; |
629 | - var nowNote="{$note}"; | ||
630 | if (data!="") { | 629 | if (data!="") { |
631 | for (var i = 0; i < data.length; i++) { | 630 | for (var i = 0; i < data.length; i++) { |
632 | - if (nowNote==data[i]['note']){ | ||
633 | - html+='<option value=' + data[i]['note'] + 'selected'+ '>' + data[i]['note'] + '</option>'; | ||
634 | - }else { | ||
635 | html += '<option value=' + data[i]['note'] + '>' + data[i]['note'] + '</option>'; | 631 | html += '<option value=' + data[i]['note'] + '>' + data[i]['note'] + '</option>'; |
636 | } | 632 | } |
637 | } | 633 | } |
638 | - } | ||
639 | $("#note").html(html); | 634 | $("#note").html(html); |
640 | } | 635 | } |
641 | }) | 636 | }) |
-
请 注册 或 登录 后发表评论