'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'環(huán)形上升輸送帶.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'HUL sprial (包含34個文件)', },{ id:'0000100001', pId:'00001', name:'1.JPG (147KB)', click:'getBookinfo(8557210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'2.JPG (127KB)', click:'getBookinfo(8557211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'25 mm pin for sprocket.SLDPRT (88KB)', },{ id:'0000100004', pId:'00001', name:'AL frame 2.SLDPRT (1186KB)', },{ id:'0000100005', pId:'00001', name:'AL frame 3.SLDPRT (1172KB)', },{ id:'0000100006', pId:'00001', name:'AL frame 4.SLDPRT (1379KB)', },{ id:'0000100007', pId:'00001', name:'AL frame.SLDPRT (1038KB)', },{ id:'0000100008', pId:'00001', name:'bearing houseing.SLDPRT (99KB)', },{ id:'0000100009', pId:'00001', name:'chain link ASM.SLDASM (56KB)', },{ id:'0000100010', pId:'00001', name:'chain link.PDF (25KB)', click:'getBookinfo(8557212)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100011', pId:'00001', name:'chain link.SLDDRW (97KB)', },{ id:'0000100012', pId:'00001', name:'chain link.SLDPRT (133KB)', },{ id:'0000100013', pId:'00001', name:'drive shaft.SLDPRT (56KB)', },{ id:'0000100014', pId:'00001', name:'ID shaft bolt.SLDPRT (1397KB)', },{ id:'0000100015', pId:'00001', name:'ID shaft.SLDPRT (63KB)', },{ id:'0000100016', pId:'00001', name:'option 1.SLDASM (7669KB)', },{ id:'0000100017', pId:'00001', name:'Part1.SLDPRT (22961KB)', },{ id:'0000100018', pId:'00001', name:'Part2.SLDPRT (46KB)', },{ id:'0000100019', pId:'00001', name:'Part3.SLDPRT (55KB)', },{ id:'0000100020', pId:'00001', name:'Part4.SLDPRT (57KB)', },{ id:'0000100021', pId:'00001', name:'Part5.SLDPRT (68KB)', },{ id:'0000100022', pId:'00001', name:'Part6.SLDPRT (379KB)', },{ id:'0000100023', pId:'00001', name:'Part7.SLDPRT (354KB)', },{ id:'0000100024', pId:'00001', name:'Part8.SLDPRT (180KB)', },{ id:'0000100025', pId:'00001', name:'preview.JPG (306KB)', click:'getBookinfo(8557213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'preview1.JPG (240KB)', click:'getBookinfo(8557214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100027', pId:'00001', name:'preview3.JPG (353KB)', click:'getBookinfo(8557215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100028', pId:'00001', name:'preview456.JPG (364KB)', click:'getBookinfo(8557216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100029', pId:'00001', name:'sprocket 1 of 19.05 mm pitch and 19 teeth for bearing.SLDPRT (169KB)', },{ id:'0000100030', pId:'00001', name:'sprocket 2 of 19.05 mm pitch and 19 teeth for shaft.SLDPRT (164KB)', },{ id:'0000100031', pId:'00001', name:'sprocket 5 of 19.05 mm pitch and 24 teeth for drive roller.SLDPRT (160KB)', },{ id:'0000100032', pId:'00001', name:'~$AL frame 2.SLDPRT (0KB)', },{ id:'0000100033', pId:'00001', name:'~$option 1.SLDASM (0KB)', },{ id:'0000100034', pId:'00001', name:'~$Part1.SLDPRT (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'環(huán)形上升輸送帶.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.JPG',url:'http://m.facezit.com/p-8557210.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'2.JPG',url:'http://m.facezit.com/p-8557211.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'chain link.PDF',url:'http://m.facezit.com/p-8557212.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'preview.JPG',url:'http://m.facezit.com/p-8557213.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'preview1.JPG',url:'http://m.facezit.com/p-8557214.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'preview3.JPG',url:'http://m.facezit.com/p-8557215.html', target:'_blank' },{ id:'0000100028', pId:'00001', name:'preview456.JPG',url:'http://m.facezit.com/p-8557216.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 = '7265275'; 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; }); });