'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】4427耕田機地輪的制造工藝編制及焊接模具設計【機械畢業(yè)設計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4427耕田機地輪的制造工藝編制及焊接模具設計 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'200940614129.rar (包含15個文件)', },{ id:'000010000100001', pId:'0000100001', name:'圖紙 (包含8個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'A0.dwg (395KB)', click:'getBookinfo(8453805)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'A1.dwg (183KB)', click:'getBookinfo(8453806)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'A3.dwg (120KB)', click:'getBookinfo(8453807)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'fixture_01 A4.dwg (52KB)', click:'getBookinfo(8453808)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'fixture_02 A4.dwg (57KB)', click:'getBookinfo(8453809)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'fixture_03 A4.dwg (83KB)', click:'getBookinfo(8453810)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'fixture_04 A4.dwg (74KB)', click:'getBookinfo(8453811)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'fixture_05A4.dwg (45KB)', click:'getBookinfo(8453812)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'三維彩圖.doc (803KB)', click:'getBookinfo(8453813)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'中期檢查表.doc (33KB)', click:'getBookinfo(8453814)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'任務書.doc (43KB)', click:'getBookinfo(8453815)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'開題報告.doc (42KB)', click:'getBookinfo(8453816)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'論文正稿.doc (704KB)', click:'getBookinfo(8453817)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'選題審批表.doc (29KB)', click:'getBookinfo(8453818)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】4427耕田機地輪的制造工藝編制及焊接模具設計【機械畢業(yè)設計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'A0.dwg',url:'http://m.facezit.com/p-8453805.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'A1.dwg',url:'http://m.facezit.com/p-8453806.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'A3.dwg',url:'http://m.facezit.com/p-8453807.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'fixture_01 A4.dwg',url:'http://m.facezit.com/p-8453808.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'fixture_02 A4.dwg',url:'http://m.facezit.com/p-8453809.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'fixture_03 A4.dwg',url:'http://m.facezit.com/p-8453810.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'fixture_04 A4.dwg',url:'http://m.facezit.com/p-8453811.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'fixture_05A4.dwg',url:'http://m.facezit.com/p-8453812.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'三維彩圖.doc',url:'http://m.facezit.com/p-8453813.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8453814.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'任務書.doc',url:'http://m.facezit.com/p-8453815.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'開題報告.doc',url:'http://m.facezit.com/p-8453816.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'論文正稿.doc',url:'http://m.facezit.com/p-8453817.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'選題審批表.doc',url:'http://m.facezit.com/p-8453818.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 = '7252423'; 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; }); });