);
                            }
                        });
                    });
                    break;
                case 'cleanup':
                    layer.confirm('确定清空吗？', function (index) {
                        var loading = layer.load(1, {
                            shade: [0.1, '#fff'] //0.1透明度的白色背景
                        });
                        admin.req({
                            type: 'delete',
                            url: ctxPath + 'monitor-