'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'玻璃清潔機(jī)器人的設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0 玻璃清潔機(jī)器人的設(shè)計說明書.doc (922KB)', click:'getBookinfo(8378782)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0-8張零件圖.dwg (228KB)', click:'getBookinfo(8378783)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A0-裝配圖.dwg (333KB)', click:'getBookinfo(8378784)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A1-箱蓋及箱體.dwg (179KB)', click:'getBookinfo(8378785)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'絲杠.dwg (126KB)', click:'getBookinfo(8378786)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'傳動軸.dwg (117KB)', click:'getBookinfo(8378787)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'外文翻譯.doc (60KB)', click:'getBookinfo(8378788)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'大V帶輪.dwg (114KB)', click:'getBookinfo(8378789)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'大圓柱齒輪.dwg (126KB)', click:'getBookinfo(8378790)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'大錐齒輪.dwg (121KB)', click:'getBookinfo(8378791)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'小圓柱齒輪.dwg (123KB)', click:'getBookinfo(8378792)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'小錐齒輪.dwg (121KB)', click:'getBookinfo(8378793)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'摘要目錄.doc (97KB)', click:'getBookinfo(8378794)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'箱體.dwg (138KB)', click:'getBookinfo(8378795)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'箱蓋.dwg (146KB)', click:'getBookinfo(8378796)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'設(shè)計任務(wù)書.doc (41KB)', click:'getBookinfo(8378797)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'設(shè)計說明書.doc (777KB)', click:'getBookinfo(8378798)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'輪軸.dwg (120KB)', click:'getBookinfo(8378799)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'玻璃清潔機(jī)器人的設(shè)計全套含cad圖紙.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0 玻璃清潔機(jī)器人的設(shè)計說明書.doc',url:'http://m.facezit.com/p-8378782.html', target:'_blank' },{ id:'00002', pId:'1', name:'A0-8張零件圖.dwg',url:'http://m.facezit.com/p-8378783.html', target:'_blank' },{ id:'00003', pId:'1', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8378784.html', target:'_blank' },{ id:'00004', pId:'1', name:'A1-箱蓋及箱體.dwg',url:'http://m.facezit.com/p-8378785.html', target:'_blank' },{ id:'00005', pId:'1', name:'絲杠.dwg',url:'http://m.facezit.com/p-8378786.html', target:'_blank' },{ id:'00006', pId:'1', name:'傳動軸.dwg',url:'http://m.facezit.com/p-8378787.html', target:'_blank' },{ id:'00007', pId:'1', name:'外文翻譯.doc',url:'http://m.facezit.com/p-8378788.html', target:'_blank' },{ id:'00008', pId:'1', name:'大V帶輪.dwg',url:'http://m.facezit.com/p-8378789.html', target:'_blank' },{ id:'00009', pId:'1', name:'大圓柱齒輪.dwg',url:'http://m.facezit.com/p-8378790.html', target:'_blank' },{ id:'00010', pId:'1', name:'大錐齒輪.dwg',url:'http://m.facezit.com/p-8378791.html', target:'_blank' },{ id:'00011', pId:'1', name:'小圓柱齒輪.dwg',url:'http://m.facezit.com/p-8378792.html', target:'_blank' },{ id:'00012', pId:'1', name:'小錐齒輪.dwg',url:'http://m.facezit.com/p-8378793.html', target:'_blank' },{ id:'00013', pId:'1', name:'摘要目錄.doc',url:'http://m.facezit.com/p-8378794.html', target:'_blank' },{ id:'00014', pId:'1', name:'箱體.dwg',url:'http://m.facezit.com/p-8378795.html', target:'_blank' },{ id:'00015', pId:'1', name:'箱蓋.dwg',url:'http://m.facezit.com/p-8378796.html', target:'_blank' },{ id:'00016', pId:'1', name:'設(shè)計任務(wù)書.doc',url:'http://m.facezit.com/p-8378797.html', target:'_blank' },{ id:'00017', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8378798.html', target:'_blank' },{ id:'00018', pId:'1', name:'輪軸.dwg',url:'http://m.facezit.com/p-8378799.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 = '7123820'; 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; }); });