diff --git a/app/chengji/model/TongjiNj.php b/app/chengji/model/TongjiNj.php index 537a1f17..b9cb80f0 100755 --- a/app/chengji/model/TongjiNj.php +++ b/app/chengji/model/TongjiNj.php @@ -20,9 +20,9 @@ class TongjiNj extends BaseModel $more = new \app\kaohao\model\SearchMore; $schoolList = $cy->school($src); - if(count($schoolList) == 0){ - return false; - } + // if(count($schoolList) == 0){ + // return false; + // } // 查询要统计的年级 $ksset = new \app\kaoshi\model\KaoshiSet; $njList = $ksset->srcGrade($kaoshi_id); diff --git a/app/kaoshi/view/index/tongji.html b/app/kaoshi/view/index/tongji.html index 6cdb2e76..c783f9b9 100644 --- a/app/kaoshi/view/index/tongji.html +++ b/app/kaoshi/view/index/tongji.html @@ -77,12 +77,16 @@ $('#showtd' + val).text('正在统计'); $('#showtd' + val).append(""); }, + complete: function () { + $('#showtd' + val).children("i").remove(); + }, success:function(result){ $('#showtd' + val).text(result.msg); }, error:function(result){ $('#showtd' + val).text(result.msg); }, + }); }