'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'肥皂盒注塑模具的設計【18張cad圖紙說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'上模座板.dwg (56KB)', click:'getBookinfo(8110468)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'下模座板.dwg (51KB)', click:'getBookinfo(8110469)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'任務書.doc (36KB)', click:'getBookinfo(8110470)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'圓柱銷.dwg (39KB)', click:'getBookinfo(8110471)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型腔.dwg (116KB)', click:'getBookinfo(8110472)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'型芯.dwg (109KB)', click:'getBookinfo(8110473)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'墊塊.dwg (35KB)', click:'getBookinfo(8110474)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'復位桿.dwg (30KB)', click:'getBookinfo(8110475)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'導套.dwg (36KB)', click:'getBookinfo(8110476)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'帶肩導柱.dwg (54KB)', click:'getBookinfo(8110477)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'拉料桿.dwg (41KB)', click:'getBookinfo(8110478)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'推桿1.dwg (40KB)', click:'getBookinfo(8110479)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'推桿2.dwg (39KB)', click:'getBookinfo(8110480)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'推桿3.dwg (38KB)', click:'getBookinfo(8110481)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'推桿固定板.dwg (44KB)', click:'getBookinfo(8110482)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'推板.dwg (54KB)', click:'getBookinfo(8110483)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'澆口套.dwg (56KB)', click:'getBookinfo(8110484)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'目錄.doc (81KB)', click:'getBookinfo(8110485)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'肥皂盒上蓋裝配圖.dwg (220KB)', click:'getBookinfo(8110486)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'肥皂盒下蓋裝配圖.dwg (160KB)', click:'getBookinfo(8110487)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'肥皂盒注塑模具的設計開題報告.doc (82KB)', click:'getBookinfo(8110488)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'肥皂盒注塑模具的設計答辯稿.ppt (748KB)', click:'getBookinfo(8110489)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00023', pId:'1', name:'肥皂盒注塑模具的設計論文.doc (516KB)', click:'getBookinfo(8110490)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'肥皂盒注塑模具的設計【18張cad圖紙說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'上模座板.dwg',url:'http://m.facezit.com/p-8110468.html', target:'_blank' },{ id:'00002', pId:'1', name:'下模座板.dwg',url:'http://m.facezit.com/p-8110469.html', target:'_blank' },{ id:'00003', pId:'1', name:'任務書.doc',url:'http://m.facezit.com/p-8110470.html', target:'_blank' },{ id:'00004', pId:'1', name:'圓柱銷.dwg',url:'http://m.facezit.com/p-8110471.html', target:'_blank' },{ id:'00005', pId:'1', name:'型腔.dwg',url:'http://m.facezit.com/p-8110472.html', target:'_blank' },{ id:'00006', pId:'1', name:'型芯.dwg',url:'http://m.facezit.com/p-8110473.html', target:'_blank' },{ id:'00007', pId:'1', name:'墊塊.dwg',url:'http://m.facezit.com/p-8110474.html', target:'_blank' },{ id:'00008', pId:'1', name:'復位桿.dwg',url:'http://m.facezit.com/p-8110475.html', target:'_blank' },{ id:'00009', pId:'1', name:'導套.dwg',url:'http://m.facezit.com/p-8110476.html', target:'_blank' },{ id:'00010', pId:'1', name:'帶肩導柱.dwg',url:'http://m.facezit.com/p-8110477.html', target:'_blank' },{ id:'00011', pId:'1', name:'拉料桿.dwg',url:'http://m.facezit.com/p-8110478.html', target:'_blank' },{ id:'00012', pId:'1', name:'推桿1.dwg',url:'http://m.facezit.com/p-8110479.html', target:'_blank' },{ id:'00013', pId:'1', name:'推桿2.dwg',url:'http://m.facezit.com/p-8110480.html', target:'_blank' },{ id:'00014', pId:'1', name:'推桿3.dwg',url:'http://m.facezit.com/p-8110481.html', target:'_blank' },{ id:'00015', pId:'1', name:'推桿固定板.dwg',url:'http://m.facezit.com/p-8110482.html', target:'_blank' },{ id:'00016', pId:'1', name:'推板.dwg',url:'http://m.facezit.com/p-8110483.html', target:'_blank' },{ id:'00017', pId:'1', name:'澆口套.dwg',url:'http://m.facezit.com/p-8110484.html', target:'_blank' },{ id:'00018', pId:'1', name:'目錄.doc',url:'http://m.facezit.com/p-8110485.html', target:'_blank' },{ id:'00019', pId:'1', name:'肥皂盒上蓋裝配圖.dwg',url:'http://m.facezit.com/p-8110486.html', target:'_blank' },{ id:'00020', pId:'1', name:'肥皂盒下蓋裝配圖.dwg',url:'http://m.facezit.com/p-8110487.html', target:'_blank' },{ id:'00021', pId:'1', name:'肥皂盒注塑模具的設計開題報告.doc',url:'http://m.facezit.com/p-8110488.html', target:'_blank' },{ id:'00022', pId:'1', name:'肥皂盒注塑模具的設計答辯稿.ppt',url:'http://m.facezit.com/p-8110489.html', target:'_blank' },{ id:'00023', pId:'1', name:'肥皂盒注塑模具的設計論文.doc',url:'http://m.facezit.com/p-8110490.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 = '3527719'; 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; }); });