'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'jx033拉深模設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'JX033拉深模設(shè)計 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'Drawing1.dwg (36KB)', click:'getBookinfo(8428258)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'凸凹模.dwg (53KB)', click:'getBookinfo(8428259)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'凸凹模.dwl (0KB)', },{ id:'0000100004', pId:'00001', name:'凹.dwg (72KB)', click:'getBookinfo(8428260)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'凹.dwl (0KB)', },{ id:'0000100006', pId:'00001', name:'截圖57.png (16KB)', click:'getBookinfo(8428261)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'截圖58.png (31KB)', click:'getBookinfo(8428262)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'截圖59.png (29KB)', click:'getBookinfo(8428263)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'截圖60.png (29KB)', click:'getBookinfo(8428264)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'截圖61.png (56KB)', click:'getBookinfo(8428265)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'截圖62.png (57KB)', click:'getBookinfo(8428266)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'截圖63.png (7KB)', click:'getBookinfo(8428267)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'截圖64.png (20KB)', click:'getBookinfo(8428268)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'拉深凸模.dwg (49KB)', click:'getBookinfo(8428269)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'拉深凸模.dwl (0KB)', },{ id:'0000100016', pId:'00001', name:'畢業(yè)設(shè)計零件圖.dwg (29KB)', click:'getBookinfo(8428270)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'畢業(yè)設(shè)計零件圖.dwl (0KB)', },{ id:'0000100018', pId:'00001', name:'裝配圖.dwg (55KB)', click:'getBookinfo(8428271)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'設(shè)計參考.doc (518KB)', click:'getBookinfo(8428272)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'jx033拉深模設(shè)計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'Drawing1.dwg',url:'http://m.facezit.com/p-8428258.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'凸凹模.dwg',url:'http://m.facezit.com/p-8428259.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'凹.dwg',url:'http://m.facezit.com/p-8428260.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'截圖57.png',url:'http://m.facezit.com/p-8428261.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'截圖58.png',url:'http://m.facezit.com/p-8428262.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'截圖59.png',url:'http://m.facezit.com/p-8428263.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'截圖60.png',url:'http://m.facezit.com/p-8428264.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'截圖61.png',url:'http://m.facezit.com/p-8428265.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'截圖62.png',url:'http://m.facezit.com/p-8428266.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'截圖63.png',url:'http://m.facezit.com/p-8428267.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'截圖64.png',url:'http://m.facezit.com/p-8428268.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'拉深凸模.dwg',url:'http://m.facezit.com/p-8428269.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'畢業(yè)設(shè)計零件圖.dwg',url:'http://m.facezit.com/p-8428270.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8428271.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'設(shè)計參考.doc',url:'http://m.facezit.com/p-8428272.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 = '7249576'; 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; }); });