'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'加工渦輪盤榫槽的臥式拉床夾具設(shè)計【9張cad圖紙、工藝卡片和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-夾具體.dwg (238KB)', click:'getBookinfo(8503901)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0-總裝配圖.dwg (516KB)', click:'getBookinfo(8503902)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-分度盤.dwg (122KB)', click:'getBookinfo(8503903)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2-壓板.dwg (81KB)', click:'getBookinfo(8503904)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-夾緊液壓缸.dwg (115KB)', click:'getBookinfo(8503905)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2-定位環(huán).dwg (67KB)', click:'getBookinfo(8503906)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2-端蓋.dwg (118KB)', click:'getBookinfo(8503907)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A2-端齒盤.dwg (83KB)', click:'getBookinfo(8503908)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A2-零件圖.dwg (69KB)', click:'getBookinfo(8503909)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'任務(wù)書(3頁).doc (28KB)', click:'getBookinfo(8503910)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'摘要及目錄(4頁).doc (43KB)', click:'getBookinfo(8503911)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'翻譯(22頁).doc (100KB)', click:'getBookinfo(8503912)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'說明書正文(45頁).doc (780KB)', click:'getBookinfo(8503913)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'加工渦輪盤榫槽的臥式拉床夾具設(shè)計【9張cad圖紙、工藝卡片和說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0-夾具體.dwg',url:'http://m.facezit.com/p-8503901.html', target:'_blank' },{ id:'00002', pId:'1', name:'A0-總裝配圖.dwg',url:'http://m.facezit.com/p-8503902.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-分度盤.dwg',url:'http://m.facezit.com/p-8503903.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2-壓板.dwg',url:'http://m.facezit.com/p-8503904.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-夾緊液壓缸.dwg',url:'http://m.facezit.com/p-8503905.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2-定位環(huán).dwg',url:'http://m.facezit.com/p-8503906.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2-端蓋.dwg',url:'http://m.facezit.com/p-8503907.html', target:'_blank' },{ id:'00008', pId:'1', name:'A2-端齒盤.dwg',url:'http://m.facezit.com/p-8503908.html', target:'_blank' },{ id:'00009', pId:'1', name:'A2-零件圖.dwg',url:'http://m.facezit.com/p-8503909.html', target:'_blank' },{ id:'00010', pId:'1', name:'任務(wù)書(3頁).doc',url:'http://m.facezit.com/p-8503910.html', target:'_blank' },{ id:'00011', pId:'1', name:'摘要及目錄(4頁).doc',url:'http://m.facezit.com/p-8503911.html', target:'_blank' },{ id:'00012', pId:'1', name:'翻譯(22頁).doc',url:'http://m.facezit.com/p-8503912.html', target:'_blank' },{ id:'00013', pId:'1', name:'說明書正文(45頁).doc',url:'http://m.facezit.com/p-8503913.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 = '7258083'; 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; }); });