'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b460液壓升降機.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B460液壓升降機 (包含32個文件)', },{ id:'0000100001', pId:'00001', name:'A_CS1D200_300N__0_1.sldasm (163KB)', },{ id:'0000100002', pId:'00001', name:'body_A_CS1D200_300N__0_1.sldprt (384KB)', },{ id:'0000100003', pId:'00001', name:'clevis pins with head gb.sldprt (515KB)', },{ id:'0000100004', pId:'00001', name:'clevis pins with head gb11.sldprt (451KB)', },{ id:'0000100005', pId:'00001', name:'gggggggggggggg.SLDPRT (92KB)', },{ id:'0000100006', pId:'00001', name:'hex nuts, style 1-grades ab gb.sldprt (476KB)', },{ id:'0000100007', pId:'00001', name:'hexagon socket head cap screws gb.sldprt (1775KB)', },{ id:'0000100008', pId:'00001', name:'rod_A_CS1D200_300N__0_1.sldprt (165KB)', },{ id:'0000100009', pId:'00001', name:'round nuts gb.sldprt (605KB)', },{ id:'0000100010', pId:'00001', name:'split pins.sldprt (400KB)', },{ id:'0000100011', pId:'00001', name:'底板.SLDPRT (266KB)', },{ id:'0000100012', pId:'00001', name:'總裝圖.SLDASM (687KB)', },{ id:'0000100013', pId:'00001', name:'截圖202.png (43KB)', click:'getBookinfo(8725133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'截圖203.png (46KB)', click:'getBookinfo(8725134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'汽車檢修升降臺架.SLDASM (498KB)', },{ id:'0000100016', pId:'00001', name:'汽車檢修升降臺架設計說明書.doc (6033KB)', click:'getBookinfo(8725135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'液壓升降機的設計--CAD.dwg (545KB)', click:'getBookinfo(8725136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'液壓缸.dwg (58KB)', click:'getBookinfo(8725137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'零件10.SLDPRT (119KB)', },{ id:'0000100020', pId:'00001', name:'零件12.SLDPRT (130KB)', },{ id:'0000100021', pId:'00001', name:'零件1222.SLDPRT (109KB)', },{ id:'0000100022', pId:'00001', name:'零件2.SLDPRT (129KB)', },{ id:'0000100023', pId:'00001', name:'零件3.SLDPRT (124KB)', },{ id:'0000100024', pId:'00001', name:'零件333.SLDPRT (109KB)', },{ id:'0000100025', pId:'00001', name:'零件33d3.SLDPRT (110KB)', },{ id:'0000100026', pId:'00001', name:'零件4.SLDPRT (96KB)', },{ id:'0000100027', pId:'00001', name:'零件511.SLDPRT (138KB)', },{ id:'0000100028', pId:'00001', name:'零件6.SLDPRT (156KB)', },{ id:'0000100029', pId:'00001', name:'零件7.SLDPRT (172KB)', },{ id:'0000100030', pId:'00001', name:'零件8.SLDPRT (364KB)', },{ id:'0000100031', pId:'00001', name:'零件9.SLDPRT (93KB)', },{ id:'0000100032', pId:'00001', name:'零件vvvvvvvvvvvvvv3.SLDPRT (111KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'b460液壓升降機.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100013', pId:'00001', name:'截圖202.png',url:'http://m.facezit.com/p-8725133.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'截圖203.png',url:'http://m.facezit.com/p-8725134.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'汽車檢修升降臺架設計說明書.doc',url:'http://m.facezit.com/p-8725135.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'液壓升降機的設計--CAD.dwg',url:'http://m.facezit.com/p-8725136.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'液壓缸.dwg',url:'http://m.facezit.com/p-8725137.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 = '3517917'; 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; }); });