|
@@ -130,6 +130,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
url:'agent/user_shouyi/authuid/{ids}?dialog=1',
|
|
|
target:'_self',
|
|
|
},
|
|
|
+ {
|
|
|
+ name:'agent_rate',
|
|
|
+ text:'代理比例',
|
|
|
+ title:'代理比例',
|
|
|
+ icon:'fa fa-exclamation-circle',
|
|
|
+ classname:'btn btn-xs btn-info btn-dialog',
|
|
|
+ url:'agent/agent_rate/id/{ids}?dialog=1',
|
|
|
+ hidden:function(row){
|
|
|
+ if(row.group_id == 3){
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ },
|
|
|
+ target:'_self',
|
|
|
+ },
|
|
|
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
@@ -149,6 +164,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
updateagentjewel: function () {
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
+ useragentjewellog: function () {
|
|
|
+ Controller.api.bindevent();
|
|
|
+ },
|
|
|
ribao: function () {
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
@@ -158,6 +176,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
user_shouyi: function () {
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
+ agent_rate: function () {
|
|
|
+ Controller.api.bindevent();
|
|
|
+ },
|
|
|
api: {
|
|
|
bindevent: function () {
|
|
|
Form.api.bindevent($("form[role=form]"));
|