'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'5軸機床設(shè)計模型.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'5軸機床設(shè)計模型 (包含59個文件)', },{ id:'0000100001', pId:'00001', name:'5軸.SLDASM (1406KB)', },{ id:'0000100002', pId:'00001', name:'_X2_4E948F74_X0_.1.sldprt (59KB)', },{ id:'0000100003', pId:'00001', name:'_X2_4E948F74_X0_.10.sldprt (59KB)', },{ id:'0000100004', pId:'00001', name:'_X2_4E948F74_X0_.11.sldprt (59KB)', },{ id:'0000100005', pId:'00001', name:'_X2_4E948F74_X0_.12.sldprt (59KB)', },{ id:'0000100006', pId:'00001', name:'_X2_4E948F74_X0_.13.sldprt (59KB)', },{ id:'0000100007', pId:'00001', name:'_X2_4E948F74_X0_.14.sldprt (59KB)', },{ id:'0000100008', pId:'00001', name:'_X2_4E948F74_X0_.15.sldprt (59KB)', },{ id:'0000100009', pId:'00001', name:'_X2_4E948F74_X0_.16.sldprt (59KB)', },{ id:'0000100010', pId:'00001', name:'_X2_4E948F74_X0_.17.sldprt (59KB)', },{ id:'0000100011', pId:'00001', name:'_X2_4E948F74_X0_.18.sldprt (59KB)', },{ id:'0000100012', pId:'00001', name:'_X2_4E948F74_X0_.19.sldprt (59KB)', },{ id:'0000100013', pId:'00001', name:'_X2_4E948F74_X0_.2.sldprt (58KB)', },{ id:'0000100014', pId:'00001', name:'_X2_4E948F74_X0_.20.sldprt (59KB)', },{ id:'0000100015', pId:'00001', name:'_X2_4E948F74_X0_.21.sldprt (59KB)', },{ id:'0000100016', pId:'00001', name:'_X2_4E948F74_X0_.22.sldprt (59KB)', },{ id:'0000100017', pId:'00001', name:'_X2_4E948F74_X0_.23.sldprt (59KB)', },{ id:'0000100018', pId:'00001', name:'_X2_4E948F74_X0_.24.sldprt (59KB)', },{ id:'0000100019', pId:'00001', name:'_X2_4E948F74_X0_.25.sldprt (59KB)', },{ id:'0000100020', pId:'00001', name:'_X2_4E948F74_X0_.26.sldprt (59KB)', },{ id:'0000100021', pId:'00001', name:'_X2_4E948F74_X0_.27.sldprt (59KB)', },{ id:'0000100022', pId:'00001', name:'_X2_4E948F74_X0_.28.sldprt (59KB)', },{ id:'0000100023', pId:'00001', name:'_X2_4E948F74_X0_.29.sldprt (59KB)', },{ id:'0000100024', pId:'00001', name:'_X2_4E948F74_X0_.3.sldprt (59KB)', },{ id:'0000100025', pId:'00001', name:'_X2_4E948F74_X0_.30.sldprt (59KB)', },{ id:'0000100026', pId:'00001', name:'_X2_4E948F74_X0_.31.sldprt (59KB)', },{ id:'0000100027', pId:'00001', name:'_X2_4E948F74_X0_.32.sldprt (59KB)', },{ id:'0000100028', pId:'00001', name:'_X2_4E948F74_X0_.33.sldprt (59KB)', },{ id:'0000100029', pId:'00001', name:'_X2_4E948F74_X0_.34.sldprt (59KB)', },{ id:'0000100030', pId:'00001', name:'_X2_4E948F74_X0_.35.sldprt (59KB)', },{ id:'0000100031', pId:'00001', name:'_X2_4E948F74_X0_.36.sldprt (59KB)', },{ id:'0000100032', pId:'00001', name:'_X2_4E948F74_X0_.37.sldprt (59KB)', },{ id:'0000100033', pId:'00001', name:'_X2_4E948F74_X0_.38.sldprt (59KB)', },{ id:'0000100034', pId:'00001', name:'_X2_4E948F74_X0_.39.sldprt (59KB)', },{ id:'0000100035', pId:'00001', name:'_X2_4E948F74_X0_.4.sldprt (59KB)', },{ id:'0000100036', pId:'00001', name:'_X2_4E948F74_X0_.40.sldprt (59KB)', },{ id:'0000100037', pId:'00001', name:'_X2_4E948F74_X0_.41.sldprt (59KB)', },{ id:'0000100038', pId:'00001', name:'_X2_4E948F74_X0_.42.sldprt (59KB)', },{ id:'0000100039', pId:'00001', name:'_X2_4E948F74_X0_.43.sldprt (59KB)', },{ id:'0000100040', pId:'00001', name:'_X2_4E948F74_X0_.44.sldprt (59KB)', },{ id:'0000100041', pId:'00001', name:'_X2_4E948F74_X0_.45.sldprt (59KB)', },{ id:'0000100042', pId:'00001', name:'_X2_4E948F74_X0_.46.001.sldprt (55KB)', },{ id:'0000100043', pId:'00001', name:'_X2_4E948F74_X0_.46.002.sldprt (53KB)', },{ id:'0000100044', pId:'00001', name:'_X2_4E948F74_X0_.46.003.sldprt (55KB)', },{ id:'0000100045', pId:'00001', name:'_X2_4E948F74_X0_.46.004.sldprt (53KB)', },{ id:'0000100046', pId:'00001', name:'_X2_4E948F74_X0_.46.005.sldprt (57KB)', },{ id:'0000100047', pId:'00001', name:'_X2_4E948F74_X0_.46.006.sldprt (57KB)', },{ id:'0000100048', pId:'00001', name:'_X2_4E948F74_X0_.46.007.sldprt (55KB)', },{ id:'0000100049', pId:'00001', name:'_X2_4E948F74_X0_.46.008.sldprt (58KB)', },{ id:'0000100050', pId:'00001', name:'_X2_4E948F74_X0_.46.009.sldprt (69KB)', },{ id:'0000100051', pId:'00001', name:'_X2_4E948F74_X0_.46.010.sldprt (65KB)', },{ id:'0000100052', pId:'00001', name:'_X2_4E948F74_X0_.46.011.sldprt (2693KB)', },{ id:'0000100053', pId:'00001', name:'_X2_4E948F74_X0_.46.sldprt (476KB)', },{ id:'0000100054', pId:'00001', name:'_X2_4E948F74_X0_.5.sldprt (59KB)', },{ id:'0000100055', pId:'00001', name:'_X2_4E948F74_X0_.6.sldprt (59KB)', },{ id:'0000100056', pId:'00001', name:'_X2_4E948F74_X0_.7.sldprt (59KB)', },{ id:'0000100057', pId:'00001', name:'_X2_4E948F74_X0_.8.sldprt (59KB)', },{ id:'0000100058', pId:'00001', name:'_X2_4E948F74_X0_.9.sldprt (59KB)', },{ id:'0000100059', pId:'00001', name:'_X2_4E948F74_X0_.sldprt (81KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'5軸機床設(shè)計模型.zip', open:true, icon:'/Images/filetype/RAR16.PNG'}]; $(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 = '3729756'; 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; }); });