'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'數(shù)碼相機(jī)面殼模具設(shè)計(jì)【注射模】【帶proe三維】【11張cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'PROE三維圖.rar (12822KB)', click:'getBookinfo(8717237)', icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'任務(wù)書.doc (30KB)', click:'getBookinfo(8717238)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'凸模.dwg (87KB)', click:'getBookinfo(8717239)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'凹模.dwg (83KB)', click:'getBookinfo(8717240)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'前期材料.doc (52KB)', click:'getBookinfo(8717241)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'動(dòng)模墊板.dwg (62KB)', click:'getBookinfo(8717242)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'動(dòng)模座板.dwg (58KB)', click:'getBookinfo(8717243)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'動(dòng)模板.dwg (64KB)', click:'getBookinfo(8717244)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'定模座板.dwg (68KB)', click:'getBookinfo(8717245)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'定模板.dwg (80KB)', click:'getBookinfo(8717246)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'推件桿固定板和推桿墊板.dwg (70KB)', click:'getBookinfo(8717247)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'推件板.dwg (59KB)', click:'getBookinfo(8717248)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'數(shù)碼相機(jī)面殼模具設(shè)計(jì)開(kāi)題報(bào)告.doc (56KB)', click:'getBookinfo(8717249)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'數(shù)碼相機(jī)面殼模具設(shè)計(jì)說(shuō)明書.doc (11241KB)', click:'getBookinfo(8717250)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'模具裝配圖.dwg (402KB)', click:'getBookinfo(8717251)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'相機(jī)面殼.dwg (87KB)', click:'getBookinfo(8717252)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'數(shù)碼相機(jī)面殼模具設(shè)計(jì)【注射?!俊編roe三維】【11張cad圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'PROE三維圖.rar',url:'http://www.nydnatest.com/p-8717237.html', target:'_blank' },{ id:'00002', pId:'1', name:'任務(wù)書.doc',url:'http://www.nydnatest.com/p-8717238.html', target:'_blank' },{ id:'00003', pId:'1', name:'凸模.dwg',url:'http://www.nydnatest.com/p-8717239.html', target:'_blank' },{ id:'00004', pId:'1', name:'凹模.dwg',url:'http://www.nydnatest.com/p-8717240.html', target:'_blank' },{ id:'00005', pId:'1', name:'前期材料.doc',url:'http://www.nydnatest.com/p-8717241.html', target:'_blank' },{ id:'00006', pId:'1', name:'動(dòng)模墊板.dwg',url:'http://www.nydnatest.com/p-8717242.html', target:'_blank' },{ id:'00007', pId:'1', name:'動(dòng)模座板.dwg',url:'http://www.nydnatest.com/p-8717243.html', target:'_blank' },{ id:'00008', pId:'1', name:'動(dòng)模板.dwg',url:'http://www.nydnatest.com/p-8717244.html', target:'_blank' },{ id:'00009', pId:'1', name:'定模座板.dwg',url:'http://www.nydnatest.com/p-8717245.html', target:'_blank' },{ id:'00010', pId:'1', name:'定模板.dwg',url:'http://www.nydnatest.com/p-8717246.html', target:'_blank' },{ id:'00011', pId:'1', name:'推件桿固定板和推桿墊板.dwg',url:'http://www.nydnatest.com/p-8717247.html', target:'_blank' },{ id:'00012', pId:'1', name:'推件板.dwg',url:'http://www.nydnatest.com/p-8717248.html', target:'_blank' },{ id:'00013', pId:'1', name:'數(shù)碼相機(jī)面殼模具設(shè)計(jì)開(kāi)題報(bào)告.doc',url:'http://www.nydnatest.com/p-8717249.html', target:'_blank' },{ id:'00014', pId:'1', name:'數(shù)碼相機(jī)面殼模具設(shè)計(jì)說(shuō)明書.doc',url:'http://www.nydnatest.com/p-8717250.html', target:'_blank' },{ id:'00015', pId:'1', name:'模具裝配圖.dwg',url:'http://www.nydnatest.com/p-8717251.html', target:'_blank' },{ id:'00016', pId:'1', name:'相機(jī)面殼.dwg',url:'http://www.nydnatest.com/p-8717252.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3435566'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });