'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'b429吸塵器時尚造型設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'B429吸塵器時尚造型設(shè)計 (包含27個文件)', },{ id:'0000100001', pId:'00001', name:'119.358.sldprt (23955KB)', },{ id:'0000100002', pId:'00001', name:'12L水桶.SLDPRT (363KB)', },{ id:'0000100003', pId:'00001', name:'JLA-2_2_1.sldprt (110KB)', },{ id:'0000100004', pId:'00001', name:'JLA_1.sldprt (149KB)', },{ id:'0000100005', pId:'00001', name:'WHEEL_2_1.sldprt (255KB)', },{ id:'0000100006', pId:'00001', name:'吸塵器時尚造型設(shè)計CAD圖紙.DWG (349KB)', click:'getBookinfo(8411439)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'吸塵器時尚造型設(shè)計CAD圖紙.dwl (0KB)', },{ id:'0000100008', pId:'00001', name:'吸塵器時尚造型設(shè)計說明書 .doc (817KB)', click:'getBookinfo(8411440)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'安全氣閥.SLDPRT (155KB)', },{ id:'0000100010', pId:'00001', name:'底盤.SLDPRT (139KB)', },{ id:'0000100011', pId:'00001', name:'總裝圖.IGS (48431KB)', },{ id:'0000100012', pId:'00001', name:'總裝圖.SLDASM (4097KB)', },{ id:'0000100013', pId:'00001', name:'截圖146.png (31KB)', click:'getBookinfo(8411441)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'截圖147.png (21KB)', click:'getBookinfo(8411442)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'截圖148.png (30KB)', click:'getBookinfo(8411443)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'截圖149.png (17KB)', click:'getBookinfo(8411444)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'截圖150.png (10KB)', click:'getBookinfo(8411445)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'截圖151.png (33KB)', click:'getBookinfo(8411446)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'打氣筒.SLDPRT (328KB)', },{ id:'0000100020', pId:'00001', name:'水管.SLDPRT (175KB)', },{ id:'0000100021', pId:'00001', name:'水管接頭.SLDPRT (159KB)', },{ id:'0000100022', pId:'00001', name:'裝配體4.SLDASM (336KB)', },{ id:'0000100023', pId:'00001', name:'軸套.SLDPRT (132KB)', },{ id:'0000100024', pId:'00001', name:'零件1.SLDPRT (115KB)', },{ id:'0000100025', pId:'00001', name:'零件6.SLDPRT (324KB)', },{ id:'0000100026', pId:'00001', name:'零件7.SLDPRT (125KB)', },{ id:'0000100027', pId:'00001', name:'零件8.SLDPRT (214KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'b429吸塵器時尚造型設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100006', pId:'00001', name:'吸塵器時尚造型設(shè)計CAD圖紙.DWG',url:'http://m.facezit.com/p-8411439.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'吸塵器時尚造型設(shè)計說明書 .doc',url:'http://m.facezit.com/p-8411440.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'截圖146.png',url:'http://m.facezit.com/p-8411441.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'截圖147.png',url:'http://m.facezit.com/p-8411442.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'截圖148.png',url:'http://m.facezit.com/p-8411443.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'截圖149.png',url:'http://m.facezit.com/p-8411444.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'截圖150.png',url:'http://m.facezit.com/p-8411445.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'截圖151.png',url:'http://m.facezit.com/p-8411446.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 = '7247432'; 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; }); });