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

XIAOPAN

... ... @@ -130,7 +130,7 @@ class AdminStatisticsController extends AdminBaseController{
$this->assign('interval',json_encode($interval));
$this->assign('hospital', isset($param['hospital']) ? $param['hospital'] : '');
$this->assign('note', isset($param['note']) ? $param['note'] : '');
// $this->assign('note', isset($param['note']) ? $param['note'] : '');
return $this->fetch();
}
... ...
... ... @@ -626,14 +626,9 @@
},
success: function (data) {
var html="<option value=''>全部</option>";
var nowNote="{$note}";
if (data!="") {
for (var i = 0; i < data.length; i++) {
if (nowNote==data[i]['note']){
html+='<option value=' + data[i]['note'] + 'selected'+ '>' + data[i]['note'] + '</option>';
}else {
html += '<option value=' + data[i]['note'] + '>' + data[i]['note'] + '</option>';
}
}
}
$("#note").html(html);
... ...