This commit is contained in:
xiaoyu
2024-12-02 15:03:57 +08:00
parent 069850afc5
commit badcd40f40
+18 -17
View File
@@ -67,24 +67,24 @@ class Report extends HD_Controller
'sales' => '顾问数(含店长)',
'work_per' => '今日开工率',
'cust_new' => '今日新增线索数',
'cust_month' => '本月线索总数',
'cust_visit' => '今日新增跟进数',
'cust_visit_month' => '本月跟进客户数',
'order_new' => '今日订单新增数',
'order_month' => '本月订单总数',
"order_finish" => "本月订单信息完整数",
"cust_delay" => "今日线索逾期数",
"cust_delay_month" => "本月线索逾期数",
"order_wrong" => "今日订单未达T+1",
"order_wrong_month" => "本月订单未达T+1",
"order_early" => "今日开票早与订单时间数",
"cust_push" => "今日未及时分配数",
"cust_push_month" => "本月未及时分配总数",
"cust_defeat" => "今日战败申请未处理数",
"cust_defeat_month" => "本月战败申请未处理数",
'score' => '今日运营分',
'cust_month' => '本月线索总数',
'cust_visit_month' => '本月跟进客户数',
'order_month' => '本月订单总数',
"order_finish" => "本月订单信息完整数",
"cust_delay_month" => "本月线索逾期数",
"order_wrong_month" => "本月订单未达T+1",
"cust_push_month" => "本月未及时分配总数",
"cust_defeat_month" => "本月战败申请未处理数",
'score_month' => '本月运营分',
'score_rank' => '运营排行'
];
$where = array(
@@ -174,22 +174,23 @@ class Report extends HD_Controller
'sales' => $sales,
'work_per' => number_format($works/$sales, 2) * 100 .'%',
'cust_new' => $cust_new,
'cust_month' => $cust_month,
'cust_visit' => $cust_visit,
'cust_visit_month' => $cust_visit_month,
'order_new' => count($order_new),
'order_month' => $order_month,
'order_finish' => $order_finish,
'cust_delay' => $cust_delay,
'cust_delay_month' => $cust_delay_month,
'order_wrong' => $order_wrong,
'order_wrong_month' => $order_wrong_month,
'order_early' => $order_early,
'cust_push' => $cust_push,
'cust_push_month' => $cust_push_month,
'cust_defeat' => $cust_defeat,
'cust_defeat_month' => $cust_defeat_moth,
'score' => round($score['score']),
'cust_month' => $cust_month,
'cust_visit_month' => $cust_visit_month,
'order_month' => $order_month,
'order_finish' => $order_finish,
'cust_delay_month' => $cust_delay_month,
'order_wrong_month' => $order_wrong_month,
'cust_push_month' => $cust_push_month,
'cust_defeat_month' => $cust_defeat_moth,
'score_month' => round($score_month['scores']/date('d')),
);