'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'4427耕田機(jī)地輪的制造工藝編制及焊接模具設(shè)計【機(jī)械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'4427耕田機(jī)地輪的制造工藝編制及焊接模具設(shè)計 (包含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(8099381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'A1.dwg (183KB)', click:'getBookinfo(8099382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'A3.dwg (120KB)', click:'getBookinfo(8099383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'fixture_01 A4.dwg (52KB)', click:'getBookinfo(8099384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'fixture_02 A4.dwg (57KB)', click:'getBookinfo(8099385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'fixture_03 A4.dwg (83KB)', click:'getBookinfo(8099386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'fixture_04 A4.dwg (74KB)', click:'getBookinfo(8099387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'fixture_05A4.dwg (45KB)', click:'getBookinfo(8099388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'三維彩圖.doc (803KB)', click:'getBookinfo(8099389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'中期檢查表.doc (33KB)', click:'getBookinfo(8099390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'任務(wù)書.doc (43KB)', click:'getBookinfo(8099391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'開題報告.doc (42KB)', click:'getBookinfo(8099392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'論文正稿.doc (704KB)', click:'getBookinfo(8099393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'選題審批表.doc (29KB)', click:'getBookinfo(8099394)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'4427耕田機(jī)地輪的制造工藝編制及焊接模具設(shè)計【機(jī)械畢業(yè)設(shè)計全套資料已通過答辯】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'A0.dwg',url:'http://m.facezit.com/p-8099381.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'A1.dwg',url:'http://m.facezit.com/p-8099382.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'A3.dwg',url:'http://m.facezit.com/p-8099383.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'fixture_01 A4.dwg',url:'http://m.facezit.com/p-8099384.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'fixture_02 A4.dwg',url:'http://m.facezit.com/p-8099385.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'fixture_03 A4.dwg',url:'http://m.facezit.com/p-8099386.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'fixture_04 A4.dwg',url:'http://m.facezit.com/p-8099387.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'fixture_05A4.dwg',url:'http://m.facezit.com/p-8099388.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'三維彩圖.doc',url:'http://m.facezit.com/p-8099389.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'中期檢查表.doc',url:'http://m.facezit.com/p-8099390.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8099391.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'開題報告.doc',url:'http://m.facezit.com/p-8099392.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'論文正稿.doc',url:'http://m.facezit.com/p-8099393.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'選題審批表.doc',url:'http://m.facezit.com/p-8099394.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 = '3517498'; 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; }); });