'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'自動晾衣架設計伸縮式【11張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含3個文件)', },{ id:'0000100001', pId:'00001', name:'單片集成MEMS技術.doc (37KB)', click:'getBookinfo(8336987)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'英.doc (50KB)', click:'getBookinfo(8336988)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'英中.doc (79KB)', click:'getBookinfo(8336989)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'任務書.doc (19KB)', click:'getBookinfo(8336990)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'全套CAD圖紙11張.dwg (640KB)', click:'getBookinfo(8336991)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'減速器裝配圖.dwg (250KB)', click:'getBookinfo(8336992)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'剪叉臂.dwg (203KB)', click:'getBookinfo(8336993)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'渦輪軸.dwg (212KB)', click:'getBookinfo(8336994)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'箱體零件圖.dwg (224KB)', click:'getBookinfo(8336995)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'菱形架銷軸.dwg (204KB)', click:'getBookinfo(8336996)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'蝸桿軸.dwg (213KB)', click:'getBookinfo(8336997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'蝸桿軸端蓋(透).dwg (207KB)', click:'getBookinfo(8336998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'蝸桿軸端蓋(悶).dwg (208KB)', click:'getBookinfo(8336999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'蝸輪.dwg (214KB)', click:'getBookinfo(8337000)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'蝸輪軸端蓋(透).dwg (207KB)', click:'getBookinfo(8337001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'裝配圖.dwg (497KB)', click:'getBookinfo(8337002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'設計說明書.doc (3088KB)', click:'getBookinfo(8337003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'說明書.doc (3082KB)', click:'getBookinfo(8337004)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'自動晾衣架設計伸縮式【11張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'單片集成MEMS技術.doc',url:'http://canyonlakefaqs.com/p-8336987.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'英.doc',url:'http://canyonlakefaqs.com/p-8336988.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'英中.doc',url:'http://canyonlakefaqs.com/p-8336989.html', target:'_blank' },{ id:'00002', pId:'1', name:'任務書.doc',url:'http://canyonlakefaqs.com/p-8336990.html', target:'_blank' },{ id:'00003', pId:'1', name:'全套CAD圖紙11張.dwg',url:'http://canyonlakefaqs.com/p-8336991.html', target:'_blank' },{ id:'00004', pId:'1', name:'減速器裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8336992.html', target:'_blank' },{ id:'00005', pId:'1', name:'剪叉臂.dwg',url:'http://canyonlakefaqs.com/p-8336993.html', target:'_blank' },{ id:'00006', pId:'1', name:'渦輪軸.dwg',url:'http://canyonlakefaqs.com/p-8336994.html', target:'_blank' },{ id:'00007', pId:'1', name:'箱體零件圖.dwg',url:'http://canyonlakefaqs.com/p-8336995.html', target:'_blank' },{ id:'00008', pId:'1', name:'菱形架銷軸.dwg',url:'http://canyonlakefaqs.com/p-8336996.html', target:'_blank' },{ id:'00009', pId:'1', name:'蝸桿軸.dwg',url:'http://canyonlakefaqs.com/p-8336997.html', target:'_blank' },{ id:'00010', pId:'1', name:'蝸桿軸端蓋(透).dwg',url:'http://canyonlakefaqs.com/p-8336998.html', target:'_blank' },{ id:'00011', pId:'1', name:'蝸桿軸端蓋(悶).dwg',url:'http://canyonlakefaqs.com/p-8336999.html', target:'_blank' },{ id:'00012', pId:'1', name:'蝸輪.dwg',url:'http://canyonlakefaqs.com/p-8337000.html', target:'_blank' },{ id:'00013', pId:'1', name:'蝸輪軸端蓋(透).dwg',url:'http://canyonlakefaqs.com/p-8337001.html', target:'_blank' },{ id:'00014', pId:'1', name:'裝配圖.dwg',url:'http://canyonlakefaqs.com/p-8337002.html', target:'_blank' },{ id:'00015', pId:'1', name:'設計說明書.doc',url:'http://canyonlakefaqs.com/p-8337003.html', target:'_blank' },{ id:'00016', pId:'1', name:'說明書.doc',url:'http://canyonlakefaqs.com/p-8337004.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 = '6792928'; 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; }); });