1
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user