'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b79大型六邊形滾動機構的設計與研究.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B79大型六邊形滾動機構的設計與研究 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'clevis pins with head gb.sldprt (442KB)', },{ id:'0000100002', pId:'00001', name:'split pins.sldprt (248KB)', },{ id:'0000100003', pId:'00001', name:'zzzxxx.SLDPRT (176KB)', },{ id:'0000100004', pId:'00001', name:'右直流電機1.SLDPRT (232KB)', },{ id:'0000100005', pId:'00001', name:'大型六邊形滾動機器人設計與研究設計說明書.doc (1584KB)', click:'getBookinfo(8734683)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'大型六邊形滾動機構CAD圖紙.dwg (122KB)', click:'getBookinfo(8734684)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'大型六邊形滾動機構CAD圖紙.dwl (0KB)', },{ id:'0000100008', pId:'00001', name:'大型六邊形滾動機構總裝圖.IGS (1958KB)', },{ id:'0000100009', pId:'00001', name:'大型六邊形滾動機構總裝圖.SLDASM (586KB)', },{ id:'0000100010', pId:'00001', name:'安裝立柱.dwg (42KB)', click:'getBookinfo(8734685)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'截圖112.png (36KB)', click:'getBookinfo(8734686)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'截圖113.png (96KB)', click:'getBookinfo(8734687)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'截圖114.png (49KB)', click:'getBookinfo(8734688)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'截圖115.png (29KB)', click:'getBookinfo(8734689)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'連桿1.dwg (53KB)', click:'getBookinfo(8734690)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'連桿2.dwg (57KB)', click:'getBookinfo(8734691)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'連桿3.dwg (56KB)', click:'getBookinfo(8734692)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'連桿4.dwg (56KB)', click:'getBookinfo(8734693)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'銷軸.dwg (47KB)', click:'getBookinfo(8734694)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'零件1.SLDPRT (107KB)', },{ id:'0000100021', pId:'00001', name:'零件11.SLDPRT (171KB)', },{ id:'0000100022', pId:'00001', name:'零件11111.11111SLDPRT.SLDPRT (195KB)', },{ id:'0000100023', pId:'00001', name:'零件11111.SLDPRT (165KB)', },{ id:'0000100024', pId:'00001', name:'零件111ccc1.SLDPRT (201KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'b79大型六邊形滾動機構的設計與研究.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100005', pId:'00001', name:'大型六邊形滾動機器人設計與研究設計說明書.doc',url:'http://canyonlakefaqs.com/p-8734683.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'大型六邊形滾動機構CAD圖紙.dwg',url:'http://canyonlakefaqs.com/p-8734684.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'安裝立柱.dwg',url:'http://canyonlakefaqs.com/p-8734685.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'截圖112.png',url:'http://canyonlakefaqs.com/p-8734686.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'截圖113.png',url:'http://canyonlakefaqs.com/p-8734687.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'截圖114.png',url:'http://canyonlakefaqs.com/p-8734688.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'截圖115.png',url:'http://canyonlakefaqs.com/p-8734689.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'連桿1.dwg',url:'http://canyonlakefaqs.com/p-8734690.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'連桿2.dwg',url:'http://canyonlakefaqs.com/p-8734691.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'連桿3.dwg',url:'http://canyonlakefaqs.com/p-8734692.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'連桿4.dwg',url:'http://canyonlakefaqs.com/p-8734693.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'銷軸.dwg',url:'http://canyonlakefaqs.com/p-8734694.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 = '3522064'; 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ù)據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });