'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'5號電池充電器外殼的塑件注射模.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'5號電池充電器外殼的塑件注射模 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'充電器 (包含20個文件)', },{ id:'000010000100001', pId:'0000100001', name:'充電器 (包含18個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'上殼圖A2.dwg (844KB)', click:'getBookinfo(8397379)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'上蓋圖A3.dwg (76KB)', click:'getBookinfo(8397380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'下盒圖A4.dwg (181KB)', click:'getBookinfo(8397381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'充電器零件圖A4.dwg (429KB)', click:'getBookinfo(8397382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'冷卻水管A4.dwg (44KB)', click:'getBookinfo(8397383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'動模板A4.dwg (55KB)', click:'getBookinfo(8397384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'動模鑲塊A3.dwg (73KB)', click:'getBookinfo(8397385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'壓塊A4.dwg (32KB)', click:'getBookinfo(8397386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100009', pId:'000010000100001', name:'型芯2A4.dwg (34KB)', click:'getBookinfo(8397387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100010', pId:'000010000100001', name:'型芯A4.dwg (34KB)', click:'getBookinfo(8397388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100011', pId:'000010000100001', name:'定模鑲塊A3.dwg (72KB)', click:'getBookinfo(8397389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100012', pId:'000010000100001', name:'總裝配圖A0.dwg (391KB)', click:'getBookinfo(8397390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100013', pId:'000010000100001', name:'擋塊A4.dwg (31KB)', click:'getBookinfo(8397391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100014', pId:'000010000100001', name:'擺鉤A4.dwg (33KB)', click:'getBookinfo(8397392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100015', pId:'000010000100001', name:'澆口A4.dwg (37KB)', click:'getBookinfo(8397393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100016', pId:'000010000100001', name:'滑塊2A2.dwg (47KB)', click:'getBookinfo(8397394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100017', pId:'000010000100001', name:'滑塊A2.dwg (48KB)', click:'getBookinfo(8397395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100018', pId:'000010000100001', name:'設(shè)計說明書.doc (441KB)', click:'getBookinfo(8397396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'Desktop.ini (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'5號電池充電器外殼的塑件注射模.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'上殼圖A2.dwg',url:'http://m.facezit.com/p-8397379.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'上蓋圖A3.dwg',url:'http://m.facezit.com/p-8397380.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'下盒圖A4.dwg',url:'http://m.facezit.com/p-8397381.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'充電器零件圖A4.dwg',url:'http://m.facezit.com/p-8397382.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'冷卻水管A4.dwg',url:'http://m.facezit.com/p-8397383.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'動模板A4.dwg',url:'http://m.facezit.com/p-8397384.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'動模鑲塊A3.dwg',url:'http://m.facezit.com/p-8397385.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'壓塊A4.dwg',url:'http://m.facezit.com/p-8397386.html', target:'_blank' },{ id:'00001000010000100009', pId:'000010000100001', name:'型芯2A4.dwg',url:'http://m.facezit.com/p-8397387.html', target:'_blank' },{ id:'00001000010000100010', pId:'000010000100001', name:'型芯A4.dwg',url:'http://m.facezit.com/p-8397388.html', target:'_blank' },{ id:'00001000010000100011', pId:'000010000100001', name:'定模鑲塊A3.dwg',url:'http://m.facezit.com/p-8397389.html', target:'_blank' },{ id:'00001000010000100012', pId:'000010000100001', name:'總裝配圖A0.dwg',url:'http://m.facezit.com/p-8397390.html', target:'_blank' },{ id:'00001000010000100013', pId:'000010000100001', name:'擋塊A4.dwg',url:'http://m.facezit.com/p-8397391.html', target:'_blank' },{ id:'00001000010000100014', pId:'000010000100001', name:'擺鉤A4.dwg',url:'http://m.facezit.com/p-8397392.html', target:'_blank' },{ id:'00001000010000100015', pId:'000010000100001', name:'澆口A4.dwg',url:'http://m.facezit.com/p-8397393.html', target:'_blank' },{ id:'00001000010000100016', pId:'000010000100001', name:'滑塊2A2.dwg',url:'http://m.facezit.com/p-8397394.html', target:'_blank' },{ id:'00001000010000100017', pId:'000010000100001', name:'滑塊A2.dwg',url:'http://m.facezit.com/p-8397395.html', target:'_blank' },{ id:'00001000010000100018', pId:'000010000100001', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8397396.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 = '7246549'; 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; }); });