'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'全套設計_滾筒采煤機截割部的設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-左截割部.dwg (194KB)', click:'getBookinfo(8351487)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0-左截割部傳動系統(tǒng).dwg (262KB)', click:'getBookinfo(8351488)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A0-采煤機裝配圖.dwg (426KB)', click:'getBookinfo(8351489)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A1-端蓋.dwg (54KB)', click:'getBookinfo(8351490)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-搖臂.dwg (71KB)', click:'getBookinfo(8351491)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2-軸2.dwg (49KB)', click:'getBookinfo(8351492)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2-軸3.dwg (58KB)', click:'getBookinfo(8351493)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A2-齒輪軸.dwg (77KB)', click:'getBookinfo(8351494)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A3-滾筒.dwg (52KB)', click:'getBookinfo(8351495)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A3-齒輪1.dwg (55KB)', click:'getBookinfo(8351496)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A3-齒輪2.dwg (42KB)', click:'getBookinfo(8351497)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'實習報告.doc (72KB)', click:'getBookinfo(8351498)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'封面.doc (36KB)', click:'getBookinfo(8351499)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'開題報告.doc (48KB)', click:'getBookinfo(8351500)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'摘要1.doc (32KB)', click:'getBookinfo(8351501)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'畢業(yè)論文1.doc (650KB)', click:'getBookinfo(8351502)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'畢業(yè)設計相關文件.doc (31KB)', click:'getBookinfo(8351503)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'滾筒采煤機截割部的設計封面.開題報告.doc (36KB)', click:'getBookinfo(8351504)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'論文目錄.doc (30KB)', click:'getBookinfo(8351505)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'全套設計_滾筒采煤機截割部的設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-左截割部.dwg',url:'http://m.facezit.com/p-8351487.html', target:'_blank' },{ id:'00002', pId:'1', name:'A0-左截割部傳動系統(tǒng).dwg',url:'http://m.facezit.com/p-8351488.html', target:'_blank' },{ id:'00003', pId:'1', name:'A0-采煤機裝配圖.dwg',url:'http://m.facezit.com/p-8351489.html', target:'_blank' },{ id:'00004', pId:'1', name:'A1-端蓋.dwg',url:'http://m.facezit.com/p-8351490.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-搖臂.dwg',url:'http://m.facezit.com/p-8351491.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2-軸2.dwg',url:'http://m.facezit.com/p-8351492.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2-軸3.dwg',url:'http://m.facezit.com/p-8351493.html', target:'_blank' },{ id:'00008', pId:'1', name:'A2-齒輪軸.dwg',url:'http://m.facezit.com/p-8351494.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-滾筒.dwg',url:'http://m.facezit.com/p-8351495.html', target:'_blank' },{ id:'00010', pId:'1', name:'A3-齒輪1.dwg',url:'http://m.facezit.com/p-8351496.html', target:'_blank' },{ id:'00011', pId:'1', name:'A3-齒輪2.dwg',url:'http://m.facezit.com/p-8351497.html', target:'_blank' },{ id:'00012', pId:'1', name:'實習報告.doc',url:'http://m.facezit.com/p-8351498.html', target:'_blank' },{ id:'00013', pId:'1', name:'封面.doc',url:'http://m.facezit.com/p-8351499.html', target:'_blank' },{ id:'00014', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8351500.html', target:'_blank' },{ id:'00015', pId:'1', name:'摘要1.doc',url:'http://m.facezit.com/p-8351501.html', target:'_blank' },{ id:'00016', pId:'1', name:'畢業(yè)論文1.doc',url:'http://m.facezit.com/p-8351502.html', target:'_blank' },{ id:'00017', pId:'1', name:'畢業(yè)設計相關文件.doc',url:'http://m.facezit.com/p-8351503.html', target:'_blank' },{ id:'00018', pId:'1', name:'滾筒采煤機截割部的設計封面.開題報告.doc',url:'http://m.facezit.com/p-8351504.html', target:'_blank' },{ id:'00019', pId:'1', name:'論文目錄.doc',url:'http://m.facezit.com/p-8351505.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 = '7835822'; 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; }); });