'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'全套設計_燈罩塑料模具設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期報告.doc (397KB)', click:'getBookinfo(8589801)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'二維開模.docx (308KB)', click:'getBookinfo(8589802)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'動模固定板A2.dwg (75KB)', click:'getBookinfo(8589803)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'型腔A2橫.dwg (105KB)', click:'getBookinfo(8589804)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'型腔固定板A2.dwg (103KB)', click:'getBookinfo(8589805)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'型芯A2.dwg (116KB)', click:'getBookinfo(8589806)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'型芯固定板A2.dwg (113KB)', click:'getBookinfo(8589807)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'墊塊A4橫.dwg (76KB)', click:'getBookinfo(8589808)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'復位桿A4橫.dwg (57KB)', click:'getBookinfo(8589809)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'定位拉桿A4橫.dwg (57KB)', click:'getBookinfo(8589810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'定位環(huán)A4橫.dwg (71KB)', click:'getBookinfo(8589811)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'定模固定板A2縱.dwg (78KB)', click:'getBookinfo(8589812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'導套1 A4橫.dwg (62KB)', click:'getBookinfo(8589813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'導套2 A4橫.dwg (67KB)', click:'getBookinfo(8589814)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'導柱A4橫.dwg (73KB)', click:'getBookinfo(8589815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'工藝卡片13張.dwg (180KB)', click:'getBookinfo(8589816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'拉料桿A4橫.dwg (58KB)', click:'getBookinfo(8589817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'推料板A3.dwg (73KB)', click:'getBookinfo(8589818)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'推桿固定板A3.dwg (92KB)', click:'getBookinfo(8589819)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'推桿支撐板A3.dwg (81KB)', click:'getBookinfo(8589820)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'斜頂桿A4橫.dwg (68KB)', click:'getBookinfo(8589821)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'斜頂桿固定A4橫.dwg (77KB)', click:'getBookinfo(8589822)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'畢業(yè)設計論文縮寫.doc (1155KB)', click:'getBookinfo(8589823)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'澆口套A4.dwg (74KB)', click:'getBookinfo(8589824)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'燈罩A4橫.dwg (78KB)', click:'getBookinfo(8589825)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00026', pId:'1', name:'燈罩塑料模具設計開題報告.doc (122KB)', click:'getBookinfo(8589826)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00027', pId:'1', name:'燈罩塑料模具設計論文.doc (1188KB)', click:'getBookinfo(8589827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00028', pId:'1', name:'裝配圖.dwg (207KB)', click:'getBookinfo(8589828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00029', pId:'1', name:'頂桿1A4橫.dwg (57KB)', click:'getBookinfo(8589829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00030', pId:'1', name:'頂桿2A4橫.dwg (58KB)', click:'getBookinfo(8589830)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'全套設計_燈罩塑料模具設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'中期報告.doc',url:'http://facezit.com/p-8589801.html', target:'_blank' },{ id:'00002', pId:'1', name:'二維開模.docx',url:'http://facezit.com/p-8589802.html', target:'_blank' },{ id:'00003', pId:'1', name:'動模固定板A2.dwg',url:'http://facezit.com/p-8589803.html', target:'_blank' },{ id:'00004', pId:'1', name:'型腔A2橫.dwg',url:'http://facezit.com/p-8589804.html', target:'_blank' },{ id:'00005', pId:'1', name:'型腔固定板A2.dwg',url:'http://facezit.com/p-8589805.html', target:'_blank' },{ id:'00006', pId:'1', name:'型芯A2.dwg',url:'http://facezit.com/p-8589806.html', target:'_blank' },{ id:'00007', pId:'1', name:'型芯固定板A2.dwg',url:'http://facezit.com/p-8589807.html', target:'_blank' },{ id:'00008', pId:'1', name:'墊塊A4橫.dwg',url:'http://facezit.com/p-8589808.html', target:'_blank' },{ id:'00009', pId:'1', name:'復位桿A4橫.dwg',url:'http://facezit.com/p-8589809.html', target:'_blank' },{ id:'00010', pId:'1', name:'定位拉桿A4橫.dwg',url:'http://facezit.com/p-8589810.html', target:'_blank' },{ id:'00011', pId:'1', name:'定位環(huán)A4橫.dwg',url:'http://facezit.com/p-8589811.html', target:'_blank' },{ id:'00012', pId:'1', name:'定模固定板A2縱.dwg',url:'http://facezit.com/p-8589812.html', target:'_blank' },{ id:'00013', pId:'1', name:'導套1 A4橫.dwg',url:'http://facezit.com/p-8589813.html', target:'_blank' },{ id:'00014', pId:'1', name:'導套2 A4橫.dwg',url:'http://facezit.com/p-8589814.html', target:'_blank' },{ id:'00015', pId:'1', name:'導柱A4橫.dwg',url:'http://facezit.com/p-8589815.html', target:'_blank' },{ id:'00016', pId:'1', name:'工藝卡片13張.dwg',url:'http://facezit.com/p-8589816.html', target:'_blank' },{ id:'00017', pId:'1', name:'拉料桿A4橫.dwg',url:'http://facezit.com/p-8589817.html', target:'_blank' },{ id:'00018', pId:'1', name:'推料板A3.dwg',url:'http://facezit.com/p-8589818.html', target:'_blank' },{ id:'00019', pId:'1', name:'推桿固定板A3.dwg',url:'http://facezit.com/p-8589819.html', target:'_blank' },{ id:'00020', pId:'1', name:'推桿支撐板A3.dwg',url:'http://facezit.com/p-8589820.html', target:'_blank' },{ id:'00021', pId:'1', name:'斜頂桿A4橫.dwg',url:'http://facezit.com/p-8589821.html', target:'_blank' },{ id:'00022', pId:'1', name:'斜頂桿固定A4橫.dwg',url:'http://facezit.com/p-8589822.html', target:'_blank' },{ id:'00023', pId:'1', name:'畢業(yè)設計論文縮寫.doc',url:'http://facezit.com/p-8589823.html', target:'_blank' },{ id:'00024', pId:'1', name:'澆口套A4.dwg',url:'http://facezit.com/p-8589824.html', target:'_blank' },{ id:'00025', pId:'1', name:'燈罩A4橫.dwg',url:'http://facezit.com/p-8589825.html', target:'_blank' },{ id:'00026', pId:'1', name:'燈罩塑料模具設計開題報告.doc',url:'http://facezit.com/p-8589826.html', target:'_blank' },{ id:'00027', pId:'1', name:'燈罩塑料模具設計論文.doc',url:'http://facezit.com/p-8589827.html', target:'_blank' },{ id:'00028', pId:'1', name:'裝配圖.dwg',url:'http://facezit.com/p-8589828.html', target:'_blank' },{ id:'00029', pId:'1', name:'頂桿1A4橫.dwg',url:'http://facezit.com/p-8589829.html', target:'_blank' },{ id:'00030', pId:'1', name:'頂桿2A4橫.dwg',url:'http://facezit.com/p-8589830.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 = '7920042'; 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; }); });