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;