'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'737軸承端蓋沖孔修邊復(fù)合模設(shè)計【全套12張cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'737 軸承端蓋沖孔修邊復(fù)合模設(shè)計【全套12張CAD圖+說明書】 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'acad.fas (15KB)', },{ id:'0000100002', pId:'00001', name:'下模座.png (60KB)', click:'getBookinfo(8179159)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'全套12張CAD圖合集.png (95KB)', click:'getBookinfo(8179160)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'沖孔凸模固定板.png (38KB)', click:'getBookinfo(8179161)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'沖裁零件的工藝性分析.png (68KB)', click:'getBookinfo(8179162)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'凸凹模.png (63KB)', click:'getBookinfo(8179163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'凸凹模固定板.png (56KB)', click:'getBookinfo(8179164)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'導(dǎo)柱.png (33KB)', click:'getBookinfo(8179165)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'摘要.png (49KB)', click:'getBookinfo(8179166)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'模柄.png (52KB)', click:'getBookinfo(8179167)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'匯總圖.DWG (238KB)', click:'getBookinfo(8179168)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'目錄.png (66KB)', click:'getBookinfo(8179169)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'裝配圖.png (84KB)', click:'getBookinfo(8179170)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'說明書.png (366KB)', click:'getBookinfo(8179171)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'軸承端蓋沖孔修邊復(fù)合模設(shè)計.doc (5009KB)', click:'getBookinfo(8179172)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'737軸承端蓋沖孔修邊復(fù)合模設(shè)計【全套12張cad圖說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'下模座.png',url:'http://m.facezit.com/p-8179159.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'全套12張CAD圖合集.png',url:'http://m.facezit.com/p-8179160.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'沖孔凸模固定板.png',url:'http://m.facezit.com/p-8179161.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'沖裁零件的工藝性分析.png',url:'http://m.facezit.com/p-8179162.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'凸凹模.png',url:'http://m.facezit.com/p-8179163.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'凸凹模固定板.png',url:'http://m.facezit.com/p-8179164.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'導(dǎo)柱.png',url:'http://m.facezit.com/p-8179165.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8179166.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'模柄.png',url:'http://m.facezit.com/p-8179167.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'匯總圖.DWG',url:'http://m.facezit.com/p-8179168.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8179169.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'裝配圖.png',url:'http://m.facezit.com/p-8179170.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8179171.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'軸承端蓋沖孔修邊復(fù)合模設(shè)計.doc',url:'http://m.facezit.com/p-8179172.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 = '3528697'; 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; }); });