'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'六自由度搬運機械手的設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'六自由度搬運機械手的設計 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'A0-六自由度搬運機械手總圖.jpg (30KB)', click:'getBookinfo(8198514)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'上連桿A4.DWG (39KB)', click:'getBookinfo(8198515)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'上連桿A4.jpg (23KB)', click:'getBookinfo(8198516)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'傳動齒A3.DWG (41KB)', click:'getBookinfo(8198517)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'傳動齒A3.jpg (19KB)', click:'getBookinfo(8198518)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'六自由度搬運機械手.jpg (18KB)', click:'getBookinfo(8198519)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'六自由度搬運機械手的設計論文正文.docx (759KB)', click:'getBookinfo(8198520)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'外文翻譯.doc (5400KB)', click:'getBookinfo(8198521)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'小支撐架A3.DWG (47KB)', click:'getBookinfo(8198522)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'小支撐架A3.jpg (20KB)', click:'getBookinfo(8198523)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'開題報告.doc (35KB)', click:'getBookinfo(8198524)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'總支撐架A3.DWG (51KB)', click:'getBookinfo(8198525)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'總支撐架A3.jpg (34KB)', click:'getBookinfo(8198526)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'手指A3.DWG (48KB)', click:'getBookinfo(8198527)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'手指A3.jpg (18KB)', click:'getBookinfo(8198528)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'文獻綜述.doc (270KB)', click:'getBookinfo(8198529)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'機械手A1.DWG (93KB)', click:'getBookinfo(8198530)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'機械手A1.jpg (49KB)', click:'getBookinfo(8198531)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'聯(lián)軸器A4.DWG (41KB)', click:'getBookinfo(8198532)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'聯(lián)軸器A4.jpg (24KB)', click:'getBookinfo(8198533)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'臂支撐架A3.DWG (52KB)', click:'getBookinfo(8198534)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'臂支撐架A3.jpg (19KB)', click:'getBookinfo(8198535)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100023', pId:'00001', name:'舵機支撐架A2.DWG (58KB)', click:'getBookinfo(8198536)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100024', pId:'00001', name:'舵機支撐架A2.jpg (42KB)', click:'getBookinfo(8198537)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100025', pId:'00001', name:'裝配圖A0.DWG (192KB)', click:'getBookinfo(8198538)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'資料清單.jpg (21KB)', click:'getBookinfo(8198539)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'六自由度搬運機械手的設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'A0-六自由度搬運機械手總圖.jpg',url:'http://m.facezit.com/p-8198514.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'上連桿A4.DWG',url:'http://m.facezit.com/p-8198515.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'上連桿A4.jpg',url:'http://m.facezit.com/p-8198516.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'傳動齒A3.DWG',url:'http://m.facezit.com/p-8198517.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'傳動齒A3.jpg',url:'http://m.facezit.com/p-8198518.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'六自由度搬運機械手.jpg',url:'http://m.facezit.com/p-8198519.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'六自由度搬運機械手的設計論文正文.docx',url:'http://m.facezit.com/p-8198520.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8198521.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'小支撐架A3.DWG',url:'http://m.facezit.com/p-8198522.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'小支撐架A3.jpg',url:'http://m.facezit.com/p-8198523.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8198524.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'總支撐架A3.DWG',url:'http://m.facezit.com/p-8198525.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'總支撐架A3.jpg',url:'http://m.facezit.com/p-8198526.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'手指A3.DWG',url:'http://m.facezit.com/p-8198527.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'手指A3.jpg',url:'http://m.facezit.com/p-8198528.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'文獻綜述.doc',url:'http://m.facezit.com/p-8198529.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'機械手A1.DWG',url:'http://m.facezit.com/p-8198530.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'機械手A1.jpg',url:'http://m.facezit.com/p-8198531.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'聯(lián)軸器A4.DWG',url:'http://m.facezit.com/p-8198532.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'聯(lián)軸器A4.jpg',url:'http://m.facezit.com/p-8198533.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'臂支撐架A3.DWG',url:'http://m.facezit.com/p-8198534.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'臂支撐架A3.jpg',url:'http://m.facezit.com/p-8198535.html', target:'_blank' },{ id:'0000100023', pId:'00001', name:'舵機支撐架A2.DWG',url:'http://m.facezit.com/p-8198536.html', target:'_blank' },{ id:'0000100024', pId:'00001', name:'舵機支撐架A2.jpg',url:'http://m.facezit.com/p-8198537.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'裝配圖A0.DWG',url:'http://m.facezit.com/p-8198538.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'資料清單.jpg',url:'http://m.facezit.com/p-8198539.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 = '3531311'; 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; }); });