'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'精煉爐鋼包設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'精煉爐鋼包設(shè)計 (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'圖紙 (包含18個文件)', },{ id:'000010000100001', pId:'0000100001', name:'00100.dwg (233KB)', click:'getBookinfo(8587827)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'diaoergaiban.dwg (80KB)', click:'getBookinfo(8587828)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'dijiaojinban (2).dwg (78KB)', click:'getBookinfo(8587829)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'erzhou .dwg (79KB)', click:'getBookinfo(8587830)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'gangbaodi.dwg (84KB)', click:'getBookinfo(8587831)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'gangbaoti.dwg (98KB)', click:'getBookinfo(8587832)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'GXL5943.3.2.dwg (115KB)', click:'getBookinfo(8587833)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'hengerjin.dwg (83KB)', click:'getBookinfo(8587834)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'jiancheng.dwg (90KB)', click:'getBookinfo(8587835)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'jianjin.dwg (89KB)', click:'getBookinfo(8587836)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'jiaqiangban.dwg (97KB)', click:'getBookinfo(8587837)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'shangerjin.dwg (85KB)', click:'getBookinfo(8587838)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'shanghuanban.dwg (79KB)', click:'getBookinfo(8587839)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'shangxieerjin.dwg (95KB)', click:'getBookinfo(8587840)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'xiaerjin.dwg (81KB)', click:'getBookinfo(8587841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'xiaxieerjin (2).dwg (93KB)', click:'getBookinfo(8587842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'zhijia.dwg (104KB)', click:'getBookinfo(8587843)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100018', pId:'0000100001', name:'液壓缸.dwg (136KB)', click:'getBookinfo(8587844)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中期報告.doc (126KB)', click:'getBookinfo(8587845)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'開題報告.docx (32KB)', click:'getBookinfo(8587846)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'畢業(yè)論文.doc (750KB)', click:'getBookinfo(8587847)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'精煉爐鋼包設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'00100.dwg',url:'http://facezit.com/p-8587827.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'diaoergaiban.dwg',url:'http://facezit.com/p-8587828.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'dijiaojinban (2).dwg',url:'http://facezit.com/p-8587829.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'erzhou .dwg',url:'http://facezit.com/p-8587830.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'gangbaodi.dwg',url:'http://facezit.com/p-8587831.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'gangbaoti.dwg',url:'http://facezit.com/p-8587832.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'GXL5943.3.2.dwg',url:'http://facezit.com/p-8587833.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'hengerjin.dwg',url:'http://facezit.com/p-8587834.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'jiancheng.dwg',url:'http://facezit.com/p-8587835.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'jianjin.dwg',url:'http://facezit.com/p-8587836.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'jiaqiangban.dwg',url:'http://facezit.com/p-8587837.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'shangerjin.dwg',url:'http://facezit.com/p-8587838.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'shanghuanban.dwg',url:'http://facezit.com/p-8587839.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'shangxieerjin.dwg',url:'http://facezit.com/p-8587840.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'xiaerjin.dwg',url:'http://facezit.com/p-8587841.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'xiaxieerjin (2).dwg',url:'http://facezit.com/p-8587842.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'zhijia.dwg',url:'http://facezit.com/p-8587843.html', target:'_blank' },{ id:'000010000100018', pId:'0000100001', name:'液壓缸.dwg',url:'http://facezit.com/p-8587844.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中期報告.doc',url:'http://facezit.com/p-8587845.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'開題報告.docx',url:'http://facezit.com/p-8587846.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'畢業(yè)論文.doc',url:'http://facezit.com/p-8587847.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 = '7499721'; 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; }); });