diff --git a/admin/controllers/receiver/Clues.php b/admin/controllers/receiver/Clues.php index 03dea18a..9edb428c 100644 --- a/admin/controllers/receiver/Clues.php +++ b/admin/controllers/receiver/Clues.php @@ -55,6 +55,8 @@ class Clues extends HD_Controller $statusList[] = array("id" => $key, "name" => $value['name'], "cate" => $cate, "count" => $count1); } + $export_button = (SUPER_ADMIN == $this->role || $this->uid == 4) ? 1 : 0; + $this->data['province_id'] = intval($params['province_id']); $this->data['city_id'] = intval($params['city_id']); $this->data['county_id'] = intval($params['county_id']); @@ -66,7 +68,7 @@ class Clues extends HD_Controller $this->data['cfromAry2'] = $map_cfrom2; $this->data['statusList'] = $statusList; $this->data['maintainAry'] = $this->maintainAry; - $this->data['export_button'] = SUPER_ADMIN == $this->role ? 1 : 0; + $this->data['export_button'] = $export_button; $this->data['_title'] = '线索池列表'; return $this->show_view('receiver/clues/lists', true); }