'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'減速箱體加工工藝及粗銑四側(cè)凸緣端面、銑底座兩側(cè)上平面夾具設(shè)計[含cad圖紙工序卡工藝過程卡說明書].zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡(一套22張) (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'1.DOC (71KB)', click:'getBookinfo(8166395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'10.DOC (73KB)', click:'getBookinfo(8166396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'11.DOC (74KB)', click:'getBookinfo(8166397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'12.DOC (72KB)', click:'getBookinfo(8166398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'13.DOC (71KB)', click:'getBookinfo(8166399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'14.DOC (81KB)', click:'getBookinfo(8166400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'15.DOC (79KB)', click:'getBookinfo(8166401)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'16.DOC (77KB)', click:'getBookinfo(8166402)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'17.DOC (79KB)', click:'getBookinfo(8166403)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'18.DOC (72KB)', click:'getBookinfo(8166404)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'19.DOC (80KB)', click:'getBookinfo(8166405)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'2.DOC (71KB)', click:'getBookinfo(8166406)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'20.DOC (72KB)', click:'getBookinfo(8166407)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'21.DOC (79KB)', click:'getBookinfo(8166408)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'22.DOC (73KB)', click:'getBookinfo(8166409)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'3.DOC (71KB)', click:'getBookinfo(8166410)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'4.DOC (70KB)', click:'getBookinfo(8166411)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'5.DOC (72KB)', click:'getBookinfo(8166412)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'6.DOC (73KB)', click:'getBookinfo(8166413)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'7.DOC (74KB)', click:'getBookinfo(8166414)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'8.DOC (77KB)', click:'getBookinfo(8166415)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'9.DOC (72KB)', click:'getBookinfo(8166416)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A0-銑床夾具裝配圖.dwg (239KB)', click:'getBookinfo(8166417)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1-減速箱體零件圖.dwg (84KB)', click:'getBookinfo(8166418)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A1-毛胚圖.dwg (86KB)', click:'getBookinfo(8166419)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-夾具體.dwg (154KB)', click:'getBookinfo(8166420)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A4-擋銷.dwg (140KB)', click:'getBookinfo(8166421)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'減速箱體工藝卡片.doc (73KB)', click:'getBookinfo(8166422)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'減速箱體機械加工工序卡.doc (66KB)', click:'getBookinfo(8166423)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'設(shè)計說明書.doc (829KB)', click:'getBookinfo(8166424)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'非標零件工藝卡片.doc (36KB)', click:'getBookinfo(8166425)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'減速箱體加工工藝及粗銑四側(cè)凸緣端面、銑底座兩側(cè)上平面夾具設(shè)計[含cad圖紙工序卡工藝過程卡說明書].zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'1.DOC',url:'http://algolinternational.com/p-8166395.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'10.DOC',url:'http://algolinternational.com/p-8166396.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'11.DOC',url:'http://algolinternational.com/p-8166397.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'12.DOC',url:'http://algolinternational.com/p-8166398.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'13.DOC',url:'http://algolinternational.com/p-8166399.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'14.DOC',url:'http://algolinternational.com/p-8166400.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'15.DOC',url:'http://algolinternational.com/p-8166401.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'16.DOC',url:'http://algolinternational.com/p-8166402.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'17.DOC',url:'http://algolinternational.com/p-8166403.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'18.DOC',url:'http://algolinternational.com/p-8166404.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'19.DOC',url:'http://algolinternational.com/p-8166405.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'2.DOC',url:'http://algolinternational.com/p-8166406.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'20.DOC',url:'http://algolinternational.com/p-8166407.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'21.DOC',url:'http://algolinternational.com/p-8166408.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'22.DOC',url:'http://algolinternational.com/p-8166409.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'3.DOC',url:'http://algolinternational.com/p-8166410.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'4.DOC',url:'http://algolinternational.com/p-8166411.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'5.DOC',url:'http://algolinternational.com/p-8166412.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'6.DOC',url:'http://algolinternational.com/p-8166413.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'7.DOC',url:'http://algolinternational.com/p-8166414.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'8.DOC',url:'http://algolinternational.com/p-8166415.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'9.DOC',url:'http://algolinternational.com/p-8166416.html', target:'_blank' },{ id:'00002', pId:'1', name:'A0-銑床夾具裝配圖.dwg',url:'http://algolinternational.com/p-8166417.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1-減速箱體零件圖.dwg',url:'http://algolinternational.com/p-8166418.html', target:'_blank' },{ id:'00004', pId:'1', name:'A1-毛胚圖.dwg',url:'http://algolinternational.com/p-8166419.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-夾具體.dwg',url:'http://algolinternational.com/p-8166420.html', target:'_blank' },{ id:'00006', pId:'1', name:'A4-擋銷.dwg',url:'http://algolinternational.com/p-8166421.html', target:'_blank' },{ id:'00007', pId:'1', name:'減速箱體工藝卡片.doc',url:'http://algolinternational.com/p-8166422.html', target:'_blank' },{ id:'00008', pId:'1', name:'減速箱體機械加工工序卡.doc',url:'http://algolinternational.com/p-8166423.html', target:'_blank' },{ id:'00009', pId:'1', name:'設(shè)計說明書.doc',url:'http://algolinternational.com/p-8166424.html', target:'_blank' },{ id:'00010', pId:'1', name:'非標零件工藝卡片.doc',url:'http://algolinternational.com/p-8166425.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 = '3526200'; 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; }); });