|
@@ -11,7 +11,7 @@ class Employee extends DataScopeBaseModel
|
|
|
const CREATED_AT = 'crt_time';
|
|
const CREATED_AT = 'crt_time';
|
|
|
const UPDATED_AT = 'upd_time';
|
|
const UPDATED_AT = 'upd_time';
|
|
|
protected $dateFormat = 'U';
|
|
protected $dateFormat = 'U';
|
|
|
- public static $field = ['number','mobile','title','id','is_admin', 'account', 'crt_time', 'state', 'education', 'major', 'id_card','p_title','sex', 'entrust_type', 'man_type', 'position','employee_type'];
|
|
|
|
|
|
|
+ public static $field = ['number','mobile','title','id','is_admin', 'account', 'crt_time', 'state', 'education', 'major', 'id_card','p_title','sex', 'entrust_type', 'man_type', 'position','employee_type','is_wx_admin'];
|
|
|
public static $report_field = ['title','id', 'employee_type', 'education', 'major', 'id_card','p_title', 'position'];
|
|
public static $report_field = ['title','id', 'employee_type', 'education', 'major', 'id_card','p_title', 'position'];
|
|
|
const USE = 1;
|
|
const USE = 1;
|
|
|
const NOT_USE = 2;
|
|
const NOT_USE = 2;
|