'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓千斤頂設(shè)計及動畫仿真.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'CAD圖紙 (包含8個文件)', },{ id:'0000100001', pId:'00001', name:'前缸蓋.dwg (97KB)', click:'getBookinfo(8603859)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'后缸蓋.dwg (104KB)', click:'getBookinfo(8603860)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'底座.dwg (66KB)', click:'getBookinfo(8603861)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'油壓缸裝配圖2.dwg (111KB)', click:'getBookinfo(8603862)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'活塞桿.dwg (74KB)', click:'getBookinfo(8603863)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'結(jié)構(gòu)圖.dwg (84KB)', click:'getBookinfo(8603864)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'踏板.dwg (68KB)', click:'getBookinfo(8603865)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'隔套.dwg (95KB)', click:'getBookinfo(8603866)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'利用Maplesim完成液壓千斤頂?shù)慕:头抡?avi (495KB)', },{ id:'00003', pId:'1', name:'千斤頂工作原理(PPT).ppt (985KB)', click:'getBookinfo(8603867)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00004', pId:'1', name:'千斤頂工作原理1(PPT).ppt (1106KB)', click:'getBookinfo(8603868)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00005', pId:'1', name:'蔡子喬-開題報告.doc (27KB)', click:'getBookinfo(8603869)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'蔡子喬畢業(yè)設(shè)計(論文)任務(wù)書.doc (33KB)', click:'getBookinfo(8603870)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'設(shè)計說明書.doc (639KB)', click:'getBookinfo(8603871)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓千斤頂設(shè)計及動畫仿真.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'前缸蓋.dwg',url:'http://m.facezit.com/p-8603859.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'后缸蓋.dwg',url:'http://m.facezit.com/p-8603860.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'底座.dwg',url:'http://m.facezit.com/p-8603861.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'油壓缸裝配圖2.dwg',url:'http://m.facezit.com/p-8603862.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'活塞桿.dwg',url:'http://m.facezit.com/p-8603863.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'結(jié)構(gòu)圖.dwg',url:'http://m.facezit.com/p-8603864.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'踏板.dwg',url:'http://m.facezit.com/p-8603865.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'隔套.dwg',url:'http://m.facezit.com/p-8603866.html', target:'_blank' },{ id:'00003', pId:'1', name:'千斤頂工作原理(PPT).ppt',url:'http://m.facezit.com/p-8603867.html', target:'_blank' },{ id:'00004', pId:'1', name:'千斤頂工作原理1(PPT).ppt',url:'http://m.facezit.com/p-8603868.html', target:'_blank' },{ id:'00005', pId:'1', name:'蔡子喬-開題報告.doc',url:'http://m.facezit.com/p-8603869.html', target:'_blank' },{ id:'00006', pId:'1', name:'蔡子喬畢業(yè)設(shè)計(論文)任務(wù)書.doc',url:'http://m.facezit.com/p-8603870.html', target:'_blank' },{ id:'00007', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8603871.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 = '7960767'; 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; }); });