order_822_2
This commit is contained in:
@@ -17,7 +17,37 @@ class order extends HD_Controller
|
||||
//首页信息
|
||||
public function index()
|
||||
{
|
||||
return $this->get_dfmc();
|
||||
return $this->get_dfdq();
|
||||
}
|
||||
|
||||
/**
|
||||
* Notes:东风
|
||||
* Created on: 2022/8/22 15:04
|
||||
* Created by: dengbw
|
||||
* @return bool|void
|
||||
*/
|
||||
public function get_dfmc()
|
||||
{
|
||||
$params = $this->input->get();
|
||||
$config['brand_id'] = 1;
|
||||
$config['bizs'] = [
|
||||
1 => ['biz_name' => '厦门品牌店', 'ids' => '20', 'rowspan' => 1],
|
||||
2 => ['biz_name' => '泉州品牌店', 'ids' => '99'], 3 => ['biz_name' => '福州品牌店', 'ids' => '55'],
|
||||
4 => ['biz_name' => '厦门合伙店', 'type' => 2, 'city_id' => '350200'],
|
||||
5 => ['biz_name' => '泉州代理店', 'type' => 3, 'city_id' => '350500'],
|
||||
6 => ['biz_name' => '龙岩代理店', 'type' => 3, 'city_id' => '350800'],
|
||||
7 => ['biz_name' => '宁德代理店', 'type' => 3, 'city_id' => '350900'],
|
||||
8 => ['biz_name' => '莆田代理店', 'type' => 3, 'city_id' => '350300'],
|
||||
9 => ['biz_name' => '三明代理店', 'type' => 3, 'city_id' => '350400'],
|
||||
10 => ['biz_name' => '漳州代理店', 'type' => 3, 'city_id' => '350600'],
|
||||
11 => ['biz_name' => '南平代理店', 'type' => 3, 'city_id' => '350700'],
|
||||
];
|
||||
$res = $this->commonSelect($params, $config);
|
||||
$this->data['info'] = $res['info'];
|
||||
$this->data['params'] = $res['params'];
|
||||
$this->data['url'] = '/stats/order/get_dfmc';
|
||||
$this->data['_title'] = '东风';
|
||||
return $this->show_view('stats/order/common', true);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -70,7 +100,7 @@ class order extends HD_Controller
|
||||
* Created by: dengbw
|
||||
* @return bool|void
|
||||
*/
|
||||
public function get_dfmc()
|
||||
public function get_dfdq()
|
||||
{
|
||||
$params = $this->input->get();
|
||||
!$params['type'] && $params['type'] = 1;
|
||||
@@ -265,7 +295,7 @@ class order extends HD_Controller
|
||||
, 'customers_stats' => $customers_stats, 'process' => $process, 'type_ary' => [1 => '月销售模型(当月线索)', 2 => '月销售模型']];
|
||||
$this->data['params'] = $params;
|
||||
$this->data['_title'] = '东风品牌店群';
|
||||
return $this->show_view('stats/order/dfmc', true);
|
||||
return $this->show_view('stats/order/dfdq', true);
|
||||
}
|
||||
|
||||
private function commonSelect($params, $config)
|
||||
|
||||
Reference in New Issue
Block a user