'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'升降舞臺液壓系統(tǒng)設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'升降舞臺液壓系統(tǒng)設計 (包含15個文件)', },{ id:'0000100001', pId:'00001', name:'圖紙 (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'前緩沖.dwg (57KB)', click:'getBookinfo(8183488)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'葉片泵.dwg (162KB)', click:'getBookinfo(8183489)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'后緩沖.dwg (62KB)', click:'getBookinfo(8183490)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'活塞.dwg (74KB)', click:'getBookinfo(8183491)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'活塞桿.dwg (73KB)', click:'getBookinfo(8183492)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'溢流閥.dwg (88KB)', click:'getBookinfo(8183493)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'蓋板.dwg (67KB)', click:'getBookinfo(8183494)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'裝配圖.dwg (570KB)', click:'getBookinfo(8183495)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'轉(zhuǎn)子.dwg (80KB)', click:'getBookinfo(8183496)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'軸.dwg (71KB)', click:'getBookinfo(8183497)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'配流盤.dwg (77KB)', click:'getBookinfo(8183498)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'中期報告.doc (171KB)', click:'getBookinfo(8183499)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'開題報告.doc (32KB)', click:'getBookinfo(8183500)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'畢業(yè)論文.doc (541KB)', click:'getBookinfo(8183501)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'升降舞臺液壓系統(tǒng)設計.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'前緩沖.dwg',url:'http://m.facezit.com/p-8183488.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'葉片泵.dwg',url:'http://m.facezit.com/p-8183489.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'后緩沖.dwg',url:'http://m.facezit.com/p-8183490.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'活塞.dwg',url:'http://m.facezit.com/p-8183491.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'活塞桿.dwg',url:'http://m.facezit.com/p-8183492.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'溢流閥.dwg',url:'http://m.facezit.com/p-8183493.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'蓋板.dwg',url:'http://m.facezit.com/p-8183494.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8183495.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'轉(zhuǎn)子.dwg',url:'http://m.facezit.com/p-8183496.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'軸.dwg',url:'http://m.facezit.com/p-8183497.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'配流盤.dwg',url:'http://m.facezit.com/p-8183498.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'中期報告.doc',url:'http://m.facezit.com/p-8183499.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'開題報告.doc',url:'http://m.facezit.com/p-8183500.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'畢業(yè)論文.doc',url:'http://m.facezit.com/p-8183501.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 = '3528913'; 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; }); });