'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'8_網(wǎng)上化妝品營銷系統(tǒng)的設(shè)計與實現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'8_網(wǎng)上化妝品營銷系統(tǒng)的設(shè)計與實現(xiàn) (包含13個文件)', },{ id:'0000100001', pId:'00001', name:'9_網(wǎng)上化妝品營銷系統(tǒng)的設(shè)計與實現(xiàn) (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'PPT (包含1個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'網(wǎng)上化妝品營銷系統(tǒng)的設(shè)計與實現(xiàn).pptx (5669KB)', click:'getBookinfo(8840504)', icon:'/Images/filetype/PPT16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'源代碼及數(shù)據(jù)庫 (包含2個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'cosmetic_hoh.zip (16103KB)', },{ id:'00001000010000200002', pId:'000010000100002', name:'db_cosmetic.sql (3KB)', },{ id:'000010000100003', pId:'0000100001', name:'課程設(shè)計報告 (包含4個文件)', },{ id:'00001000010000300001', pId:'000010000100003', name:'1512011015_陳旭青.doc (2346KB)', click:'getBookinfo(8840505)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000300002', pId:'000010000100003', name:'1512011016_陳妍.doc (2142KB)', click:'getBookinfo(8840506)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000300003', pId:'000010000100003', name:'1512011017_陳耀龍.doc (2218KB)', click:'getBookinfo(8840507)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000300004', pId:'000010000100003', name:'1512011036_桂旭.doc (2139KB)', click:'getBookinfo(8840508)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'需求文檔 (包含1個文件)', },{ id:'00001000010000400001', pId:'000010000100004', name:'網(wǎng)上化妝品銷售的設(shè)計和實現(xiàn).doc (295KB)', click:'getBookinfo(8840509)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'8_網(wǎng)上化妝品營銷系統(tǒng)的設(shè)計與實現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000100001', pId:'000010000100001', name:'網(wǎng)上化妝品營銷系統(tǒng)的設(shè)計與實現(xiàn).pptx',url:'http://canyonlakefaqs.com/p-8840504.html', target:'_blank' },{ id:'00001000010000300001', pId:'000010000100003', name:'1512011015_陳旭青.doc',url:'http://canyonlakefaqs.com/p-8840505.html', target:'_blank' },{ id:'00001000010000300002', pId:'000010000100003', name:'1512011016_陳妍.doc',url:'http://canyonlakefaqs.com/p-8840506.html', target:'_blank' },{ id:'00001000010000300003', pId:'000010000100003', name:'1512011017_陳耀龍.doc',url:'http://canyonlakefaqs.com/p-8840507.html', target:'_blank' },{ id:'00001000010000300004', pId:'000010000100003', name:'1512011036_桂旭.doc',url:'http://canyonlakefaqs.com/p-8840508.html', target:'_blank' },{ id:'00001000010000400001', pId:'000010000100004', name:'網(wǎng)上化妝品銷售的設(shè)計和實現(xiàn).doc',url:'http://canyonlakefaqs.com/p-8840509.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 = '3581720'; 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; }); });