| | |
| | | success: function (res) { |
| | | layer.closeAll(); |
| | | if (res.code === 200){ |
| | | tableReload(false); |
| | | $(".layui-laypage-btn")[0].click(); |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/"; |
| | | }else { |
| | |
| | | type: 2, |
| | | title: '新增', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | area: ['40%', top.detailHeight], |
| | | shadeClose: false, |
| | | content: 'staDesc_detail.html', |
| | | success: function(layero, index){ |
| | |
| | | type: 2, |
| | | title: '修改', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | area: ['40%', top.detailHeight], |
| | | shadeClose: false, |
| | | content: 'staDesc_detail.html', |
| | | success: function(layero, index){ |