From b4fe76cb3cc6e93e5e6044cef2720f17433abcfc Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Sun, 22 Jun 2025 18:29:19 +0800 Subject: [PATCH] sth --- .../admin/controller/orders/Auditorder.php | 1 + .../admin/view/orders/auditorder/edit.html | 15 ++++++------ public/assets/js/backend/orders/auditorder.js | 24 +++++++++---------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/application/admin/controller/orders/Auditorder.php b/application/admin/controller/orders/Auditorder.php index 5bb3bda..cc4f678 100644 --- a/application/admin/controller/orders/Auditorder.php +++ b/application/admin/controller/orders/Auditorder.php @@ -111,6 +111,7 @@ class Auditorder extends Backend $order = Order::where('id',$ids)->find(); $this->view->assign('row', $row); $this->view->assign('worker',Worker::where('id',$order->worker_id)->find()); + $this->view->assign('cdnurl', config('upload.cdnurl')); return $this->view->fetch(); } $params = $this->request->post('row/a'); diff --git a/application/admin/view/orders/auditorder/edit.html b/application/admin/view/orders/auditorder/edit.html index 43c1569..802357e 100755 --- a/application/admin/view/orders/auditorder/edit.html +++ b/application/admin/view/orders/auditorder/edit.html @@ -213,17 +213,17 @@
- +
+ {notempty name="worker.images"}
- {if $worker.images} - {foreach name="worker.images|explode=','" item="img"} - - {/foreach} - {/if} + {/volist}
+ {/notempty}
@@ -276,6 +276,7 @@ +