This commit is contained in:
lin fan
2024-11-04 23:06:46 +08:00
parent 8466fe42ca
commit 8a4d298ec9
+5 -5
View File
@@ -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) {