'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'高效風(fēng)能增速機設(shè)計【9張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文翻譯 (包含2個文件)', },{ id:'0000100001', pId:'00001', name:'基于UG的減速器三維實體模型和運動仿真_英文_.pdf (199KB)', click:'getBookinfo(8582069)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'英文翻譯.doc (253KB)', click:'getBookinfo(8582070)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'22齒齒輪軸.dwg (89KB)', click:'getBookinfo(8582071)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'24齒齒輪軸.dwg (90KB)', click:'getBookinfo(8582072)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'72齒齒輪.dwg (81KB)', click:'getBookinfo(8582073)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'77齒齒輪.dwg (83KB)', click:'getBookinfo(8582074)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'開題報告.doc (49KB)', click:'getBookinfo(8582075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'畢業(yè)論文.doc (1761KB)', click:'getBookinfo(8582076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'畢業(yè)設(shè)計(論文)中期報告.doc (386KB)', click:'getBookinfo(8582077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'行星大齒輪.dwg (111KB)', click:'getBookinfo(8582078)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'行星小齒輪.dwg (107KB)', click:'getBookinfo(8582079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'行星齒輪軸.dwg (87KB)', click:'getBookinfo(8582080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'裝配.dwg (363KB)', click:'getBookinfo(8582081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'裝配圖.dwg (80KB)', click:'getBookinfo(8582082)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'高效風(fēng)能增速機設(shè)計【9張cad圖紙和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'基于UG的減速器三維實體模型和運動仿真_英文_.pdf',url:'http://m.facezit.com/p-8582069.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'英文翻譯.doc',url:'http://m.facezit.com/p-8582070.html', target:'_blank' },{ id:'00002', pId:'1', name:'22齒齒輪軸.dwg',url:'http://m.facezit.com/p-8582071.html', target:'_blank' },{ id:'00003', pId:'1', name:'24齒齒輪軸.dwg',url:'http://m.facezit.com/p-8582072.html', target:'_blank' },{ id:'00004', pId:'1', name:'72齒齒輪.dwg',url:'http://m.facezit.com/p-8582073.html', target:'_blank' },{ id:'00005', pId:'1', name:'77齒齒輪.dwg',url:'http://m.facezit.com/p-8582074.html', target:'_blank' },{ id:'00006', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8582075.html', target:'_blank' },{ id:'00007', pId:'1', name:'畢業(yè)論文.doc',url:'http://m.facezit.com/p-8582076.html', target:'_blank' },{ id:'00008', pId:'1', name:'畢業(yè)設(shè)計(論文)中期報告.doc',url:'http://m.facezit.com/p-8582077.html', target:'_blank' },{ id:'00009', pId:'1', name:'行星大齒輪.dwg',url:'http://m.facezit.com/p-8582078.html', target:'_blank' },{ id:'00010', pId:'1', name:'行星小齒輪.dwg',url:'http://m.facezit.com/p-8582079.html', target:'_blank' },{ id:'00011', pId:'1', name:'行星齒輪軸.dwg',url:'http://m.facezit.com/p-8582080.html', target:'_blank' },{ id:'00012', pId:'1', name:'裝配.dwg',url:'http://m.facezit.com/p-8582081.html', target:'_blank' },{ id:'00013', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8582082.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 = '7268631'; 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; }); });