'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'多功能自動跑步機(jī)(機(jī)械部分設(shè)計(jì)).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'多功能自動跑步機(jī)(機(jī)械部分設(shè)計(jì)) (包含18個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'+設(shè)計(jì)-多功能自動跑步機(jī)(機(jī)械部分設(shè)計(jì)) (包含17個(gè)文件)', },{ id:'000010000100001', pId:'0000100001', name:'任務(wù)書.doc (44KB)', click:'getBookinfo(8523213)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'合圖.gif (12KB)', click:'getBookinfo(8523214)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'合圖A0.dwg (99KB)', click:'getBookinfo(8523215)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'底座.gif (8KB)', click:'getBookinfo(8523216)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'底座A0.DWG (53KB)', click:'getBookinfo(8523217)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'開題報(bào)告.doc (36KB)', click:'getBookinfo(8523218)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'拉銷A4.DWG (45KB)', click:'getBookinfo(8523219)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'摘要.doc (149KB)', click:'getBookinfo(8523220)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'支架.gif (7KB)', click:'getBookinfo(8523221)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'支架A0.DWG (69KB)', click:'getBookinfo(8523222)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'畢業(yè)設(shè)計(jì)任務(wù)書 楊.doc (30KB)', click:'getBookinfo(8523223)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'海報(bào).jpg (122KB)', click:'getBookinfo(8523224)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'滾筒.gif (6KB)', click:'getBookinfo(8523225)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100014', pId:'0000100001', name:'滾筒A1.DWG (46KB)', click:'getBookinfo(8523226)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100015', pId:'0000100001', name:'裝配圖.gif (12KB)', click:'getBookinfo(8523227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100016', pId:'0000100001', name:'裝配圖A0.dwg (257KB)', click:'getBookinfo(8523228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100017', pId:'0000100001', name:'論文.doc (3554KB)', click:'getBookinfo(8523229)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'多功能自動跑步機(jī)(機(jī)械部分設(shè)計(jì)).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8523213.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'合圖.gif',url:'http://m.facezit.com/p-8523214.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'合圖A0.dwg',url:'http://m.facezit.com/p-8523215.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'底座.gif',url:'http://m.facezit.com/p-8523216.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'底座A0.DWG',url:'http://m.facezit.com/p-8523217.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'開題報(bào)告.doc',url:'http://m.facezit.com/p-8523218.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'拉銷A4.DWG',url:'http://m.facezit.com/p-8523219.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'摘要.doc',url:'http://m.facezit.com/p-8523220.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'支架.gif',url:'http://m.facezit.com/p-8523221.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'支架A0.DWG',url:'http://m.facezit.com/p-8523222.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'畢業(yè)設(shè)計(jì)任務(wù)書 楊.doc',url:'http://m.facezit.com/p-8523223.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'海報(bào).jpg',url:'http://m.facezit.com/p-8523224.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'滾筒.gif',url:'http://m.facezit.com/p-8523225.html', target:'_blank' },{ id:'000010000100014', pId:'0000100001', name:'滾筒A1.DWG',url:'http://m.facezit.com/p-8523226.html', target:'_blank' },{ id:'000010000100015', pId:'0000100001', name:'裝配圖.gif',url:'http://m.facezit.com/p-8523227.html', target:'_blank' },{ id:'000010000100016', pId:'0000100001', name:'裝配圖A0.dwg',url:'http://m.facezit.com/p-8523228.html', target:'_blank' },{ id:'000010000100017', pId:'0000100001', name:'論文.doc',url:'http://m.facezit.com/p-8523229.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 = '7260237'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });