|
@@ -39,33 +39,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
text: '赠送列表',
|
|
|
title: '赠送列表',
|
|
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
|
|
+ url:'recharge_gift/index/config_id/{ids}?dialog=1',
|
|
|
icon: 'fa fa-list',
|
|
|
- url: function (row, column) {
|
|
|
- return "recharge_gift/index?config_id="+row.id;
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- name:'edit',
|
|
|
- text:__('Edit'),
|
|
|
- title:__('Edit'),
|
|
|
- classname: 'btn btn-xs btn-success btn-editone',
|
|
|
- icon: 'fa fa-pencil',
|
|
|
- url: function (row, column) {
|
|
|
- return "recharge_config/edit?ids="+row.id;
|
|
|
- },
|
|
|
- refresh:true
|
|
|
- },
|
|
|
- {
|
|
|
- name:'del',
|
|
|
- text:__('Del'),
|
|
|
- title: __('Del'),
|
|
|
- classname: 'btn btn-xs btn-danger btn-delone',
|
|
|
- icon: 'fa fa-trash',
|
|
|
- url: function (row, column) {
|
|
|
- return "recharge_config/del?ids="+row.id;
|
|
|
- },
|
|
|
- refresh:true
|
|
|
+ target: '_self',
|
|
|
+ extend: 'data-area=["90%","90%"]',
|
|
|
},
|
|
|
+
|
|
|
]
|
|
|
}
|
|
|
]
|