From 2b83c3f82185741538d63bfe7958721044c6e8e7 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Tue, 22 Oct 2019 14:42:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/PhoneCenterController.php | 8 ++++---- frontend/views/phone-center/call-records.php | 4 ++-- frontend/views/phone-center/usercall-index.php | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/controllers/PhoneCenterController.php b/frontend/controllers/PhoneCenterController.php index 47c6573..1c7ce7c 100644 --- a/frontend/controllers/PhoneCenterController.php +++ b/frontend/controllers/PhoneCenterController.php @@ -49,10 +49,10 @@ class PhoneCenterController extends BaseController public function actionCallRecords() { $request = Yii::$app->request; - $company_id = $request->get('company_id',0); + $company_type = $request->get('company_type',0); return $this->render('call-records', [ - 'company_id' => $company_id + 'company_type' => $company_type ]); } public function actionCallRecordsJson(){ @@ -506,9 +506,9 @@ public function actionDownload(){ public function actionUsercallIndex() { $request = Yii::$app->request; - $company_id = $request->get('company_id',0); + $company_type = $request->get('company_type',0); return $this->render('usercall-index',[ - 'company_id' => $company_id + 'company_id' => $company_type ]); } public function actionUsercallIndexJson(){ diff --git a/frontend/views/phone-center/call-records.php b/frontend/views/phone-center/call-records.php index 2a668fe..9ca1dce 100644 --- a/frontend/views/phone-center/call-records.php +++ b/frontend/views/phone-center/call-records.php @@ -17,8 +17,8 @@ use \common\libs\MyLib;
- - + +
diff --git a/frontend/views/phone-center/usercall-index.php b/frontend/views/phone-center/usercall-index.php index 9807a2b..3a573aa 100644 --- a/frontend/views/phone-center/usercall-index.php +++ b/frontend/views/phone-center/usercall-index.php @@ -17,8 +17,8 @@ use \common\libs\MyLib;
- - + +