Commit d1ea0550 by html5-李恒逸

fix bugs

parent 7d169742
......@@ -376,7 +376,7 @@ class Channeladmin extends CI_Controller
$admins = array();
$admins = $this->channel->get_all_info($where, $page_no, self::PAGE_SIZE);
$this->data['customers'] = $admins;
$this->data['num_start'] = ($page_no - 1) * self::PAGE_SIZE + 1;
//获取分页
$this->data['num_link'] = set_page1(
$this,site_url('admin/channeladmin/customerSearch?distributor_name='.$get['distributor_name'].'&status='.$get['status'].'&channel_id='.$get['channel_id'].'&building_title='.$get['building_title'].'&time='.$get['time']),
......@@ -467,7 +467,7 @@ class Channeladmin extends CI_Controller
$admins = array();
$admins = $this->channel->get_all_info($where, $page_no, self::PAGE_SIZE);
$this->data['customers'] = $admins;
$this->data['num_start'] = ($page_no - 1) * self::PAGE_SIZE + 1;
//获取分页
$this->data['num_link'] = set_page1(
$this,site_url('admin/channeladmin/customerExport?distributor_name='.$get['distributor_name'].'&status='.$get['status'].'&channel_id='.$get['channel_id'].'&building_title='.$get['building_title'].'&time='.$get['time']),
......
......@@ -90,6 +90,7 @@
<table class="table table-striped table-bordered table-hover" id="sample_1">
<thead>
<tr>
<th>序号</th>
<th>用户ID</th>
<th>客户姓名</th>
<th>客户电话</th>
......@@ -109,6 +110,7 @@
foreach($customers as $customer):
?>
<tr>
<td><?php echo $num_start++ ; ?></td>
<td><?php echo $customer['id'];?></td>
<td><?php echo $customer['customer_user'];?></td>
<td><?php echo $customer['customer_mobile']?></td>
......
......@@ -88,6 +88,7 @@
<table class="table table-striped table-bordered table-hover" id="sample_1">
<thead>
<tr>
<th>序号</th>
<th>用户ID</th>
<th>客户姓名</th>
<th>客户电话</th>
......@@ -107,6 +108,7 @@
foreach($customers as $customer):
?>
<tr>
<td><?php echo $num_start++ ; ?></td>
<td><?php echo $customer['id'];?></td>
<td><?php echo $customer['customer_user'];?></td>
<td><?php echo $customer['customer_mobile']?></td>
......@@ -227,7 +229,7 @@
var e = $("#time").val = "";
location.href = "<?php echo site_url('admin/channeladmin/customerSearch')?>?distributor_name="+a+"&status="+b+"&channel_id="+c+"&building_title="+d+"&time="+e
})
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment