'; } $("#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:'多功能自動跑步機(機械部分設計) (包含18個文件)', },{ id:'0000100001', pId:'00001', name:'+設計-多功能自動跑步機(機械部分設計) (包含17個文件)', },{ id:'000010000100001', pId:'0000100001', name:'任務書.doc (44KB)', click:'getBookinfo(8143385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'合圖.gif (12KB)', click:'getBookinfo(8143386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'合圖A0.dwg (99KB)', click:'getBookinfo(8143387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'底座.gif (8KB)', click:'getBookinfo(8143388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'底座A0.DWG (53KB)', click:'getBookinfo(8143389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'開題報告.doc (36KB)', click:'getBookinfo(8143390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'拉銷A4.DWG (45KB)', click:'getBookinfo(8143391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'摘要.doc (149KB)', click:'getBookinfo(8143392)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'支架.gif (7KB)', click:'getBookinfo(8143393)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'支架A0.DWG (69KB)', click:'getBookinfo(8143394)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'畢業(yè)設計任務書 楊.doc (30KB)', click:'getBookinfo(8143395)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'海報.jpg (122KB)', click:'getBookinfo(8143396)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'滾筒.gif (6KB)', click:'getBookinfo(8143397)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'滾筒A1.DWG (46KB)', click:'getBookinfo(8143398)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'裝配圖.gif (12KB)', click:'getBookinfo(8143399)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'裝配圖A0.dwg (257KB)', click:'getBookinfo(8143400)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'論文.doc (3554KB)', click:'getBookinfo(8143401)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'多功能自動跑步機(機械部分設計).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'任務書.doc',url:'http://m.facezit.com/p-8143385.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'合圖.gif',url:'http://m.facezit.com/p-8143386.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'合圖A0.dwg',url:'http://m.facezit.com/p-8143387.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'底座.gif',url:'http://m.facezit.com/p-8143388.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'底座A0.DWG',url:'http://m.facezit.com/p-8143389.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'開題報告.doc',url:'http://m.facezit.com/p-8143390.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'拉銷A4.DWG',url:'http://m.facezit.com/p-8143391.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'摘要.doc',url:'http://m.facezit.com/p-8143392.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'支架.gif',url:'http://m.facezit.com/p-8143393.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'支架A0.DWG',url:'http://m.facezit.com/p-8143394.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'畢業(yè)設計任務書 楊.doc',url:'http://m.facezit.com/p-8143395.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'海報.jpg',url:'http://m.facezit.com/p-8143396.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'滾筒.gif',url:'http://m.facezit.com/p-8143397.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'滾筒A1.DWG',url:'http://m.facezit.com/p-8143398.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'裝配圖.gif',url:'http://m.facezit.com/p-8143399.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8143400.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'論文.doc',url:'http://m.facezit.com/p-8143401.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 = '3526828'; 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ù)據錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });