'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'wj078液壓彎管機液壓系統(tǒng)設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'外文文獻(xiàn) (包含3個文件)', },{ id:'0000100001', pId:'00001', name:'Vertical Turning Center of NC.doc (41KB)', click:'getBookinfo(8150417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'外文文獻(xiàn)封面.doc (13KB)', click:'getBookinfo(8150418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'數(shù)控立式車削中心數(shù)控化改造.doc (21KB)', click:'getBookinfo(8150419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'原理圖2.dwg (67KB)', click:'getBookinfo(8150420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'右端蓋A3.dwg (79KB)', click:'getBookinfo(8150421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'左端蓋A3.dwg (57KB)', click:'getBookinfo(8150422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'開題報告.doc (40KB)', click:'getBookinfo(8150423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'推移千斤頂裝配圖A1.dwg (80KB)', click:'getBookinfo(8150424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'活塞A3.dwg (85KB)', click:'getBookinfo(8150425)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'目錄.doc (58KB)', click:'getBookinfo(8150426)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'缸套A2.dwg (94KB)', click:'getBookinfo(8150427)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'花板A2.dwg (95KB)', click:'getBookinfo(8150428)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'說明書.doc (1384KB)', click:'getBookinfo(8150429)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'連接板A3.dwg (90KB)', click:'getBookinfo(8150430)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'閥塊裝配圖A1.DWG (242KB)', click:'getBookinfo(8150431)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'零件控制閥塊A1.DWG (172KB)', click:'getBookinfo(8150432)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'wj078液壓彎管機液壓系統(tǒng)設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'Vertical Turning Center of NC.doc',url:'http://m.facezit.com/p-8150417.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'外文文獻(xiàn)封面.doc',url:'http://m.facezit.com/p-8150418.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'數(shù)控立式車削中心數(shù)控化改造.doc',url:'http://m.facezit.com/p-8150419.html', target:'_blank' },{ id:'00002', pId:'1', name:'原理圖2.dwg',url:'http://m.facezit.com/p-8150420.html', target:'_blank' },{ id:'00003', pId:'1', name:'右端蓋A3.dwg',url:'http://m.facezit.com/p-8150421.html', target:'_blank' },{ id:'00004', pId:'1', name:'左端蓋A3.dwg',url:'http://m.facezit.com/p-8150422.html', target:'_blank' },{ id:'00005', pId:'1', name:'開題報告.doc',url:'http://m.facezit.com/p-8150423.html', target:'_blank' },{ id:'00006', pId:'1', name:'推移千斤頂裝配圖A1.dwg',url:'http://m.facezit.com/p-8150424.html', target:'_blank' },{ id:'00007', pId:'1', name:'活塞A3.dwg',url:'http://m.facezit.com/p-8150425.html', target:'_blank' },{ id:'00008', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8150426.html', target:'_blank' },{ id:'00009', pId:'1', name:'缸套A2.dwg',url:'http://m.facezit.com/p-8150427.html', target:'_blank' },{ id:'00010', pId:'1', name:'花板A2.dwg',url:'http://m.facezit.com/p-8150428.html', target:'_blank' },{ id:'00011', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8150429.html', target:'_blank' },{ id:'00012', pId:'1', name:'連接板A3.dwg',url:'http://m.facezit.com/p-8150430.html', target:'_blank' },{ id:'00013', pId:'1', name:'閥塊裝配圖A1.DWG',url:'http://m.facezit.com/p-8150431.html', target:'_blank' },{ id:'00014', pId:'1', name:'零件控制閥塊A1.DWG',url:'http://m.facezit.com/p-8150432.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 = '3525578'; 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; }); });