'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'食品攪拌機果汁機料理機三維圖紙模型3d.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1.sldasm (32KB)', },{ id:'00002', pId:'1', name:'10.sldprt (472KB)', },{ id:'00003', pId:'1', name:'11_stp.sldprt (62KB)', },{ id:'00004', pId:'1', name:'12.2.sldprt (54KB)', },{ id:'00005', pId:'1', name:'12.sldprt (130KB)', },{ id:'00006', pId:'1', name:'13.gummilist.sldprt (76KB)', },{ id:'00007', pId:'1', name:'13ovrekniv.sldprt (120KB)', },{ id:'00008', pId:'1', name:'13_MODEL.sldasm (32KB)', },{ id:'00009', pId:'1', name:'13_MODEL.sldprt (118KB)', },{ id:'00010', pId:'1', name:'14.sldprt (62KB)', },{ id:'00011', pId:'1', name:'15.sldprt (55KB)', },{ id:'00012', pId:'1', name:'16.sldprt (230KB)', },{ id:'00013', pId:'1', name:'17.sldprt (65KB)', },{ id:'00014', pId:'1', name:'18.sldprt (61KB)', },{ id:'00015', pId:'1', name:'19.sldprt (450KB)', },{ id:'00016', pId:'1', name:'2.sldprt (138KB)', },{ id:'00017', pId:'1', name:'20.sldprt (88KB)', },{ id:'00018', pId:'1', name:'21.sldprt (111KB)', },{ id:'00019', pId:'1', name:'21nedre.sldprt (93KB)', },{ id:'00020', pId:'1', name:'22.sldprt (155KB)', },{ id:'00021', pId:'1', name:'23_stp.sldprt (53KB)', },{ id:'00022', pId:'1', name:'24.sldprt (58KB)', },{ id:'00023', pId:'1', name:'26.sldprt (3300KB)', },{ id:'00024', pId:'1', name:'27_stp.sldprt (102KB)', },{ id:'00025', pId:'1', name:'28.sldprt (220KB)', },{ id:'00026', pId:'1', name:'29.sldprt (212KB)', },{ id:'00027', pId:'1', name:'3.sldprt (60KB)', },{ id:'00028', pId:'1', name:'30.sldprt (113KB)', },{ id:'00029', pId:'1', name:'5.sldprt (89KB)', },{ id:'00030', pId:'1', name:'6.sldprt (101KB)', },{ id:'00031', pId:'1', name:'7.sldprt (149KB)', },{ id:'00032', pId:'1', name:'7lampa.sldprt (155KB)', },{ id:'00033', pId:'1', name:'8.1.1.sldprt (59KB)', },{ id:'00034', pId:'1', name:'8.1.sldprt (70KB)', },{ id:'00035', pId:'1', name:'8.sldprt (82KB)', },{ id:'00036', pId:'1', name:'9ny.sldprt (276KB)', },{ id:'00037', pId:'1', name:'assembly11-17.sldasm (34KB)', },{ id:'00038', pId:'1', name:'assembly6-10.sldasm (35KB)', },{ id:'00039', pId:'1', name:'assembly_1-3.sldasm (33KB)', },{ id:'00040', pId:'1', name:'assembly_18-25.sldasm (36KB)', },{ id:'00041', pId:'1', name:'Assembly_26-30.sldasm (33KB)', },{ id:'00042', pId:'1', name:'Assembly_mixer.SLDASM (14063KB)', },{ id:'00043', pId:'1', name:'Assembly_mixer.STEP (43293KB)', },{ id:'00044', pId:'1', name:'Assembly_mixer.stp (18418KB)', },{ id:'00045', pId:'1', name:'botten.sldprt (477KB)', },{ id:'00046', pId:'1', name:'gummistod_stp.sldprt (57KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'食品攪拌機果汁機料理機三維圖紙模型3d.rar', 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 = '6793146'; 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; }); });