'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ngw行星減速器設計二級減速器【含9張cad圖紙、說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'NGW行星減速器設計說明書.doc (1873KB)', click:'getBookinfo(8671213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'一級太陽輪.dwg (181KB)', click:'getBookinfo(8671214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'一級太陽輪.png (11KB)', click:'getBookinfo(8671215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'一級行星齒輪.dwg (321KB)', click:'getBookinfo(8671216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'一級行星齒輪.png (14KB)', click:'getBookinfo(8671217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'二級太陽輪.dwg (339KB)', click:'getBookinfo(8671218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'二級太陽輪.png (15KB)', click:'getBookinfo(8671219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'二級行星齒輪.dwg (325KB)', click:'getBookinfo(8671220)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'二級行星齒輪.png (12KB)', click:'getBookinfo(8671221)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'左蓋體.dwg (198KB)', click:'getBookinfo(8671222)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'左蓋體.png (14KB)', click:'getBookinfo(8671223)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'摘要.png (49KB)', click:'getBookinfo(8671224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'目錄.png (52KB)', click:'getBookinfo(8671225)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'裝配圖.dwg (237KB)', click:'getBookinfo(8671226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'裝配圖.png (26KB)', click:'getBookinfo(8671227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'輸入軸.dwg (239KB)', click:'getBookinfo(8671228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'輸入軸.png (13KB)', click:'getBookinfo(8671229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'輸出軸.dwg (217KB)', click:'getBookinfo(8671230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'輸出軸.png (11KB)', click:'getBookinfo(8671231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'齒圈.dwg (279KB)', click:'getBookinfo(8671232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'齒圈.png (20KB)', click:'getBookinfo(8671233)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ngw行星減速器設計二級減速器【含9張cad圖紙、說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'NGW行星減速器設計說明書.doc',url:'http://canyonlakefaqs.com/p-8671213.html', target:'_blank' },{ id:'00002', pId:'1', name:'一級太陽輪.dwg',url:'http://canyonlakefaqs.com/p-8671214.html', target:'_blank' },{ id:'00003', pId:'1', name:'一級太陽輪.png',url:'http://canyonlakefaqs.com/p-8671215.html', target:'_blank' },{ id:'00004', pId:'1', name:'一級行星齒輪.dwg',url:'http://canyonlakefaqs.com/p-8671216.html', target:'_blank' },{ id:'00005', pId:'1', name:'一級行星齒輪.png',url:'http://canyonlakefaqs.com/p-8671217.html', target:'_blank' },{ id:'00006', pId:'1', name:'二級太陽輪.dwg',url:'http://canyonlakefaqs.com/p-8671218.html', target:'_blank' },{ id:'00007', pId:'1', name:'二級太陽輪.png',url:'http://canyonlakefaqs.com/p-8671219.html', target:'_blank' },{ id:'00008', pId:'1', name:'二級行星齒輪.dwg',url:'http://canyonlakefaqs.com/p-8671220.html', target:'_blank' },{ id:'00009', pId:'1', name:'二級行星齒輪.png',url:'http://canyonlakefaqs.com/p-8671221.html', target:'_blank' },{ id:'00010', pId:'1', name:'左蓋體.dwg',url:'http://canyonlakefaqs.com/p-8671222.html', target:'_blank' },{ id:'00011', pId:'1', name:'左蓋體.png',url:'http://canyonlakefaqs.com/p-8671223.html', target:'_blank' },{ id:'00012', pId:'1', name:'摘要.png',url:'http://canyonlakefaqs.com/p-8671224.html', target:'_blank' },{ id:'00013', pId:'1', name:'目錄.png',url:'http://canyonlakefaqs.com/p-8671225.html', target:'_blank' },{ id:'00014', pId:'1', name:'裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8671226.html', target:'_blank' },{ id:'00015', pId:'1', name:'裝配圖.png',url:'http://canyonlakefaqs.com/p-8671227.html', target:'_blank' },{ id:'00016', pId:'1', name:'輸入軸.dwg',url:'http://canyonlakefaqs.com/p-8671228.html', target:'_blank' },{ id:'00017', pId:'1', name:'輸入軸.png',url:'http://canyonlakefaqs.com/p-8671229.html', target:'_blank' },{ id:'00018', pId:'1', name:'輸出軸.dwg',url:'http://canyonlakefaqs.com/p-8671230.html', target:'_blank' },{ id:'00019', pId:'1', name:'輸出軸.png',url:'http://canyonlakefaqs.com/p-8671231.html', target:'_blank' },{ id:'00020', pId:'1', name:'齒圈.dwg',url:'http://canyonlakefaqs.com/p-8671232.html', target:'_blank' },{ id:'00021', pId:'1', name:'齒圈.png',url:'http://canyonlakefaqs.com/p-8671233.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 = '7249764'; 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; }); });