'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'振動式螺母輸送機機械結構設計【優(yōu)秀課程畢業(yè)設計含16張cad圖紙】jxsj40.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'側板.dwg (78KB)', click:'getBookinfo(8330190)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'出料槽.dwg (83KB)', click:'getBookinfo(8330191)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'參考文獻資料.ppt (742KB)', click:'getBookinfo(8330192)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00004', pId:'1', name:'總裝備圖.dwg (257KB)', click:'getBookinfo(8330193)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'振動式螺母輸送機機械結構設計.doc (811KB)', click:'getBookinfo(8330194)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'料斗壁.dwg (78KB)', click:'getBookinfo(8330195)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'料斗底.dwg (81KB)', click:'getBookinfo(8330196)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'料斗槽.dwg (92KB)', click:'getBookinfo(8330197)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'板彈簧.dwg (74KB)', click:'getBookinfo(8330198)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'片彈簧.dwg (76KB)', click:'getBookinfo(8330199)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'電磁鐵架.dwg (80KB)', click:'getBookinfo(8330200)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'箱壁.dwg (82KB)', click:'getBookinfo(8330201)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'箱底.dwg (82KB)', click:'getBookinfo(8330202)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'箱蓋.dwg (90KB)', click:'getBookinfo(8330203)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'銜鐵.dwg (76KB)', click:'getBookinfo(8330204)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'銜鐵架.dwg (78KB)', click:'getBookinfo(8330205)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'防磁化鋁片.dwg (74KB)', click:'getBookinfo(8330206)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'防震橡膠座.dwg (72KB)', click:'getBookinfo(8330207)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'振動式螺母輸送機機械結構設計【優(yōu)秀課程畢業(yè)設計含16張cad圖紙】jxsj40.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'側板.dwg',url:'http://m.facezit.com/p-8330190.html', target:'_blank' },{ id:'00002', pId:'1', name:'出料槽.dwg',url:'http://m.facezit.com/p-8330191.html', target:'_blank' },{ id:'00003', pId:'1', name:'參考文獻資料.ppt',url:'http://m.facezit.com/p-8330192.html', target:'_blank' },{ id:'00004', pId:'1', name:'總裝備圖.dwg',url:'http://m.facezit.com/p-8330193.html', target:'_blank' },{ id:'00005', pId:'1', name:'振動式螺母輸送機機械結構設計.doc',url:'http://m.facezit.com/p-8330194.html', target:'_blank' },{ id:'00006', pId:'1', name:'料斗壁.dwg',url:'http://m.facezit.com/p-8330195.html', target:'_blank' },{ id:'00007', pId:'1', name:'料斗底.dwg',url:'http://m.facezit.com/p-8330196.html', target:'_blank' },{ id:'00008', pId:'1', name:'料斗槽.dwg',url:'http://m.facezit.com/p-8330197.html', target:'_blank' },{ id:'00009', pId:'1', name:'板彈簧.dwg',url:'http://m.facezit.com/p-8330198.html', target:'_blank' },{ id:'00010', pId:'1', name:'片彈簧.dwg',url:'http://m.facezit.com/p-8330199.html', target:'_blank' },{ id:'00011', pId:'1', name:'電磁鐵架.dwg',url:'http://m.facezit.com/p-8330200.html', target:'_blank' },{ id:'00012', pId:'1', name:'箱壁.dwg',url:'http://m.facezit.com/p-8330201.html', target:'_blank' },{ id:'00013', pId:'1', name:'箱底.dwg',url:'http://m.facezit.com/p-8330202.html', target:'_blank' },{ id:'00014', pId:'1', name:'箱蓋.dwg',url:'http://m.facezit.com/p-8330203.html', target:'_blank' },{ id:'00015', pId:'1', name:'銜鐵.dwg',url:'http://m.facezit.com/p-8330204.html', target:'_blank' },{ id:'00016', pId:'1', name:'銜鐵架.dwg',url:'http://m.facezit.com/p-8330205.html', target:'_blank' },{ id:'00017', pId:'1', name:'防磁化鋁片.dwg',url:'http://m.facezit.com/p-8330206.html', target:'_blank' },{ id:'00018', pId:'1', name:'防震橡膠座.dwg',url:'http://m.facezit.com/p-8330207.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 = '6792210'; 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; }); });