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')}}",