From 01f9734feeded11874054b0b60e5490f8f5d049b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Wed, 26 Jun 2019 17:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E9=A6=88=E8=A1=A8=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E6=9C=89=E5=B0=8F=E5=8A=A9=E6=89=8B=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=EF=BC=8C=E5=88=99=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E5=86=8D=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gys_system/controllers/welcome.php | 3 +++ gys_system/models/groupinfo_model.php | 13 +++++++++++++ gys_system/views/feedback_detail.php | 28 ++++++++++++++++++++------- 3 files changed, 37 insertions(+), 7 deletions(-) diff --git a/gys_system/controllers/welcome.php b/gys_system/controllers/welcome.php index b78c68df..847e8b0b 100644 --- a/gys_system/controllers/welcome.php +++ b/gys_system/controllers/welcome.php @@ -77,6 +77,9 @@ class Welcome extends CI_Controller { //问题6 $data['other_service_question'] = $this->Groupinfo_model->get_eva_feedback($gri_sn, $vei_sn, $eoi_sn, 223012); + //判断是否已经由小助手那边提交了反馈数据 + $data['CheckXzsSubmit'] = $this->Groupinfo_model->CheckXzsSubmit($gri_sn,$vei_sn); + $this->load->view('header', $data); $this->load->view('feedback_detail'); $this->load->view('footer'); diff --git a/gys_system/models/groupinfo_model.php b/gys_system/models/groupinfo_model.php index eaa59bec..243e9326 100644 --- a/gys_system/models/groupinfo_model.php +++ b/gys_system/models/groupinfo_model.php @@ -411,4 +411,17 @@ class Groupinfo_model extends CI_Model { return $query; } + //判断反馈表是否已经由小助手那边提交 + function CheckXzsSubmit($grisn,$veisn){ + $sql = "select top 1 * from InfoManager.dbo.tga_feedback_evaluation + where group_id=? and travel_agency_id=? "; + $query = $this->HT->query($sql,array($grisn,$veisn)); + if ($query->result()){ + return true; + }else{ + return false; + } + + } + } diff --git a/gys_system/views/feedback_detail.php b/gys_system/views/feedback_detail.php index dcbcc7cc..c7f6487c 100644 --- a/gys_system/views/feedback_detail.php +++ b/gys_system/views/feedback_detail.php @@ -322,18 +322,32 @@ - + + +
+
+
+ +
+
+ + +
-
- +
+ -
-
+ +
+ +