dataRange() ->append(['depart_name', 'net_state', 'open_user_name', 'creator_name', 'model_text']) ->order($this->aliasField($field), $order) ->paginate(); return $res; } /** * 获取基站导出列表 */ public function getStationExportList() { $res = $this->dataRange() ->catchSearch() ->append(['depart_name', 'net_state','open_user_name', 'creator_name', 'model_text']) ->order($this->aliasField('id'), 'desc') ->select(); return $res; } }