'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】51828馬力輪式拖拉機變速箱設計全套cad圖說明書翻譯.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'518 28馬力輪式拖拉機變速箱設計(有cad圖+文獻翻譯) (包含20個文件)', },{ id:'0000100001', pId:'00001', name:'28馬力輪式拖拉機變速箱設計(有cad圖+文獻翻譯).doc (4298KB)', click:'getBookinfo(8458480)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中英文摘要、目錄.doc (35KB)', click:'getBookinfo(8458481)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'農用拖拉機--文獻翻譯.doc (3568KB)', click:'getBookinfo(8458482)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'變速箱俯視fd (2).dwg (197KB)', click:'getBookinfo(8458483)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'變速箱俯視fd.dwg (197KB)', click:'getBookinfo(8458484)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'變速箱總成.jpg (212KB)', click:'getBookinfo(8458485)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'變速箱總成放大圖.jpg (259KB)', click:'getBookinfo(8458486)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'外文譯文.doc (26KB)', click:'getBookinfo(8458487)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'總成4.dwg (132KB)', click:'getBookinfo(8458488)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'總成4.jpg (64KB)', click:'getBookinfo(8458489)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'總成4GAI (2).dwg (112KB)', click:'getBookinfo(8458490)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'總成4GAI.dwg (112KB)', click:'getBookinfo(8458491)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'總成4GAI.jpg (84KB)', click:'getBookinfo(8458492)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'打包文件內容.jpg (121KB)', click:'getBookinfo(8458493)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'摘要.jpg (156KB)', click:'getBookinfo(8458494)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'操縱機構.dwg (139KB)', click:'getBookinfo(8458495)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'操縱機構.jpg (83KB)', click:'getBookinfo(8458496)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'河南科技大學畢業(yè)設計開題報告.docx (15KB)', click:'getBookinfo(8458497)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'目錄.jpg (121KB)', click:'getBookinfo(8458498)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'論文內容預覽.jpg (284KB)', click:'getBookinfo(8458499)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】51828馬力輪式拖拉機變速箱設計全套cad圖說明書翻譯.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'28馬力輪式拖拉機變速箱設計(有cad圖+文獻翻譯).doc',url:'http://m.facezit.com/p-8458480.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中英文摘要、目錄.doc',url:'http://m.facezit.com/p-8458481.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'農用拖拉機--文獻翻譯.doc',url:'http://m.facezit.com/p-8458482.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'變速箱俯視fd (2).dwg',url:'http://m.facezit.com/p-8458483.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'變速箱俯視fd.dwg',url:'http://m.facezit.com/p-8458484.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'變速箱總成.jpg',url:'http://m.facezit.com/p-8458485.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'變速箱總成放大圖.jpg',url:'http://m.facezit.com/p-8458486.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'外文譯文.doc',url:'http://m.facezit.com/p-8458487.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'總成4.dwg',url:'http://m.facezit.com/p-8458488.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'總成4.jpg',url:'http://m.facezit.com/p-8458489.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'總成4GAI (2).dwg',url:'http://m.facezit.com/p-8458490.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'總成4GAI.dwg',url:'http://m.facezit.com/p-8458491.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'總成4GAI.jpg',url:'http://m.facezit.com/p-8458492.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'打包文件內容.jpg',url:'http://m.facezit.com/p-8458493.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'摘要.jpg',url:'http://m.facezit.com/p-8458494.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'操縱機構.dwg',url:'http://m.facezit.com/p-8458495.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'操縱機構.jpg',url:'http://m.facezit.com/p-8458496.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'河南科技大學畢業(yè)設計開題報告.docx',url:'http://m.facezit.com/p-8458497.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'目錄.jpg',url:'http://m.facezit.com/p-8458498.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'論文內容預覽.jpg',url:'http://m.facezit.com/p-8458499.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 = '7252818'; 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; }); });