'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'182kh型行星減速箱設計078105321宋修明.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'1 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'畢業(yè)論文 (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'~$畢業(yè)論文.doc (0KB)', click:'getBookinfo(8187755)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'任務書(正反打印).doc (69KB)', click:'getBookinfo(8187756)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'外文資料封面.doc (44KB)', click:'getBookinfo(8187757)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'學士學位論文原創(chuàng)性聲明.doc (41KB)', click:'getBookinfo(8187758)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'宋修明.pdf (144KB)', click:'getBookinfo(8187759)', icon:'/Images/filetype/PDF16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'工藝卡封面A4.doc (42KB)', click:'getBookinfo(8187760)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'開題報告.doc (55KB)', click:'getBookinfo(8187761)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'摘要.doc (27KB)', click:'getBookinfo(8187762)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'畢業(yè)論文.doc (1350KB)', click:'getBookinfo(8187763)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'畢業(yè)設計(論文)封面.doc (44KB)', click:'getBookinfo(8187764)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'目錄.doc (47KB)', click:'getBookinfo(8187765)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'翻譯.doc (292KB)', click:'getBookinfo(8187766)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'Drawing1.bak (98KB)', },{ id:'0000100003', pId:'00001', name:'Drawing1.dwg (105KB)', click:'getBookinfo(8187767)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'Drawing2.dwg (93KB)', click:'getBookinfo(8187768)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'Drawing3.bak (161KB)', },{ id:'0000100006', pId:'00001', name:'Drawing3.dwg (127KB)', click:'getBookinfo(8187769)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'Drawing4.bak (309KB)', },{ id:'0000100008', pId:'00001', name:'Drawing4.dwg (332KB)', click:'getBookinfo(8187770)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'plot.log (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'182kh型行星減速箱設計078105321宋修明.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'~$畢業(yè)論文.doc',url:'http://facezit.com/p-8187755.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'任務書(正反打印).doc',url:'http://facezit.com/p-8187756.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'外文資料封面.doc',url:'http://facezit.com/p-8187757.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'學士學位論文原創(chuàng)性聲明.doc',url:'http://facezit.com/p-8187758.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'宋修明.pdf',url:'http://facezit.com/p-8187759.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'工藝卡封面A4.doc',url:'http://facezit.com/p-8187760.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'開題報告.doc',url:'http://facezit.com/p-8187761.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'摘要.doc',url:'http://facezit.com/p-8187762.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'畢業(yè)論文.doc',url:'http://facezit.com/p-8187763.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'畢業(yè)設計(論文)封面.doc',url:'http://facezit.com/p-8187764.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'目錄.doc',url:'http://facezit.com/p-8187765.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'翻譯.doc',url:'http://facezit.com/p-8187766.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'Drawing1.dwg',url:'http://facezit.com/p-8187767.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'Drawing2.dwg',url:'http://facezit.com/p-8187768.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'Drawing3.dwg',url:'http://facezit.com/p-8187769.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'Drawing4.dwg',url:'http://facezit.com/p-8187770.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 = '3530853'; 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; }); });