'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'帶刮板帶式輸送機.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'belt scraper (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'alm.SLDPRT (190KB)', },{ id:'0000100002', pId:'00001', name:'aran.SLDPRT (176KB)', },{ id:'0000100003', pId:'00001', name:'arm.SLDPRT (661KB)', },{ id:'0000100004', pId:'00001', name:'belt scraper 01.jpg (398KB)', click:'getBookinfo(8527793)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'belt scraper 02.jpg (383KB)', click:'getBookinfo(8527794)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'belt scraper 03.jpg (699KB)', click:'getBookinfo(8527795)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'belt scraper.jpg (109KB)', click:'getBookinfo(8527796)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'belt scraper.SLDASM (2670KB)', },{ id:'0000100009', pId:'00001', name:'belt scraper.SLDASM.jpg (458KB)', click:'getBookinfo(8527797)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'blade.SLDPRT (243KB)', },{ id:'0000100011', pId:'00001', name:'bush.SLDPRT (172KB)', },{ id:'0000100012', pId:'00001', name:'contaran.SLDPRT (162KB)', },{ id:'0000100013', pId:'00001', name:'Cotter Pin.SLDPRT (749KB)', },{ id:'0000100014', pId:'00001', name:'high_performance_compression_spring_c02540032100.SLDPRT (982KB)', },{ id:'0000100015', pId:'00001', name:'high_performance_compression_spring_c03760070160.SLDPRT (1304KB)', },{ id:'0000100016', pId:'00001', name:'int.SLDPRT (204KB)', },{ id:'0000100017', pId:'00001', name:'nbush.SLDPRT (148KB)', },{ id:'0000100018', pId:'00001', name:'shaft.SLDPRT (101KB)', },{ id:'0000100019', pId:'00001', name:'shock ring.SLDPRT (188KB)', },{ id:'0000100020', pId:'00001', name:'sopres.SLDPRT (263KB)', },{ id:'0000100021', pId:'00001', name:'spring support.SLDPRT (167KB)', },{ id:'0000100022', pId:'00001', name:'spring.SLDPRT (618KB)', },{ id:'0000100023', pId:'00001', name:'square bolt_1.sldprt (1391KB)', },{ id:'0000100024', pId:'00001', name:'washer.SLDPRT (112KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'帶刮板帶式輸送機.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100004', pId:'00001', name:'belt scraper 01.jpg',url:'http://m.facezit.com/p-8527793.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'belt scraper 02.jpg',url:'http://m.facezit.com/p-8527794.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'belt scraper 03.jpg',url:'http://m.facezit.com/p-8527795.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'belt scraper.jpg',url:'http://m.facezit.com/p-8527796.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'belt scraper.SLDASM.jpg',url:'http://m.facezit.com/p-8527797.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7260816'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });