              layer.ready(function(){
                        element.init();
                    });
                    layer.open({
                        type:'1',
                        title:'添加附件',
                        area:['800px','600px'],
                        id:'uploadAttach',//配置ID,
                        content:$('#upload-attach'),
                        success: function(layero, index){
                            layer.load(1);
                            $.post('{% ur