|
@@ -46,6 +46,18 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
/*hidden:function(row){
|
|
|
return row.status==100 ? false : false;
|
|
|
}*/
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name:'updatevip',
|
|
|
+ text:'充值vip会员',
|
|
|
+ title:'充值vip会员',
|
|
|
+ icon:'fa fa-exclamation-circle',
|
|
|
+ classname:'btn btn-xs btn-info btn-dialog',
|
|
|
+ url:'userwallet/updatevip/id/{ids}?dialog=1',
|
|
|
+ target:'_self',
|
|
|
+ /*hidden:function(row){
|
|
|
+ return row.status==100 ? false : false;
|
|
|
+ }*/
|
|
|
}
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
@@ -65,6 +77,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
updatemoney: function () {
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
+ updatevip: function () {
|
|
|
+ Controller.api.bindevent();
|
|
|
+ },
|
|
|
api: {
|
|
|
bindevent: function () {
|
|
|
Form.api.bindevent($("form[role=form]"));
|