'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'液壓升降舞臺的設計【全套cad圖紙和論文畢業(yè)資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A2半圓盤.dwg (60KB)', click:'getBookinfo(8335123)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A2導向套.dwg (86KB)', click:'getBookinfo(8335124)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2接頭.dwg (52KB)', click:'getBookinfo(8335125)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2支撐盤.dwg (73KB)', click:'getBookinfo(8335126)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2樣板.dwg (55KB)', click:'getBookinfo(8335127)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2缸體.dwg (58KB)', click:'getBookinfo(8335128)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2缸底.dwg (70KB)', click:'getBookinfo(8335129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A2缸筒.dwg (70KB)', click:'getBookinfo(8335130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'中期檢查表.doc (33KB)', click:'getBookinfo(8335131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'修改過的畢業(yè)設計說明書.doc (1524KB)', click:'getBookinfo(8335132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'摘 要.doc (21KB)', click:'getBookinfo(8335133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'英語論文.doc (55KB)', click:'getBookinfo(8335134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'英語論文翻譯.doc (45KB)', click:'getBookinfo(8335135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'配油盤.dwg (56KB)', click:'getBookinfo(8335136)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'液壓升降舞臺的設計【全套cad圖紙和論文畢業(yè)資料】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A2半圓盤.dwg',url:'http://m.facezit.com/p-8335123.html', target:'_blank' },{ id:'00002', pId:'1', name:'A2導向套.dwg',url:'http://m.facezit.com/p-8335124.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2接頭.dwg',url:'http://m.facezit.com/p-8335125.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2支撐盤.dwg',url:'http://m.facezit.com/p-8335126.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2樣板.dwg',url:'http://m.facezit.com/p-8335127.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2缸體.dwg',url:'http://m.facezit.com/p-8335128.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2缸底.dwg',url:'http://m.facezit.com/p-8335129.html', target:'_blank' },{ id:'00008', pId:'1', name:'A2缸筒.dwg',url:'http://m.facezit.com/p-8335130.html', target:'_blank' },{ id:'00009', pId:'1', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8335131.html', target:'_blank' },{ id:'00010', pId:'1', name:'修改過的畢業(yè)設計說明書.doc',url:'http://m.facezit.com/p-8335132.html', target:'_blank' },{ id:'00011', pId:'1', name:'摘 要.doc',url:'http://m.facezit.com/p-8335133.html', target:'_blank' },{ id:'00012', pId:'1', name:'英語論文.doc',url:'http://m.facezit.com/p-8335134.html', target:'_blank' },{ id:'00013', pId:'1', name:'英語論文翻譯.doc',url:'http://m.facezit.com/p-8335135.html', target:'_blank' },{ id:'00014', pId:'1', name:'配油盤.dwg',url:'http://m.facezit.com/p-8335136.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 = '6792594'; 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; }); });