'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'dtii型固定式帶式輸送機設計450噸每小時【8張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0裝配圖.dwg (599KB)', click:'getBookinfo(8421650)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A1傳動滾筒.dwg (178KB)', click:'getBookinfo(8421651)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1傳動滾筒軸承座.dwg (112KB)', click:'getBookinfo(8421652)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A1機架.dwg (140KB)', click:'getBookinfo(8421653)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2傳動滾筒筒體.dwg (76KB)', click:'getBookinfo(8421654)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2傳動滾筒軸.dwg (90KB)', click:'getBookinfo(8421655)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2槽型前傾托輥.dwg (75KB)', click:'getBookinfo(8421656)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A2槽型前傾托輥輥子.dwg (89KB)', click:'getBookinfo(8421657)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'DTII型固定式帶式輸送機設計(450噸每小時)開題報告.doc (25KB)', click:'getBookinfo(8421658)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'DTII型固定式帶式輸送機設計(450噸每小時)說明書.doc (5710KB)', click:'getBookinfo(8421659)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'中檢報告.doc (32KB)', click:'getBookinfo(8421660)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'外文翻譯--軸承的摩擦與潤滑.doc (54KB)', click:'getBookinfo(8421661)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'dtii型固定式帶式輸送機設計450噸每小時【8張cad圖紙】【優(yōu)秀】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A0裝配圖.dwg',url:'http://m.facezit.com/p-8421650.html', target:'_blank' },{ id:'00002', pId:'1', name:'A1傳動滾筒.dwg',url:'http://m.facezit.com/p-8421651.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1傳動滾筒軸承座.dwg',url:'http://m.facezit.com/p-8421652.html', target:'_blank' },{ id:'00004', pId:'1', name:'A1機架.dwg',url:'http://m.facezit.com/p-8421653.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2傳動滾筒筒體.dwg',url:'http://m.facezit.com/p-8421654.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2傳動滾筒軸.dwg',url:'http://m.facezit.com/p-8421655.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2槽型前傾托輥.dwg',url:'http://m.facezit.com/p-8421656.html', target:'_blank' },{ id:'00008', pId:'1', name:'A2槽型前傾托輥輥子.dwg',url:'http://m.facezit.com/p-8421657.html', target:'_blank' },{ id:'00009', pId:'1', name:'DTII型固定式帶式輸送機設計(450噸每小時)開題報告.doc',url:'http://m.facezit.com/p-8421658.html', target:'_blank' },{ id:'00010', pId:'1', name:'DTII型固定式帶式輸送機設計(450噸每小時)說明書.doc',url:'http://m.facezit.com/p-8421659.html', target:'_blank' },{ id:'00011', pId:'1', name:'中檢報告.doc',url:'http://m.facezit.com/p-8421660.html', target:'_blank' },{ id:'00012', pId:'1', name:'外文翻譯--軸承的摩擦與潤滑.doc',url:'http://m.facezit.com/p-8421661.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 = '7248625'; 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; }); });