'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【zs精品】0146液壓三爪卡盤設(shè)計【全套8張cad圖開題報告說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0146-液壓三爪卡盤設(shè)計【全套8張CAD圖+說明書】 (包含21個文件)', },{ id:'0000100001', pId:'00001', name:'KT.doc (32KB)', click:'getBookinfo(8447096)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'任務(wù)書1.doc (33KB)', click:'getBookinfo(8447097)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'卡爪.dwg (40KB)', click:'getBookinfo(8447098)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'卡爪.png (56KB)', click:'getBookinfo(8447099)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'卡盤體端蓋.dwg (37KB)', click:'getBookinfo(8447100)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'卡盤體端蓋.png (77KB)', click:'getBookinfo(8447101)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'圓柱活塞.dwg (37KB)', click:'getBookinfo(8447102)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'圓柱活塞.png (53KB)', click:'getBookinfo(8447103)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'圓錐齒輪軸.dwg (79KB)', click:'getBookinfo(8447104)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'圓錐齒輪軸.png (71KB)', click:'getBookinfo(8447105)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'小錐齒輪.dwg (36KB)', click:'getBookinfo(8447106)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'摘要.png (38KB)', click:'getBookinfo(8447107)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'液壓三爪卡盤設(shè)計.doc (229KB)', click:'getBookinfo(8447108)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'液壓缸.dwg (32KB)', click:'getBookinfo(8447109)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'液壓缸.png (63KB)', click:'getBookinfo(8447110)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'目錄.png (28KB)', click:'getBookinfo(8447111)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'裝配圖.dwg (104KB)', click:'getBookinfo(8447112)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'裝配圖.png (139KB)', click:'getBookinfo(8447113)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'說明書.png (322KB)', click:'getBookinfo(8447114)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'錐齒輪.dwg (36KB)', click:'getBookinfo(8447115)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'錐齒輪.png (113KB)', click:'getBookinfo(8447116)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【zs精品】0146液壓三爪卡盤設(shè)計【全套8張cad圖開題報告說明書】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'KT.doc',url:'http://m.facezit.com/p-8447096.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'任務(wù)書1.doc',url:'http://m.facezit.com/p-8447097.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'卡爪.dwg',url:'http://m.facezit.com/p-8447098.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'卡爪.png',url:'http://m.facezit.com/p-8447099.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'卡盤體端蓋.dwg',url:'http://m.facezit.com/p-8447100.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'卡盤體端蓋.png',url:'http://m.facezit.com/p-8447101.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'圓柱活塞.dwg',url:'http://m.facezit.com/p-8447102.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'圓柱活塞.png',url:'http://m.facezit.com/p-8447103.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'圓錐齒輪軸.dwg',url:'http://m.facezit.com/p-8447104.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'圓錐齒輪軸.png',url:'http://m.facezit.com/p-8447105.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'小錐齒輪.dwg',url:'http://m.facezit.com/p-8447106.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'摘要.png',url:'http://m.facezit.com/p-8447107.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'液壓三爪卡盤設(shè)計.doc',url:'http://m.facezit.com/p-8447108.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'液壓缸.dwg',url:'http://m.facezit.com/p-8447109.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'液壓缸.png',url:'http://m.facezit.com/p-8447110.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'目錄.png',url:'http://m.facezit.com/p-8447111.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8447112.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'裝配圖.png',url:'http://m.facezit.com/p-8447113.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'說明書.png',url:'http://m.facezit.com/p-8447114.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'錐齒輪.dwg',url:'http://m.facezit.com/p-8447115.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'錐齒輪.png',url:'http://m.facezit.com/p-8447116.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 = '7251892'; 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; }); });