edit-sylive-page2
This commit is contained in:
@@ -184,8 +184,9 @@ class Sylive_entity{
|
||||
$org_rows = $this->ci->market_sylive_organization_model->map('organizationId','organizationName',["organizationId in ($biz_ids)"],'','','','organizationId,organizationName');
|
||||
}
|
||||
foreach ($rows as $key=>$val) {
|
||||
$rank = $page>1 ? $key : ($page-1)*$size;
|
||||
$lists[] = [
|
||||
'ranking' => $key+1,
|
||||
'ranking' => $rank+1,
|
||||
'name' => $org_rows[$val['bizId']] ? $org_rows[$val['bizId']] : '',
|
||||
'num' => $val[$this->map_kpi_biz[$type]].'人',
|
||||
'tip' => $biz_id==$val['bizId'] ? '本店' : '',
|
||||
|
||||
Reference in New Issue
Block a user