'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'土豆滅茬機的設(shè)計【優(yōu)秀含12張cad圖紙農(nóng)業(yè)用機械全套課程畢業(yè)設(shè)計】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'PDF版二維圖 (包含12個文件)', },{ id:'0000100001', pId:'00001', name:'biansuxiangzhuangpeitu-A2.pdf (262KB)', click:'getBookinfo(8186063)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100002', pId:'00001', name:'dachilun-A4.pdf (71KB)', click:'getBookinfo(8186064)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100003', pId:'00001', name:'dangchazhijiazongcheng-A4.pdf (36KB)', click:'getBookinfo(8186065)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100004', pId:'00001', name:'daojugongchengzhuangpeitu-A4.pdf (41KB)', click:'getBookinfo(8186066)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100005', pId:'00001', name:'niehezhua-A4.pdf (42KB)', click:'getBookinfo(8186067)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100006', pId:'00001', name:'qingchadangbanzongcheng-A4.pdf (27KB)', click:'getBookinfo(8186068)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100007', pId:'00001', name:'shuchuduangai-A4.pdf (59KB)', click:'getBookinfo(8186069)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100008', pId:'00001', name:'shuchuzhou-A4.pdf (40KB)', click:'getBookinfo(8186070)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100009', pId:'00001', name:'tudoumiechajizongzhuangpeitu-A0.pdf (381KB)', click:'getBookinfo(8186071)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100010', pId:'00001', name:'xiangti-A2.pdf (138KB)', click:'getBookinfo(8186072)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100011', pId:'00001', name:'zhaoke-A4.pdf (64KB)', click:'getBookinfo(8186073)', icon:'/Images/filetype/PDF16.PNG'},{ id:'0000100012', pId:'00001', name:'zhouwa-A4.pdf (29KB)', click:'getBookinfo(8186074)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'qingchadangbanzongcheng-A4.dwg (116KB)', click:'getBookinfo(8186075)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'shuchuduangai-A4.dwg (247KB)', click:'getBookinfo(8186076)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'shuchuzhou-A4.dwg (172KB)', click:'getBookinfo(8186077)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'tudoumiechajizongzhuangpeitu-A0.dwg (1597KB)', click:'getBookinfo(8186078)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'xiangti-A2.dwg (585KB)', click:'getBookinfo(8186079)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'zhaoke-A4.dwg (268KB)', click:'getBookinfo(8186080)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'zhouwa-A4.dwg (130KB)', click:'getBookinfo(8186081)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'任務(wù)書.doc (16KB)', click:'getBookinfo(8186082)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'刀具-A4.dwg (177KB)', click:'getBookinfo(8186083)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'變速箱裝配圖-A2.dwg (1168KB)', click:'getBookinfo(8186084)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'大齒輪-A4.dwg (309KB)', click:'getBookinfo(8186085)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'開題報告.doc (21KB)', click:'getBookinfo(8186086)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'擋茬支架總成-A4.dwg (150KB)', click:'getBookinfo(8186087)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'捏合抓-A4.dwg (180KB)', click:'getBookinfo(8186088)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'說明書正文.docx (814KB)', click:'getBookinfo(8186089)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'土豆滅茬機的設(shè)計【優(yōu)秀含12張cad圖紙農(nóng)業(yè)用機械全套課程畢業(yè)設(shè)計】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'biansuxiangzhuangpeitu-A2.pdf',url:'http://m.facezit.com/p-8186063.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'dachilun-A4.pdf',url:'http://m.facezit.com/p-8186064.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'dangchazhijiazongcheng-A4.pdf',url:'http://m.facezit.com/p-8186065.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'daojugongchengzhuangpeitu-A4.pdf',url:'http://m.facezit.com/p-8186066.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'niehezhua-A4.pdf',url:'http://m.facezit.com/p-8186067.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'qingchadangbanzongcheng-A4.pdf',url:'http://m.facezit.com/p-8186068.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'shuchuduangai-A4.pdf',url:'http://m.facezit.com/p-8186069.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'shuchuzhou-A4.pdf',url:'http://m.facezit.com/p-8186070.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'tudoumiechajizongzhuangpeitu-A0.pdf',url:'http://m.facezit.com/p-8186071.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'xiangti-A2.pdf',url:'http://m.facezit.com/p-8186072.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'zhaoke-A4.pdf',url:'http://m.facezit.com/p-8186073.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'zhouwa-A4.pdf',url:'http://m.facezit.com/p-8186074.html', target:'_blank' },{ id:'00002', pId:'1', name:'qingchadangbanzongcheng-A4.dwg',url:'http://m.facezit.com/p-8186075.html', target:'_blank' },{ id:'00003', pId:'1', name:'shuchuduangai-A4.dwg',url:'http://m.facezit.com/p-8186076.html', target:'_blank' },{ id:'00004', pId:'1', name:'shuchuzhou-A4.dwg',url:'http://m.facezit.com/p-8186077.html', target:'_blank' },{ id:'00005', pId:'1', name:'tudoumiechajizongzhuangpeitu-A0.dwg',url:'http://m.facezit.com/p-8186078.html', target:'_blank' },{ id:'00006', pId:'1', name:'xiangti-A2.dwg',url:'http://m.facezit.com/p-8186079.html', target:'_blank' },{ id:'00007', pId:'1', name:'zhaoke-A4.dwg',url:'http://m.facezit.com/p-8186080.html', target:'_blank' },{ id:'00008', pId:'1', name:'zhouwa-A4.dwg',url:'http://m.facezit.com/p-8186081.html', target:'_blank' },{ id:'00009', pId:'1', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8186082.html', target:'_blank' },{ id:'00010', pId:'1', name:'刀具-A4.dwg',url:'http://m.facezit.com/p-8186083.html', target:'_blank' },{ id:'00011', pId:'1', name:'變速箱裝配圖-A2.dwg',url:'http://m.facezit.com/p-8186084.html', target:'_blank' },{ id:'00012', pId:'1', name:'大齒輪-A4.dwg',url:'http://m.facezit.com/p-8186085.html', target:'_blank' },{ id:'00013', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8186086.html', target:'_blank' },{ id:'00014', pId:'1', name:'擋茬支架總成-A4.dwg',url:'http://m.facezit.com/p-8186087.html', target:'_blank' },{ id:'00015', pId:'1', name:'捏合抓-A4.dwg',url:'http://m.facezit.com/p-8186088.html', target:'_blank' },{ id:'00016', pId:'1', name:'說明書正文.docx',url:'http://m.facezit.com/p-8186089.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 = '3530034'; 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; }); });