'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'臺燈插座注塑模具設計與制造.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'臺燈插座注塑模具設計與制造 (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'1-臺燈插座注塑模具設計與制造 (包含0個文件)', },{ id:'0000100002', pId:'00001', name:'A0注塑??傃b.dwg (304KB)', click:'getBookinfo(8790125)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A2型腔板.dwg (613KB)', click:'getBookinfo(8790126)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A2大型心.dwg (260KB)', click:'getBookinfo(8790127)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2導滑板.dwg (782KB)', click:'getBookinfo(8790128)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A2燈座.dwg (625KB)', click:'getBookinfo(8790129)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3推桿2.dwg (78KB)', click:'getBookinfo(8790130)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A3模足.dwg (51KB)', click:'getBookinfo(8790131)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A4型芯.dwg (47KB)', click:'getBookinfo(8790132)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A4復位桿.dwg (40KB)', click:'getBookinfo(8790133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A4定位圈.dwg (48KB)', click:'getBookinfo(8790134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A4推桿.dwg (49KB)', click:'getBookinfo(8790135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'A4推桿1.dwg (45KB)', click:'getBookinfo(8790136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'a4限位桿.dwg (45KB)', click:'getBookinfo(8790137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'A4項圈.dwg (36KB)', click:'getBookinfo(8790138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'臺燈插座注射模具設計與制造.doc (990KB)', click:'getBookinfo(8790139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'目 錄.doc (19KB)', click:'getBookinfo(8790140)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'臺燈插座注塑模具設計與制造.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'A0注塑??傃b.dwg',url:'http://m.facezit.com/p-8790125.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A2型腔板.dwg',url:'http://m.facezit.com/p-8790126.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A2大型心.dwg',url:'http://m.facezit.com/p-8790127.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2導滑板.dwg',url:'http://m.facezit.com/p-8790128.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A2燈座.dwg',url:'http://m.facezit.com/p-8790129.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3推桿2.dwg',url:'http://m.facezit.com/p-8790130.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A3模足.dwg',url:'http://m.facezit.com/p-8790131.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A4型芯.dwg',url:'http://m.facezit.com/p-8790132.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A4復位桿.dwg',url:'http://m.facezit.com/p-8790133.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A4定位圈.dwg',url:'http://m.facezit.com/p-8790134.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A4推桿.dwg',url:'http://m.facezit.com/p-8790135.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'A4推桿1.dwg',url:'http://m.facezit.com/p-8790136.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'a4限位桿.dwg',url:'http://m.facezit.com/p-8790137.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'A4項圈.dwg',url:'http://m.facezit.com/p-8790138.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'臺燈插座注射模具設計與制造.doc',url:'http://m.facezit.com/p-8790139.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'目 錄.doc',url:'http://m.facezit.com/p-8790140.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 = '3424452'; 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; }); });