diff --git a/api/controllers/wxapp/licheb/Biz.php b/api/controllers/wxapp/licheb/Biz.php index 2e18c372..507c8a41 100644 --- a/api/controllers/wxapp/licheb/Biz.php +++ b/api/controllers/wxapp/licheb/Biz.php @@ -64,9 +64,9 @@ class Biz extends Wxapp $orders = $this->mdOrders->count(['biz_id' => $this->biz_id, 'status>=' => 0, 'order_time>=' => $o_time['s_time'], 'order_time<=' => $o_time['e_time']]); //退定 $refunds = $this->mdOrders->count(['biz_id' => $this->biz_id, 'status' => 2, 'refund_time>=' => $o_time['s_time'], 'refund_time<=' => $o_time['e_time']]); - $data['tabs'] = [['title' => '客户/进店', 'value_1' => $customers, 'value_2' => '/' . $intos, 'url' => 'pages/'], - ['title' => '企微添加/点亮', 'value_1' => $wxqys_add, 'value_2' => '/' . $wxqys, 'url' => 'pages/'], - ['title' => '成交/退定', 'value_1' => $orders, 'value_2' => '/' . $refunds, 'url' => 'pages/'], + $data['tabs'] = [['title' => '客户/进店', 'value_1' => $customers, 'value_2' => '/' . $intos, 'url' => '/pages/storeData/customerData/index'], + ['title' => '企微添加/点亮', 'value_1' => $wxqys_add, 'value_2' => '/' . $wxqys, 'url' => '/pages/storeData/wechatData/index'], + ['title' => '成交/退定', 'value_1' => $orders, 'value_2' => '/' . $refunds, 'url' => '/pages/storeData/orderData/index'], ]; $orders_per = number_format_com($orders / $customers * 100, 1, ''); $intos_per = number_format_com($intos / $customers * 100, 1, '');