$http_query .= $value . '=' . ${$value} . '&'; if (${$value}) { $param[$value] = ${$value}; } } // if (Common::isPost ()) { // if($start_date != '' && $end_date !=''){ $page_size = PAGE_SIZE; $page_no = $page_no < 1 ? 1 : $page_no; $start = ($page_no - 1) * $page_size; if ($_GET['download'] == 1) { $data['result'] = Complaint::getBlackList($param, $start, 0); } else { $data['result'] = Complaint::getBlackList($param, $start, $page_size); } $row_count = Complaint::getBlackListCount($param); // } $data['province'] = Info::getProvince(false); $data['complaintType'] = Info::getComplaintType('complaint_type', false); $data['questionType'][1] = Info::getQuestionType(1, 'question_type', true); $data['questionType'][2] = Info::getQuestionType(2, 'question_type', true); $data['questionType'][3] = Info::getQuestionType(3, 'question_type', true); $data['complaintLevel'] = Info::getComplaintLevel('complaint_level', false); $data['bussLine'] = Info::getBussLine('buss_type', false); // var_dump($data['bussLine']); //导出excel下载 if ($_GET['download'] == 1) { $downloadStr = array_to_string($data); //var_dump($data);exit; Common::exportExcel($downloadStr, 'black_list'); exit;