正在显示
2 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -32,7 +32,7 @@ class SxBasement extends Frontend | @@ -32,7 +32,7 @@ class SxBasement extends Frontend | ||
| 32 | ->field('a.id,a.station_name,count(sa.id) as appoint_count') | 32 | ->field('a.id,a.station_name,count(sa.id) as appoint_count') |
| 33 | ->join('fa_station_appointment sa','a.id = sa.station_id','LEFT') | 33 | ->join('fa_station_appointment sa','a.id = sa.station_id','LEFT') |
| 34 | // ->where(['a.school_id'=>$this->auth->school_id]) | 34 | // ->where(['a.school_id'=>$this->auth->school_id]) |
| 35 | - ->where(['a.school_id'=>$this->school_id]) | 35 | + ->where(['a.school_id'=>$this->school_id,'a.status' => 1]) |
| 36 | ->group('a.id') | 36 | ->group('a.id') |
| 37 | ->select(); | 37 | ->select(); |
| 38 | //入驻公司 | 38 | //入驻公司 |
| @@ -28,6 +28,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin | @@ -28,6 +28,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin | ||
| 28 | // commonSearch: false, | 28 | // commonSearch: false, |
| 29 | //可以控制是否默认显示搜索单表,false则隐藏,默认为false | 29 | //可以控制是否默认显示搜索单表,false则隐藏,默认为false |
| 30 | // searchFormVisible: false, | 30 | // searchFormVisible: false, |
| 31 | + pageSize:20, | ||
| 31 | 32 | ||
| 32 | columns: [ | 33 | columns: [ |
| 33 | [ | 34 | [ |
-
请 注册 或 登录 后发表评论