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

XIAOPAN

@@ -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,14 +626,9 @@ @@ -626,14 +626,9 @@
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 - }  
637 } 632 }
638 } 633 }
639 $("#note").html(html); 634 $("#note").html(html);