main
kgdxpr 2 years ago
parent a857fc238e
commit 5f05997a97

@ -252,7 +252,7 @@
cols: [[ cols: [[
{ type: 'checkbox', width: "5%" }, { type: 'checkbox', width: "5%" },
{ title: '序号', align: 'center', width: "5%", type: 'numbers' }, { title: '序号', align: 'center', width: "5%", type: 'numbers' },
{ title: '分名称', field: 'group_name', align: 'center' }, { title: '分名称', field: 'group_name', align: 'center' },
{ title: '操作', toolbar: '#group-bar', align: 'center', width: "25%" } { title: '操作', toolbar: '#group-bar', align: 'center', width: "25%" }
]], ]],
skin: 'line', skin: 'line',
@ -332,11 +332,11 @@
renderBureauTable(); renderBureauTable();
} }
function groupTableReload() { window.groupTableReload = function () {
table.reloadData('groupTable', { table.reloadData('groupTable', {
scrollPos: false scrollPos: false
}); });
} }
form.on('submit(publish)', function (data) { form.on('submit(publish)', function (data) {

@ -81,6 +81,7 @@
time: 1000 time: 1000
}, function () { }, function () {
parent.layer.close(parent.layer.getFrameIndex(window.name)); parent.layer.close(parent.layer.getFrameIndex(window.name));
parent.groupTableReload();
}); });
} else { } else {
layer.msg(result.message, { layer.msg(result.message, {

Loading…
Cancel
Save