'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'5號電池充電器外殼的塑件注射模設(shè)計【注射?!俊?7張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'5號電池充電器外殼的塑件注射模設(shè)計論文.doc (411KB)', click:'getBookinfo(8398920)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'上殼圖A2.dwg (844KB)', click:'getBookinfo(8398921)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'上蓋圖A3.dwg (76KB)', click:'getBookinfo(8398922)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'下盒圖A4.dwg (128KB)', click:'getBookinfo(8398923)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'充電器零件圖A4.dwg (429KB)', click:'getBookinfo(8398924)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'冷卻水管A4.dwg (44KB)', click:'getBookinfo(8398925)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'動模板A4.dwg (55KB)', click:'getBookinfo(8398926)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'動模鑲塊A3.dwg (73KB)', click:'getBookinfo(8398927)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'壓塊A4.dwg (32KB)', click:'getBookinfo(8398928)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'型芯2A4.dwg (34KB)', click:'getBookinfo(8398929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'型芯A4.dwg (34KB)', click:'getBookinfo(8398930)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'定模鑲塊A3.dwg (60KB)', click:'getBookinfo(8398931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'總裝配圖A0.dwg (295KB)', click:'getBookinfo(8398932)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'擋塊A4.dwg (31KB)', click:'getBookinfo(8398933)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'擺鉤A4.dwg (33KB)', click:'getBookinfo(8398934)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'澆口A4.dwg (37KB)', click:'getBookinfo(8398935)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'滑塊2A2.dwg (47KB)', click:'getBookinfo(8398936)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'滑塊A2.dwg (48KB)', click:'getBookinfo(8398937)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'5號電池充電器外殼的塑件注射模設(shè)計【注射?!俊?7張cad圖紙畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'5號電池充電器外殼的塑件注射模設(shè)計論文.doc',url:'http://facezit.com/p-8398920.html', target:'_blank' },{ id:'00002', pId:'1', name:'上殼圖A2.dwg',url:'http://facezit.com/p-8398921.html', target:'_blank' },{ id:'00003', pId:'1', name:'上蓋圖A3.dwg',url:'http://facezit.com/p-8398922.html', target:'_blank' },{ id:'00004', pId:'1', name:'下盒圖A4.dwg',url:'http://facezit.com/p-8398923.html', target:'_blank' },{ id:'00005', pId:'1', name:'充電器零件圖A4.dwg',url:'http://facezit.com/p-8398924.html', target:'_blank' },{ id:'00006', pId:'1', name:'冷卻水管A4.dwg',url:'http://facezit.com/p-8398925.html', target:'_blank' },{ id:'00007', pId:'1', name:'動模板A4.dwg',url:'http://facezit.com/p-8398926.html', target:'_blank' },{ id:'00008', pId:'1', name:'動模鑲塊A3.dwg',url:'http://facezit.com/p-8398927.html', target:'_blank' },{ id:'00009', pId:'1', name:'壓塊A4.dwg',url:'http://facezit.com/p-8398928.html', target:'_blank' },{ id:'00010', pId:'1', name:'型芯2A4.dwg',url:'http://facezit.com/p-8398929.html', target:'_blank' },{ id:'00011', pId:'1', name:'型芯A4.dwg',url:'http://facezit.com/p-8398930.html', target:'_blank' },{ id:'00012', pId:'1', name:'定模鑲塊A3.dwg',url:'http://facezit.com/p-8398931.html', target:'_blank' },{ id:'00013', pId:'1', name:'總裝配圖A0.dwg',url:'http://facezit.com/p-8398932.html', target:'_blank' },{ id:'00014', pId:'1', name:'擋塊A4.dwg',url:'http://facezit.com/p-8398933.html', target:'_blank' },{ id:'00015', pId:'1', name:'擺鉤A4.dwg',url:'http://facezit.com/p-8398934.html', target:'_blank' },{ id:'00016', pId:'1', name:'澆口A4.dwg',url:'http://facezit.com/p-8398935.html', target:'_blank' },{ id:'00017', pId:'1', name:'滑塊2A2.dwg',url:'http://facezit.com/p-8398936.html', target:'_blank' },{ id:'00018', pId:'1', name:'滑塊A2.dwg',url:'http://facezit.com/p-8398937.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 = '7246693'; 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; }); });