'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'臺燈插座注射模具設(shè)計與制造.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'臺燈插座注射模具設(shè)計與制造 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'123 (包含8個文件)', },{ id:'000010000100001', pId:'0000100001', name:'新建文件夾 (包含1個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'序言.doc (133KB)', click:'getBookinfo(8508954)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'Document 片段 '致 謝 歷時一個多月的畢業(yè)設(shè)...'.shs (37KB)', },{ id:'000010000100003', pId:'0000100001', name:'Drawing1twxDHJ.dwg (618KB)', click:'getBookinfo(8508955)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'型腔板.dwg (613KB)', click:'getBookinfo(8508956)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'大型心.dwg (260KB)', click:'getBookinfo(8508957)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'導(dǎo)滑板.dwg (782KB)', click:'getBookinfo(8508958)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'燈座.dwg (625KB)', click:'getBookinfo(8508959)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'丁毛 (包含9個文件)', },{ id:'000010000200001', pId:'0000100002', name:'12.dwg (49KB)', click:'getBookinfo(8508960)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'13.dwg (45KB)', click:'getBookinfo(8508961)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'15.dwg (78KB)', click:'getBookinfo(8508962)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'16.dwg (36KB)', click:'getBookinfo(8508963)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'17.dwg (48KB)', click:'getBookinfo(8508964)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'24.dwg (47KB)', click:'getBookinfo(8508965)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200007', pId:'0000100002', name:'27.dwg (40KB)', click:'getBookinfo(8508966)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200008', pId:'0000100002', name:'28.dwg (51KB)', click:'getBookinfo(8508967)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200009', pId:'0000100002', name:'5.dwg (45KB)', click:'getBookinfo(8508968)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'臺燈插座注射模具設(shè)計與制造.doc (957KB)', click:'getBookinfo(8508969)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'目 錄.doc (19KB)', click:'getBookinfo(8508970)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'臺燈插座注射模具設(shè)計與制造.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'序言.doc',url:'http://m.facezit.com/p-8508954.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'Drawing1twxDHJ.dwg',url:'http://m.facezit.com/p-8508955.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'型腔板.dwg',url:'http://m.facezit.com/p-8508956.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'大型心.dwg',url:'http://m.facezit.com/p-8508957.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'導(dǎo)滑板.dwg',url:'http://m.facezit.com/p-8508958.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'燈座.dwg',url:'http://m.facezit.com/p-8508959.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'12.dwg',url:'http://m.facezit.com/p-8508960.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'13.dwg',url:'http://m.facezit.com/p-8508961.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'15.dwg',url:'http://m.facezit.com/p-8508962.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'16.dwg',url:'http://m.facezit.com/p-8508963.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'17.dwg',url:'http://m.facezit.com/p-8508964.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'24.dwg',url:'http://m.facezit.com/p-8508965.html', target:'_blank' },{ id:'000010000200007', pId:'0000100002', name:'27.dwg',url:'http://m.facezit.com/p-8508966.html', target:'_blank' },{ id:'000010000200008', pId:'0000100002', name:'28.dwg',url:'http://m.facezit.com/p-8508967.html', target:'_blank' },{ id:'000010000200009', pId:'0000100002', name:'5.dwg',url:'http://m.facezit.com/p-8508968.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'臺燈插座注射模具設(shè)計與制造.doc',url:'http://m.facezit.com/p-8508969.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'目 錄.doc',url:'http://m.facezit.com/p-8508970.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 = '7258823'; 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; }); });