'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【畢業(yè)論文001】0.5t手拉葫蘆設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'【畢業(yè)論文001】0.5t手拉葫蘆設(shè)計 (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'0.5t手拉葫蘆 (包含1個文件)', },{ id:'000010000100001', pId:'0000100001', name:'0.5t手拉葫蘆 設(shè)計.dwg (229KB)', click:'getBookinfo(8790213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'0.5t手拉葫蘆CAD圖紙.dwg (229KB)', click:'getBookinfo(8790214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'0.5t手拉葫蘆CAD圖紙3張.dwg (229KB)', click:'getBookinfo(8790215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'內(nèi)容.jpg (188KB)', click:'getBookinfo(8790216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'圖紙目錄.jpg (52KB)', click:'getBookinfo(8790217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'封面.doc (20KB)', click:'getBookinfo(8790218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'總裝圖.png (30KB)', click:'getBookinfo(8790219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'文件預(yù)覽.jpg (63KB)', click:'getBookinfo(8790220)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'新建 文本文檔.txt (0KB)', click:'getBookinfo(8790221)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100010', pId:'00001', name:'棘輪.png (14KB)', click:'getBookinfo(8790222)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'目錄.jpg (118KB)', click:'getBookinfo(8790223)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'說明書.doc (1129KB)', click:'getBookinfo(8790224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'零件圖.png (13KB)', click:'getBookinfo(8790225)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【畢業(yè)論文001】0.5t手拉葫蘆設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'0.5t手拉葫蘆 設(shè)計.dwg',url:'http://m.facezit.com/p-8790213.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'0.5t手拉葫蘆CAD圖紙.dwg',url:'http://m.facezit.com/p-8790214.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'0.5t手拉葫蘆CAD圖紙3張.dwg',url:'http://m.facezit.com/p-8790215.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'內(nèi)容.jpg',url:'http://m.facezit.com/p-8790216.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'圖紙目錄.jpg',url:'http://m.facezit.com/p-8790217.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8790218.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'總裝圖.png',url:'http://m.facezit.com/p-8790219.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'文件預(yù)覽.jpg',url:'http://m.facezit.com/p-8790220.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'新建 文本文檔.txt',url:'http://m.facezit.com/p-8790221.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'棘輪.png',url:'http://m.facezit.com/p-8790222.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'目錄.jpg',url:'http://m.facezit.com/p-8790223.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8790224.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'零件圖.png',url:'http://m.facezit.com/p-8790225.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 = '3424463'; 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; }); });