'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'bb肥生產(chǎn)設(shè)備提升系統(tǒng)設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'185 BB肥生產(chǎn)設(shè)備提升系統(tǒng)設(shè)計【說明書+CAD】 (包含19個文件)', },{ id:'0000100001', pId:'00001', name:'PPT (包含1個文件)', },{ id:'000010000100001', pId:'0000100001', name:'提升系統(tǒng)設(shè)計.ppt (339KB)', click:'getBookinfo(8412446)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100002', pId:'00001', name:'翻譯 (包含1個文件)', },{ id:'000010000200001', pId:'0000100002', name:'畢業(yè)翻譯.doc (76KB)', click:'getBookinfo(8412447)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A0-裝配圖.dwg (273KB)', click:'getBookinfo(8412448)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A1-料斗組裝.dwg (143KB)', click:'getBookinfo(8412449)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A3-滑輪.dwg (91KB)', click:'getBookinfo(8412450)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3-滑輪支承架.dwg (119KB)', click:'getBookinfo(8412451)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'A3-滑輪組裝.dwg (91KB)', click:'getBookinfo(8412452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'A3-滾輪(1)組裝.dwg (82KB)', click:'getBookinfo(8412453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'A3-滾輪(2)組裝.dwg (73KB)', click:'getBookinfo(8412454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'A3-短軸滾輪組裝.dwg (73KB)', click:'getBookinfo(8412455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'A4-滑輪軸.dwg (61KB)', click:'getBookinfo(8412456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'A4-滾輪(1)短軸.dwg (60KB)', click:'getBookinfo(8412457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'A4-滾輪(2)短軸.dwg (69KB)', click:'getBookinfo(8412458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'A4-短軸滾輪組裝短軸.dwg (60KB)', click:'getBookinfo(8412459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'任務(wù)書.doc (32KB)', click:'getBookinfo(8412460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'封面.doc (37KB)', click:'getBookinfo(8412461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'提升系統(tǒng)設(shè)計.doc (1898KB)', click:'getBookinfo(8412462)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'bb肥生產(chǎn)設(shè)備提升系統(tǒng)設(shè)計【說明書cad】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'提升系統(tǒng)設(shè)計.ppt',url:'http://m.facezit.com/p-8412446.html', target:'_blank' },{ id:'000010000200001', pId:'0000100002', name:'畢業(yè)翻譯.doc',url:'http://m.facezit.com/p-8412447.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A0-裝配圖.dwg',url:'http://m.facezit.com/p-8412448.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A1-料斗組裝.dwg',url:'http://m.facezit.com/p-8412449.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A3-滑輪.dwg',url:'http://m.facezit.com/p-8412450.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3-滑輪支承架.dwg',url:'http://m.facezit.com/p-8412451.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'A3-滑輪組裝.dwg',url:'http://m.facezit.com/p-8412452.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'A3-滾輪(1)組裝.dwg',url:'http://m.facezit.com/p-8412453.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'A3-滾輪(2)組裝.dwg',url:'http://m.facezit.com/p-8412454.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'A3-短軸滾輪組裝.dwg',url:'http://m.facezit.com/p-8412455.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'A4-滑輪軸.dwg',url:'http://m.facezit.com/p-8412456.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'A4-滾輪(1)短軸.dwg',url:'http://m.facezit.com/p-8412457.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'A4-滾輪(2)短軸.dwg',url:'http://m.facezit.com/p-8412458.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'A4-短軸滾輪組裝短軸.dwg',url:'http://m.facezit.com/p-8412459.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'任務(wù)書.doc',url:'http://m.facezit.com/p-8412460.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8412461.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'提升系統(tǒng)設(shè)計.doc',url:'http://m.facezit.com/p-8412462.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 = '7247576'; 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; }); });