var unitid=$('#unitid').val();
return '<div class="btn-group"><button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">' +
' <i class="ti-settings"></i> <span class="ti-angle-down"></span></button><ul class="dropdown-menu" role="menu">' +
'<li><a href="${base}/platform/sys/role/menu/' + row.id + '" data-toggle="modal" data-target="#dialogDetail">查看权限</a></li>' +
'<li class="divider"></li>' +
'<li><a href="${base}/platform/sys/role/editMenu/' + row.id + '" data-pjax>分配权限</a></li>' +
'<li><a href="${base}/platform/sys/role/editUser/' + row.id + " data-pjax>分配用户</a></li>' + //我想在这传两个参数怎么传 ???unitid
'<li><a href="${base}/platform/sys/role/edit/' + row.id + '" data-pjax>修改信息</a></li>' +
'<li class="divider"></li>' +
'<li><a href="javascript:;" onclick="del(\'' + row.id + '\')">删除</a></li>' +
'<li class="divider"></li>' +
'<li><a href="javascript:;" onclick="enableRole(\'' + row.id + '\')">启用</a></li>' +
'<li><a href="javascript:;" onclick="disableRole(\'' + row.id + '\')">禁用</a></li>' +
'</ul></div>';
},
@At("/editUser/?")
@Ok("beetl:/platform/sys/role/editUser.html")
@RequiresPermissions("sys.manager.role")
public Object editUser(String roleId,String unitid, HttpServletRequest req) {
return roleService.fetch(roleId);
}