'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'手提往復(fù)式綠籬修剪機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中文摘要.doc (29KB)', click:'getBookinfo(8352210)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'減速機(jī)構(gòu)部裝圖-A2.dwg (97KB)', click:'getBookinfo(8352211)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'動刀片零件圖-A2.dwg (94KB)', click:'getBookinfo(8352212)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'外文摘要.doc (30KB)', click:'getBookinfo(8352213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'大齒輪零件圖-A3.dwg (87KB)', click:'getBookinfo(8352214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'定刀片零件圖-A2.dwg (97KB)', click:'getBookinfo(8352215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'手提往復(fù)式綠籬修剪機(jī)設(shè)計開題報告.doc (49KB)', click:'getBookinfo(8352216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'文獻(xiàn)綜述.doc (53KB)', click:'getBookinfo(8352217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'蓋板零件圖-A2.dwg (77KB)', click:'getBookinfo(8352218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'綠籬修剪機(jī)總裝圖-A0.dwg (153KB)', click:'getBookinfo(8352219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'設(shè)計封面.doc (298KB)', click:'getBookinfo(8352220)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'選題審批表.doc (30KB)', click:'getBookinfo(8352221)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'驅(qū)動機(jī)構(gòu)部裝圖-A1.dwg (114KB)', click:'getBookinfo(8352222)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'手提往復(fù)式綠籬修剪機(jī)設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中文摘要.doc',url:'http://m.facezit.com/p-8352210.html', target:'_blank' },{ id:'00002', pId:'1', name:'減速機(jī)構(gòu)部裝圖-A2.dwg',url:'http://m.facezit.com/p-8352211.html', target:'_blank' },{ id:'00003', pId:'1', name:'動刀片零件圖-A2.dwg',url:'http://m.facezit.com/p-8352212.html', target:'_blank' },{ id:'00004', pId:'1', name:'外文摘要.doc',url:'http://m.facezit.com/p-8352213.html', target:'_blank' },{ id:'00005', pId:'1', name:'大齒輪零件圖-A3.dwg',url:'http://m.facezit.com/p-8352214.html', target:'_blank' },{ id:'00006', pId:'1', name:'定刀片零件圖-A2.dwg',url:'http://m.facezit.com/p-8352215.html', target:'_blank' },{ id:'00007', pId:'1', name:'手提往復(fù)式綠籬修剪機(jī)設(shè)計開題報告.doc',url:'http://m.facezit.com/p-8352216.html', target:'_blank' },{ id:'00008', pId:'1', name:'文獻(xiàn)綜述.doc',url:'http://m.facezit.com/p-8352217.html', target:'_blank' },{ id:'00009', pId:'1', name:'蓋板零件圖-A2.dwg',url:'http://m.facezit.com/p-8352218.html', target:'_blank' },{ id:'00010', pId:'1', name:'綠籬修剪機(jī)總裝圖-A0.dwg',url:'http://m.facezit.com/p-8352219.html', target:'_blank' },{ id:'00011', pId:'1', name:'設(shè)計封面.doc',url:'http://m.facezit.com/p-8352220.html', target:'_blank' },{ id:'00012', pId:'1', name:'選題審批表.doc',url:'http://m.facezit.com/p-8352221.html', target:'_blank' },{ id:'00013', pId:'1', name:'驅(qū)動機(jī)構(gòu)部裝圖-A1.dwg',url:'http://m.facezit.com/p-8352222.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 = '7835887'; 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; }); });