|
@@ -72,11 +72,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
{field: 'operate', title: __('Operate'),
|
|
{field: 'operate', title: __('Operate'),
|
|
buttons:[
|
|
buttons:[
|
|
{
|
|
{
|
|
- name:'updatemoney',
|
|
|
|
|
|
+ name:'updatejewel',
|
|
text:'充值金币',
|
|
text:'充值金币',
|
|
title:'充值金币',
|
|
title:'充值金币',
|
|
icon:'fa fa-exclamation-circle',
|
|
icon:'fa fa-exclamation-circle',
|
|
classname:'btn btn-xs btn-info btn-dialog',
|
|
classname:'btn btn-xs btn-info btn-dialog',
|
|
|
|
+ url:'user/user/updatejewel/user_id/{ids}?dialog=1',
|
|
|
|
+ target:'_self',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name:'updatemoney',
|
|
|
|
+ text:'充值海钻',
|
|
|
|
+ title:'充值海钻',
|
|
|
|
+ icon:'fa fa-exclamation-circle',
|
|
|
|
+ classname:'btn btn-xs btn-info btn-dialog',
|
|
url:'user/user/updatemoney/user_id/{ids}?dialog=1',
|
|
url:'user/user/updatemoney/user_id/{ids}?dialog=1',
|
|
target:'_self',
|
|
target:'_self',
|
|
},
|
|
},
|
|
@@ -96,6 +105,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
edit: function () {
|
|
edit: function () {
|
|
Controller.api.bindevent();
|
|
Controller.api.bindevent();
|
|
},
|
|
},
|
|
|
|
+ updatejewel: function () {
|
|
|
|
+ Controller.api.bindevent();
|
|
|
|
+ },
|
|
updatemoney: function () {
|
|
updatemoney: function () {
|
|
Controller.api.bindevent();
|
|
Controller.api.bindevent();
|
|
},
|
|
},
|