'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'2kh型行星減速箱設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'2K-H型行星減速箱設計 (包含17個文件)', },{ id:'0000100001', pId:'00001', name:'1 (包含16個文件)', },{ id:'000010000100001', pId:'0000100001', name:'畢業(yè)論文 (包含11個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'2K-H 型 行 星 減 速 箱 設 計畢業(yè)論文.doc (1350KB)', click:'getBookinfo(8695741)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'任務書(正反打印).doc (69KB)', click:'getBookinfo(8695742)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100003', pId:'000010000100001', name:'外文資料封面.doc (44KB)', click:'getBookinfo(8695743)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100004', pId:'000010000100001', name:'學士學位論文原創(chuàng)性聲明.doc (41KB)', click:'getBookinfo(8695744)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100005', pId:'000010000100001', name:'宋修明.pdf (144KB)', click:'getBookinfo(8695745)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00001000010000100006', pId:'000010000100001', name:'工藝卡封面A4.doc (42KB)', click:'getBookinfo(8695746)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100007', pId:'000010000100001', name:'開題報告.doc (55KB)', click:'getBookinfo(8695747)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100008', pId:'000010000100001', name:'摘要.doc (27KB)', click:'getBookinfo(8695748)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100009', pId:'000010000100001', name:'畢業(yè)設計(論文)封面.doc (44KB)', click:'getBookinfo(8695749)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100010', pId:'000010000100001', name:'目錄.doc (47KB)', click:'getBookinfo(8695750)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100011', pId:'000010000100001', name:'翻譯.doc (292KB)', click:'getBookinfo(8695751)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'Drawing1.dwg (105KB)', click:'getBookinfo(8695752)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'Drawing2.dwg (93KB)', click:'getBookinfo(8695753)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'Drawing3.dwg (127KB)', click:'getBookinfo(8695754)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'Drawing4.dwg (332KB)', click:'getBookinfo(8695755)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'2kh型行星減速箱設計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'2K-H 型 行 星 減 速 箱 設 計畢業(yè)論文.doc',url:'http://m.facezit.com/p-8695741.html', target:'_blank' },{ id:'00001000010000100002', pId:'000010000100001', name:'任務書(正反打印).doc',url:'http://m.facezit.com/p-8695742.html', target:'_blank' },{ id:'00001000010000100003', pId:'000010000100001', name:'外文資料封面.doc',url:'http://m.facezit.com/p-8695743.html', target:'_blank' },{ id:'00001000010000100004', pId:'000010000100001', name:'學士學位論文原創(chuàng)性聲明.doc',url:'http://m.facezit.com/p-8695744.html', target:'_blank' },{ id:'00001000010000100005', pId:'000010000100001', name:'宋修明.pdf',url:'http://m.facezit.com/p-8695745.html', target:'_blank' },{ id:'00001000010000100006', pId:'000010000100001', name:'工藝卡封面A4.doc',url:'http://m.facezit.com/p-8695746.html', target:'_blank' },{ id:'00001000010000100007', pId:'000010000100001', name:'開題報告.doc',url:'http://m.facezit.com/p-8695747.html', target:'_blank' },{ id:'00001000010000100008', pId:'000010000100001', name:'摘要.doc',url:'http://m.facezit.com/p-8695748.html', target:'_blank' },{ id:'00001000010000100009', pId:'000010000100001', name:'畢業(yè)設計(論文)封面.doc',url:'http://m.facezit.com/p-8695749.html', target:'_blank' },{ id:'00001000010000100010', pId:'000010000100001', name:'目錄.doc',url:'http://m.facezit.com/p-8695750.html', target:'_blank' },{ id:'00001000010000100011', pId:'000010000100001', name:'翻譯.doc',url:'http://m.facezit.com/p-8695751.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8695752.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'Drawing2.dwg',url:'http://m.facezit.com/p-8695753.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'Drawing3.dwg',url:'http://m.facezit.com/p-8695754.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'Drawing4.dwg',url:'http://m.facezit.com/p-8695755.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 = '3633897'; 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; }); });