|
@@ -86,7 +86,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'jstree'], function (
|
|
|
text:'选择用户',
|
|
|
title:'选择用户',
|
|
|
icon:'fa fa-exclamation-circle',
|
|
|
- classname:'btn btn-xs btn-info btn-dialog',
|
|
|
+ classname:'btn btn-xs btn-info btn-dialog btn-selectuser',
|
|
|
url:'trainactive/selectuser/id/{ids}?dialog=1',
|
|
|
target:'_self',
|
|
|
},
|
|
@@ -120,7 +120,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'jstree'], function (
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ onLoadSuccess:function(){
|
|
|
+ // 这里就是数据渲染结束后的回调函数
|
|
|
+ $(".btn-selectuser").data("area", ['80%','80%']);
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
// 为表格绑定事件
|