'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'底座注塑模模具設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'底座注塑模模具設(shè)計 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'動模塊二.dwg (39KB)', click:'getBookinfo(8799135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'動模型腔.dwg (59KB)', click:'getBookinfo(8799136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'動模型腔1.dwg (61KB)', click:'getBookinfo(8799137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'動模鑲件.dwg (45KB)', click:'getBookinfo(8799138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'動模鑲塊.dwg (64KB)', click:'getBookinfo(8799139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'動模鑲塊五.dwg (46KB)', click:'getBookinfo(8799140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'動模鑲塊新.dwg (45KB)', click:'getBookinfo(8799141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'動(定)模板.dwg (36KB)', click:'getBookinfo(8799142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'定模 塊二[1].Drawing1.dwg (44KB)', click:'getBookinfo(8799143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'定模型腔 新.dwg (69KB)', click:'getBookinfo(8799144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'定模墊板[1].Drawing1.dwg (35KB)', click:'getBookinfo(8799145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'定模行腔[1].Drawing1.dwg (70KB)', click:'getBookinfo(8799146)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'定模釷塊 二.dwg (43KB)', click:'getBookinfo(8799147)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'定模鑲件.dwg (64KB)', click:'getBookinfo(8799148)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'拉料桿.dwg (26KB)', click:'getBookinfo(8799149)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'框架.dwg (54KB)', click:'getBookinfo(8799150)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'裝備圖.dwg (59KB)', click:'getBookinfo(8799151)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'裝配圖新.dwg (62KB)', click:'getBookinfo(8799152)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'設(shè)計說明書.doc (91KB)', click:'getBookinfo(8799153)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'底座注塑模模具設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'動模塊二.dwg',url:'http://algolinternational.com/p-8799135.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'動模型腔.dwg',url:'http://algolinternational.com/p-8799136.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'動模型腔1.dwg',url:'http://algolinternational.com/p-8799137.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'動模鑲件.dwg',url:'http://algolinternational.com/p-8799138.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'動模鑲塊.dwg',url:'http://algolinternational.com/p-8799139.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'動模鑲塊五.dwg',url:'http://algolinternational.com/p-8799140.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'動模鑲塊新.dwg',url:'http://algolinternational.com/p-8799141.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'動(定)模板.dwg',url:'http://algolinternational.com/p-8799142.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'定模 塊二[1].Drawing1.dwg',url:'http://algolinternational.com/p-8799143.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'定模型腔 新.dwg',url:'http://algolinternational.com/p-8799144.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'定模墊板[1].Drawing1.dwg',url:'http://algolinternational.com/p-8799145.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'定模行腔[1].Drawing1.dwg',url:'http://algolinternational.com/p-8799146.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'定模釷塊 二.dwg',url:'http://algolinternational.com/p-8799147.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'定模鑲件.dwg',url:'http://algolinternational.com/p-8799148.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'拉料桿.dwg',url:'http://algolinternational.com/p-8799149.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'框架.dwg',url:'http://algolinternational.com/p-8799150.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'裝備圖.dwg',url:'http://algolinternational.com/p-8799151.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'裝配圖新.dwg',url:'http://algolinternational.com/p-8799152.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'設(shè)計說明書.doc',url:'http://algolinternational.com/p-8799153.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 = '3428114'; 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; }); });