'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'螺旋式散裝物料收集器的設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'螺旋式散裝物料收集器的設(shè)計 (包含24個文件)', },{ id:'0000100001', pId:'00001', name:'B3_Y2-90S-2_I_1.sldasm (316KB)', },{ id:'0000100002', pId:'00001', name:'brte-50.SLDPRT (140KB)', },{ id:'0000100003', pId:'00001', name:'deep groove ball bearings gb.sldprt (630KB)', },{ id:'0000100004', pId:'00001', name:'ggggg.SLDPRT (935KB)', },{ id:'0000100005', pId:'00001', name:'hex nuts, style 1-grades ab gb.sldprt (1165KB)', },{ id:'0000100006', pId:'00001', name:'hexagon socket head cap screws gb.sldprt (584KB)', },{ id:'0000100007', pId:'00001', name:'hhhhhgggggg.SLDPRT (106KB)', },{ id:'0000100008', pId:'00001', name:'hhyyyyyyyyyy.SLDPRT (116KB)', },{ id:'0000100009', pId:'00001', name:'v帶輪.SLDPRT (140KB)', },{ id:'0000100010', pId:'00001', name:'v帶輪a.SLDPRT (150KB)', },{ id:'0000100011', pId:'00001', name:'Y2_B3_FL_90S_1.step.sldprt (130KB)', },{ id:'0000100012', pId:'00001', name:'Y2_DJ_90S.step.sldprt (87KB)', },{ id:'0000100013', pId:'00001', name:'Y2_FZ_90S_1.step.sldprt (91KB)', },{ id:'0000100014', pId:'00001', name:'Y2_JXH_90S.step.sldprt (198KB)', },{ id:'0000100015', pId:'00001', name:'Y2_JZ_90S_B_1.step.sldprt (574KB)', },{ id:'0000100016', pId:'00001', name:'Y2_SCZ_90S_1.step.sldprt (84KB)', },{ id:'0000100017', pId:'00001', name:'料筒.SLDPRT (383KB)', },{ id:'0000100018', pId:'00001', name:'法蘭盤.SLDPRT (564KB)', },{ id:'0000100019', pId:'00001', name:'法蘭盤1.SLDPRT (136KB)', },{ id:'0000100020', pId:'00001', name:'螺旋式散裝物料收集器CAD圖紙.DWG (452KB)', click:'getBookinfo(8187349)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'螺旋式散裝物料收集器設(shè)計說明書.doc (6566KB)', click:'getBookinfo(8187350)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'裝配體5.SLDASM (1868KB)', },{ id:'0000100023', pId:'00001', name:'零件12.SLDPRT (545KB)', },{ id:'0000100024', pId:'00001', name:'零件4.SLDPRT (133KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'螺旋式散裝物料收集器的設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100020', pId:'00001', name:'螺旋式散裝物料收集器CAD圖紙.DWG',url:'http://canyonlakefaqs.com/p-8187349.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'螺旋式散裝物料收集器設(shè)計說明書.doc',url:'http://canyonlakefaqs.com/p-8187350.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 = '3530683'; 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; }); });