'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'畢業(yè)設計_jbj1600對稱式三輥卷板機設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'JBJ1600對稱式三輥卷板機裝配圖.dwg (176KB)', click:'getBookinfo(8345343)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'JBJ1600對稱式三輥卷板機設計22張圖.dwg (549KB)', click:'getBookinfo(8345344)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'JBJ1600對稱式三輥卷板機設計說明書.doc (1824KB)', click:'getBookinfo(8345345)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'上輥.dwg (53KB)', click:'getBookinfo(8345346)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'下輥.dwg (69KB)', click:'getBookinfo(8345347)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'絲杠.dwg (48KB)', click:'getBookinfo(8345348)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'絲母.dwg (51KB)', click:'getBookinfo(8345349)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'減速器.dwg (181KB)', click:'getBookinfo(8345350)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'前機架.dwg (58KB)', click:'getBookinfo(8345351)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'半聯軸器1.dwg (54KB)', click:'getBookinfo(8345352)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'半聯軸器2.dwg (54KB)', click:'getBookinfo(8345353)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'吊架.dwg (50KB)', click:'getBookinfo(8345354)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'后機架.dwg (58KB)', click:'getBookinfo(8345355)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'大齒輪.dwg (55KB)', click:'getBookinfo(8345356)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'封面.doc (25KB)', click:'getBookinfo(8345357)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'小齒輪.dwg (56KB)', click:'getBookinfo(8345358)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'手輪.dwg (54KB)', click:'getBookinfo(8345359)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'摘要.doc (26KB)', click:'getBookinfo(8345360)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'滑動軸承.dwg (50KB)', click:'getBookinfo(8345361)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'滑動軸承1.dwg (48KB)', click:'getBookinfo(8345362)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'目錄.doc (36KB)', click:'getBookinfo(8345363)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'軸承座.dwg (58KB)', click:'getBookinfo(8345364)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'軸承座蓋板.dwg (49KB)', click:'getBookinfo(8345365)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'選題目錄.doc (374KB)', click:'getBookinfo(8345366)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'鋼套.dwg (50KB)', click:'getBookinfo(8345367)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設計_jbj1600對稱式三輥卷板機設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'JBJ1600對稱式三輥卷板機裝配圖.dwg',url:'http://m.facezit.com/p-8345343.html', target:'_blank' },{ id:'00002', pId:'1', name:'JBJ1600對稱式三輥卷板機設計22張圖.dwg',url:'http://m.facezit.com/p-8345344.html', target:'_blank' },{ id:'00003', pId:'1', name:'JBJ1600對稱式三輥卷板機設計說明書.doc',url:'http://m.facezit.com/p-8345345.html', target:'_blank' },{ id:'00004', pId:'1', name:'上輥.dwg',url:'http://m.facezit.com/p-8345346.html', target:'_blank' },{ id:'00005', pId:'1', name:'下輥.dwg',url:'http://m.facezit.com/p-8345347.html', target:'_blank' },{ id:'00006', pId:'1', name:'絲杠.dwg',url:'http://m.facezit.com/p-8345348.html', target:'_blank' },{ id:'00007', pId:'1', name:'絲母.dwg',url:'http://m.facezit.com/p-8345349.html', target:'_blank' },{ id:'00008', pId:'1', name:'減速器.dwg',url:'http://m.facezit.com/p-8345350.html', target:'_blank' },{ id:'00009', pId:'1', name:'前機架.dwg',url:'http://m.facezit.com/p-8345351.html', target:'_blank' },{ id:'00010', pId:'1', name:'半聯軸器1.dwg',url:'http://m.facezit.com/p-8345352.html', target:'_blank' },{ id:'00011', pId:'1', name:'半聯軸器2.dwg',url:'http://m.facezit.com/p-8345353.html', target:'_blank' },{ id:'00012', pId:'1', name:'吊架.dwg',url:'http://m.facezit.com/p-8345354.html', target:'_blank' },{ id:'00013', pId:'1', name:'后機架.dwg',url:'http://m.facezit.com/p-8345355.html', target:'_blank' },{ id:'00014', pId:'1', name:'大齒輪.dwg',url:'http://m.facezit.com/p-8345356.html', target:'_blank' },{ id:'00015', pId:'1', name:'封面.doc',url:'http://m.facezit.com/p-8345357.html', target:'_blank' },{ id:'00016', pId:'1', name:'小齒輪.dwg',url:'http://m.facezit.com/p-8345358.html', target:'_blank' },{ id:'00017', pId:'1', name:'手輪.dwg',url:'http://m.facezit.com/p-8345359.html', target:'_blank' },{ id:'00018', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8345360.html', target:'_blank' },{ id:'00019', pId:'1', name:'滑動軸承.dwg',url:'http://m.facezit.com/p-8345361.html', target:'_blank' },{ id:'00020', pId:'1', name:'滑動軸承1.dwg',url:'http://m.facezit.com/p-8345362.html', target:'_blank' },{ id:'00021', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8345363.html', target:'_blank' },{ id:'00022', pId:'1', name:'軸承座.dwg',url:'http://m.facezit.com/p-8345364.html', target:'_blank' },{ id:'00023', pId:'1', name:'軸承座蓋板.dwg',url:'http://m.facezit.com/p-8345365.html', target:'_blank' },{ id:'00024', pId:'1', name:'選題目錄.doc',url:'http://m.facezit.com/p-8345366.html', target:'_blank' },{ id:'00025', pId:'1', name:'鋼套.dwg',url:'http://m.facezit.com/p-8345367.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 = '7810182'; 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; }); });