'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'彈射式自動投石器的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'彈射式自動投石器的設(shè)計 (包含31個文件)', },{ id:'0000100001', pId:'00001', name:'1.DWG (75KB)', click:'getBookinfo(8274767)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'brte-35.SLDPRT (215KB)', },{ id:'0000100003', pId:'00001', name:'hex nuts 1-fine pitch-grades ab gb.sldprt (233KB)', },{ id:'0000100004', pId:'00001', name:'hexagon head bolts--product grade c gb.sldprt (479KB)', },{ id:'0000100005', pId:'00001', name:'round nuts gb.sldprt (351KB)', },{ id:'0000100006', pId:'00001', name:'凸輪.DWG (49KB)', click:'getBookinfo(8274768)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'安裝座.DWG (49KB)', click:'getBookinfo(8274769)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'彈射式自動投石器.DWG (75KB)', click:'getBookinfo(8274770)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'彈射式自動投石器設(shè)計說明書1.doc (5782KB)', click:'getBookinfo(8274771)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'彈射筒.DWG (54KB)', click:'getBookinfo(8274772)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'總裝圖0.SLDASM (587KB)', },{ id:'0000100012', pId:'00001', name:'推桿.DWG (49KB)', click:'getBookinfo(8274773)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'機(jī)架.DWG (61KB)', click:'getBookinfo(8274774)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'機(jī)架0.SLDPRT (116KB)', },{ id:'0000100015', pId:'00001', name:'機(jī)架10.SLDPRT (124KB)', },{ id:'0000100016', pId:'00001', name:'機(jī)架20.SLDPRT (197KB)', },{ id:'0000100017', pId:'00001', name:'裝填筒.DWG (55KB)', click:'getBookinfo(8274775)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'連接件.DWG (55KB)', click:'getBookinfo(8274776)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'零1111SLDPRT.SLDPRT (160KB)', },{ id:'0000100020', pId:'00001', name:'零件10000.SLDPRT (299KB)', },{ id:'0000100021', pId:'00001', name:'零件1111.SLDPRT (113KB)', },{ id:'0000100022', pId:'00001', name:'零件1114.SLDPRT (188KB)', },{ id:'0000100023', pId:'00001', name:'零件13.SLDPRT (90KB)', },{ id:'0000100024', pId:'00001', name:'零件15.SLDPRT (100KB)', },{ id:'0000100025', pId:'00001', name:'零件16.SLDPRT (114KB)', },{ id:'0000100026', pId:'00001', name:'零件4.SLDPRT (156KB)', },{ id:'0000100027', pId:'00001', name:'零件666.SLDPRT (139KB)', },{ id:'0000100028', pId:'00001', name:'零件9.SLDPRT (129KB)', },{ id:'0000100029', pId:'00001', name:'零件999.SLDPRT (101KB)', },{ id:'0000100030', pId:'00001', name:'面板0.SLDPRT (142KB)', },{ id:'0000100031', pId:'00001', name:'面板20.SLDPRT (202KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'彈射式自動投石器的設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.DWG',url:'http://m.facezit.com/p-8274767.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'凸輪.DWG',url:'http://m.facezit.com/p-8274768.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'安裝座.DWG',url:'http://m.facezit.com/p-8274769.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'彈射式自動投石器.DWG',url:'http://m.facezit.com/p-8274770.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'彈射式自動投石器設(shè)計說明書1.doc',url:'http://m.facezit.com/p-8274771.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'彈射筒.DWG',url:'http://m.facezit.com/p-8274772.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'推桿.DWG',url:'http://m.facezit.com/p-8274773.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'機(jī)架.DWG',url:'http://m.facezit.com/p-8274774.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'裝填筒.DWG',url:'http://m.facezit.com/p-8274775.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'連接件.DWG',url:'http://m.facezit.com/p-8274776.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 = '6334840'; 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; }); });