From 73dc8edec505cefb017349b12ad215b240c20f60 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Mon, 14 Oct 2019 15:20:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E8=BD=A6=E8=BE=86=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E4=B8=AD=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=8E=86=E5=8F=B2=E4=BF=9D?= =?UTF-8?q?=E5=8D=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/CarController.php | 4 +-- frontend/views/car/info-track.php | 2 +- frontend/views/car/info.php | 44 +++++++++++++++++++++++++- 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/frontend/controllers/CarController.php b/frontend/controllers/CarController.php index b5564d1..ade6612 100644 --- a/frontend/controllers/CarController.php +++ b/frontend/controllers/CarController.php @@ -5081,8 +5081,8 @@ class CarController extends BaseController $data['rows'] = []; foreach($items as $item) { $row = $item->toArray(); - $row['username'] = $row->user ? $row->user->getShowName():''; - $row['status'] = $row->status->name; + $row['username'] = $item->user->getShowName(); + $row['status'] = $item->status->name; $data['rows'][] = $row; } diff --git a/frontend/views/car/info-track.php b/frontend/views/car/info-track.php index 8c395db..dc15952 100644 --- a/frontend/views/car/info-track.php +++ b/frontend/views/car/info-track.php @@ -181,7 +181,7 @@ use \common\libs\MyLib; return opStr.join(' '); } function viewOrder(id) { - window.open('/car/order-view?id=' + id); + window.open('/insurer/info?id=' + id); } function searchGifts() { $('#giftTable').bootstrapTable('destroy'); diff --git a/frontend/views/car/info.php b/frontend/views/car/info.php index 0c7ae0b..c054c81 100644 --- a/frontend/views/car/info.php +++ b/frontend/views/car/info.php @@ -164,6 +164,33 @@ use \common\libs\MyLib; +
+
+
历史保单信息
+ +
+
+ + + + + + + + + + + + + + +
ID被保险人商业起保日期交强起保日期出单日期共计签单业务员状态操作
+
+
预约记录
@@ -203,7 +230,21 @@ use \common\libs\MyLib;