1
This commit is contained in:
@@ -236,7 +236,7 @@ class Score extends Wxapp
|
||||
$max = $this->customers_model->count($where_max);
|
||||
$where['biz_id'] = $this->biz_id;
|
||||
$value = $this->customers_model->count($where);
|
||||
$series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1;
|
||||
$series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2;
|
||||
$max_total = $max_total + $max;
|
||||
|
||||
//跟进能力
|
||||
@@ -248,7 +248,7 @@ class Score extends Wxapp
|
||||
$max = $this->customers_model->count($where_max);
|
||||
$where['biz_id'] = $this->biz_id;
|
||||
$value = $this->customers_model->count($where);
|
||||
$series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1;
|
||||
$series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2;
|
||||
$max_total = $max_total + $max;
|
||||
|
||||
//邀约能力
|
||||
@@ -261,7 +261,7 @@ class Score extends Wxapp
|
||||
$max = $this->customers_model->count($where_max);
|
||||
$where['biz_id'] = $this->biz_id;
|
||||
$value = $this->customers_model->count($where);
|
||||
$series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1;
|
||||
$series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2;
|
||||
$max_total = $max_total + $max;
|
||||
|
||||
//成交能力
|
||||
@@ -274,7 +274,7 @@ class Score extends Wxapp
|
||||
$max = $this->orders_model->count($where_max);
|
||||
$where["biz_id"] = $this->biz_id;
|
||||
$value = $this->orders_model->count($where);
|
||||
$series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1;
|
||||
$series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2;
|
||||
$max_total = $max_total + $max;
|
||||
|
||||
//交付能力
|
||||
@@ -287,7 +287,7 @@ class Score extends Wxapp
|
||||
$max = $this->orders_model->count($where_max);
|
||||
$where["biz_id"] = $this->biz_id;
|
||||
$value = $this->orders_model->count($where);
|
||||
$series_value[] = $value > $max / 10 ? round($value / $max, 1) : 0.1;
|
||||
$series_value[] = $value > $max / 5 ? round($value / $max, 1) : 0.2;
|
||||
$max_total = $max_total + $max;
|
||||
|
||||
foreach ($names as $key => $value) {
|
||||
|
||||
Reference in New Issue
Block a user