- 当前页面刷新
{
field: 'operate',
title: __('Operate'),
table: table,
events: Table.api.events.operate,
buttons: [{
name: '重新审核',
text: __('重新审核'),
classname: 'btn btn-warning btn-xs btn-detail btn-ajax',
url: 'integral/ajax_status',
success: function (data,rest) {
Fast.api.close(data);
window.parent.location.reload();
table.bootstrapTable('refresh', {});
return true;
}
}
],
formatter: Table.api.formatter.operate
}
- 弹出层关闭刷新父级页面
//在index 中关闭弹出层的时候 刷新父级页面
index: function () {
parent.window.$(".layui-layer-iframe").find(".layui-layer-close").on("click",function (data) {
window.parent.location.reload();
});
},
查看更多