diff --git a/app/chengji/model/Tongji.php b/app/chengji/model/Tongji.php index cfee59cd..4f5276c2 100644 --- a/app/chengji/model/Tongji.php +++ b/app/chengji/model/Tongji.php @@ -50,7 +50,7 @@ class Tongji extends Base $ksinfo = $ks->where('id',$kaoshi) ->field('id') ->with(['ksSubject'=>function($query){ - $query->field('id,kaoshiid,subjectid,lieming,youxiu,jige'); + $query->field('id,kaoshiid,subjectid,lieming,manfen,youxiu,jige'); }]) ->find(); $data = array(); @@ -250,5 +250,12 @@ class Tongji extends Base return $result; } + + // 分数段 + public function fenshuduan($cj=array(),$setp=10,$manfen=100) + { + + } + } diff --git a/app/chengji/view/bjtongji/biaoge.html b/app/chengji/view/bjtongji/biaoge.html index 8a436bd1..eaf8d617 100644 --- a/app/chengji/view/bjtongji/biaoge.html +++ b/app/chengji/view/bjtongji/biaoge.html @@ -54,14 +54,14 @@
{/block} {block name="echart"} -
-
- dfasd -
-
- dfasd -
-
+
+
+
6/12
+
+
+
6/12
+
+
{/block} {block name="myjs"}