|
@@ -59,16 +59,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
target:'_self',
|
|
|
|
|
|
},
|
|
|
- {
|
|
|
- name:'updatejewel',
|
|
|
- text:'充值钻石',
|
|
|
- title:'充值钻石',
|
|
|
- icon:'fa fa-exclamation-circle',
|
|
|
- classname:'btn btn-xs btn-info btn-dialog',
|
|
|
- url:'userwallet/updatejewel/id/{ids}?dialog=1',
|
|
|
- target:'_self',
|
|
|
|
|
|
- },
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
@@ -90,9 +81,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
updatemoney: function () {
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
- updatejewel: function () {
|
|
|
- Controller.api.bindevent();
|
|
|
- },
|
|
|
+
|
|
|
api: {
|
|
|
bindevent: function () {
|
|
|
Form.api.bindevent($("form[role=form]"));
|