'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'831005撥叉銑撥叉上端面夾具設計三維圖.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'proe格式 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'hex_head_bolts-full_-1628362334.prt.1 (316KB)', },{ id:'0000100002', pId:'00001', name:'hex_head_bolts-full_thread_grad.prt.1 (317KB)', },{ id:'0000100003', pId:'00001', name:'hex_lobular_socket_head_cap_scr.prt.1 (228KB)', },{ id:'0000100004', pId:'00001', name:'hex_thin_nuts-grades_b--unchamf.prt.1 (104KB)', },{ id:'0000100005', pId:'00001', name:'parallel_pins_hardening_steel_g.prt.1 (161KB)', },{ id:'0000100006', pId:'00001', name:'slotted_set_screws_with_cup_poi.prt.1 (160KB)', },{ id:'0000100007', pId:'00001', name:'__.prt.1 (259KB)', },{ id:'0000100008', pId:'00001', name:'__831005.prt.1 (554KB)', },{ id:'0000100009', pId:'00001', name:'__v__.prt.1 (53KB)', },{ id:'0000100010', pId:'00001', name:'___.prt.1 (415KB)', },{ id:'0000100011', pId:'00001', name:'___1.prt.1 (353KB)', },{ id:'0000100012', pId:'00001', name:'___2.prt.1 (283KB)', },{ id:'0000100013', pId:'00001', name:'___m10.prt.1 (8608KB)', },{ id:'0000100014', pId:'00001', name:'___v__.prt.1 (310KB)', },{ id:'0000100015', pId:'00001', name:'____1.prt.1 (1249KB)', },{ id:'0000100016', pId:'00001', name:'____2.prt.1 (151KB)', },{ id:'0000100017', pId:'00001', name:'____22222.asm.1 (50KB)', },{ id:'0000100018', pId:'00001', name:'____3.prt.1 (151KB)', },{ id:'0000100019', pId:'00001', name:'____4.prt.1 (222KB)', },{ id:'00002', pId:'1', name:'sw2014格式 (包含13個文件)', },{ id:'0000200001', pId:'00002', name:'固定長V型塊.SLDPRT (489KB)', },{ id:'0000200002', pId:'00002', name:'塞尺.SLDPRT (134KB)', },{ id:'0000200003', pId:'00002', name:'夾具體.SLDPRT (1477KB)', },{ id:'0000200004', pId:'00002', name:'夾具設計.SLDASM (2031KB)', },{ id:'0000200005', pId:'00002', name:'夾緊套.SLDPRT (419KB)', },{ id:'0000200006', pId:'00002', name:'定位鍵.SLDPRT (193KB)', },{ id:'0000200007', pId:'00002', name:'對刀塊.SLDPRT (156KB)', },{ id:'0000200008', pId:'00002', name:'對刀桿.SLDPRT (201KB)', },{ id:'0000200009', pId:'00002', name:'手柄.SLDPRT (293KB)', },{ id:'0000200010', pId:'00002', name:'撥叉831005.SLDPRT (483KB)', },{ id:'0000200011', pId:'00002', name:'支撐釘M10.SLDPRT (3779KB)', },{ id:'0000200012', pId:'00002', name:'滑動V型塊.SLDPRT (302KB)', },{ id:'0000200013', pId:'00002', name:'螺母.SLDPRT (300KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'831005撥叉銑撥叉上端面夾具設計三維圖.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 = '6906708'; 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("請選擇投訴類型或者數據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });