From 2860d9209c519532d668dbf357061713cc0913df Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 24 Jun 2026 09:31:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20discount=5Fmarketing=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=98=8E=E7=BB=86tool=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=8C=E5=BC=B9=E7=AA=97=E6=89=93=E5=BC=80discount=5Fdetail?= =?UTF-8?q?=5Flist=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- json/discount_marketing_list.json | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/json/discount_marketing_list.json b/json/discount_marketing_list.json index 33202e7..3e40f20 100644 --- a/json/discount_marketing_list.json +++ b/json/discount_marketing_list.json @@ -27,6 +27,41 @@ "created_at", "updated_at" ], + "toolbar": { + "tools": [ + { + "name": "detail", + "selected_row": true, + "label": "产品明细", + "icon": "{{entire_url('/bricks/imgs/list.svg')}}" + } + ] + }, + "binds": [ + { + "wid": "self", + "event": "detail", + "actiontype": "urlwidget", + "target": "PopupWindow", + "popup_options": { + "title": "折扣产品明细", + "resizable": true, + "height": "70%", + "width": "70%" + }, + "params_mapping": { + "mapping": { + "id": "discountid" + }, + "need_other": false + }, + "options": { + "method": "POST", + "params": {}, + "url": "{{entire_url('../discount_detail_list')}}" + } + } + ], "editable": { "new_data_url": "{{entire_url('../api/marketing_create.dspy')}}", "update_data_url": "{{entire_url('../api/marketing_update.dspy')}}",