作者 wangzhi

后台修改

... ... @@ -348,13 +348,13 @@ class Dashboard extends Backend
->where('r.en_user_id', $v['id'])
->join('complaint c', 'c.OrderSn=r.OrderSn')
->select();
$Z1[] = round(count($ECount1), 0);
$Z2[] = round(count($ECount2), 0);
$Z3[] = round(count($ECount3), 0);
$Z4[] = round((empty($Count4Array)) ? 0 : array_sum($Count4) / count($Count4Array), 0);
$Z5[] = round((empty($Count5Array)) ? 0 : array_sum($Count5) / count($Count5Array), 0);
$Z6[] = (empty($Count6Array)) ? 0 : array_sum($Count6) / count($Count6Array),0);
$Z7[] = round(count($Count7), 0);
$Z1[] = round(count($ECount1),0);
$Z2[] = round(count($ECount2),0);
$Z3[] = round(count($ECount3),0);
$Z4[] = round((empty($Count4Array)) ? 0 : array_sum($Count4) / count($Count4Array),0);
$Z5[] = round((empty($Count5Array)) ? 0 : array_sum($Count5) / count($Count5Array),0);
$Z6[] = round((empty($Count6Array)) ? 0 : array_sum($Count6) / count($Count6Array),0);
$Z7[] = round(count($Count7),0);
}
$this->assignconfig('Z1', $Z1);
$this->assignconfig('Z2', $Z2);
... ...