'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca6140普通車床的經(jīng)濟(jì)型數(shù)控改造設(shè)計【8張cad圖紙2a02張電路圖畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'8031的接口擴(kuò)展.Ddb (236KB)', },{ id:'00002', pId:'1', name:'A0 縱向進(jìn)給.dwg (100KB)', click:'getBookinfo(8667997)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A0自動刀架結(jié)構(gòu)圖.dwg (54KB)', click:'getBookinfo(8667998)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'CA6140普通車床的經(jīng)濟(jì)型數(shù)控改造設(shè)計.doc (3132KB)', click:'getBookinfo(8667999)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'CA6140普通車床的經(jīng)濟(jì)型數(shù)控改造設(shè)計論文.doc (3132KB)', click:'getBookinfo(8668000)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'絲杠A2.dwg (63KB)', click:'getBookinfo(8668001)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'主軸箱傳動系統(tǒng)A1.dwg (92KB)', click:'getBookinfo(8668002)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'任務(wù)書.doc (32KB)', click:'getBookinfo(8668003)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'前一部分.doc (54KB)', click:'getBookinfo(8668004)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'單片機(jī)控制系統(tǒng)工作原理圖.Ddb (376KB)', },{ id:'00011', pId:'1', name:'數(shù)控改造的總體方案示意圖.dwg (35KB)', click:'getBookinfo(8668005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'數(shù)控電路圖.dwg (112KB)', click:'getBookinfo(8668006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'編碼盤A2.dwg (47KB)', click:'getBookinfo(8668007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'脈沖發(fā)生器安裝示意A2.dwg (52KB)', click:'getBookinfo(8668008)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140普通車床的經(jīng)濟(jì)型數(shù)控改造設(shè)計【8張cad圖紙2a02張電路圖畢業(yè)論文】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'A0 縱向進(jìn)給.dwg',url:'http://facezit.com/p-8667997.html', target:'_blank' },{ id:'00003', pId:'1', name:'A0自動刀架結(jié)構(gòu)圖.dwg',url:'http://facezit.com/p-8667998.html', target:'_blank' },{ id:'00004', pId:'1', name:'CA6140普通車床的經(jīng)濟(jì)型數(shù)控改造設(shè)計.doc',url:'http://facezit.com/p-8667999.html', target:'_blank' },{ id:'00005', pId:'1', name:'CA6140普通車床的經(jīng)濟(jì)型數(shù)控改造設(shè)計論文.doc',url:'http://facezit.com/p-8668000.html', target:'_blank' },{ id:'00006', pId:'1', name:'絲杠A2.dwg',url:'http://facezit.com/p-8668001.html', target:'_blank' },{ id:'00007', pId:'1', name:'主軸箱傳動系統(tǒng)A1.dwg',url:'http://facezit.com/p-8668002.html', target:'_blank' },{ id:'00008', pId:'1', name:'任務(wù)書.doc',url:'http://facezit.com/p-8668003.html', target:'_blank' },{ id:'00009', pId:'1', name:'前一部分.doc',url:'http://facezit.com/p-8668004.html', target:'_blank' },{ id:'00011', pId:'1', name:'數(shù)控改造的總體方案示意圖.dwg',url:'http://facezit.com/p-8668005.html', target:'_blank' },{ id:'00012', pId:'1', name:'數(shù)控電路圖.dwg',url:'http://facezit.com/p-8668006.html', target:'_blank' },{ id:'00013', pId:'1', name:'編碼盤A2.dwg',url:'http://facezit.com/p-8668007.html', target:'_blank' },{ id:'00014', pId:'1', name:'脈沖發(fā)生器安裝示意A2.dwg',url:'http://facezit.com/p-8668008.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 = '7247964'; 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; }); });