This commit is contained in:
lin fan
2024-11-21 16:03:12 +08:00
parent 9a2d3a46b4
commit d48c0e977a
+5 -5
View File
@@ -246,7 +246,7 @@ class Score extends Wxapp
$where['biz_id'] = $this->biz_id;
$value = $this->customers_model->count($where);
$series_value[] = $value;
$max_total[] = $max;
$max_total[] = $max ? $max : 10 ;
//跟进能力
$where_max = $where = [
@@ -258,7 +258,7 @@ class Score extends Wxapp
$where['biz_id'] = $this->biz_id;
$value = $this->customers_model->count($where);
$series_value[] = $value;
$max_total[] = $max;
$max_total[] = $max ? $max : 10 ;
//邀约能力
$where_max = $where = [
@@ -271,7 +271,7 @@ class Score extends Wxapp
$where['biz_id'] = $this->biz_id;
$value = $this->customers_model->count($where);
$series_value[] = $value;
$max_total[] = $max;
$max_total[] = $max ? $max : 10 ;
//成交能力
$where_max = $where = [
@@ -284,7 +284,7 @@ class Score extends Wxapp
$where["biz_id"] = $this->biz_id;
$value = $this->orders_model->count($where);
$series_value[] = $value;
$max_total[] = $max;
$max_total[] = $max ? $max : 10 ;
//交付能力
$where_max = $where = [
@@ -297,7 +297,7 @@ class Score extends Wxapp
$where["biz_id"] = $this->biz_id;
$value = $this->orders_model->count($where);
$series_value[] = $value;
$max_total[] = $max;
$max_total[] = $max ? $max : 10 ;
foreach ($names as $key => $value) {
$indicator[] = array('name' => $value, 'max' => $max_total[$key]);