'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'661xk5040數(shù)控立式銑床及控制系統(tǒng)設(shè)計(jì).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'661 XK5040數(shù)控立式銑床及控制系統(tǒng)設(shè)計(jì) (包含14個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'03.dwg (71KB)', click:'getBookinfo(8245133)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'A0圖紙 刀庫裝配圖.dwg (590KB)', click:'getBookinfo(8245134)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'A1圖紙 機(jī)械手.dwg (130KB)', click:'getBookinfo(8245135)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'A2圖紙 尺寸聯(lián)系圖.dwg (76KB)', click:'getBookinfo(8245136)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'A2圖紙 零件圖.dwg (132KB)', click:'getBookinfo(8245137)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'A3圖紙 液壓控制圖.dwg (57KB)', click:'getBookinfo(8245138)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'XK5040主軸零件圖A1.dwg (119KB)', click:'getBookinfo(8245139)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'XK5040數(shù)控立式銑床及控制系統(tǒng)設(shè)計(jì).doc (605KB)', click:'getBookinfo(8245140)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'XK5040數(shù)控立式銑床進(jìn)給系統(tǒng)設(shè)計(jì).doc (2713KB)', click:'getBookinfo(8245141)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'XK5040立式銑床數(shù)控改造橫向進(jìn)給裝配圖A1.dwg (170KB)', click:'getBookinfo(8245142)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'主軸變速箱設(shè)計(jì)A1.dwg (346KB)', click:'getBookinfo(8245143)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'滾珠絲桿裝配圖A0.dwg (415KB)', click:'getBookinfo(8245144)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'零件1卡片.doc (88KB)', click:'getBookinfo(8245145)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'零件2卡片.doc (78KB)', click:'getBookinfo(8245146)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'661xk5040數(shù)控立式銑床及控制系統(tǒng)設(shè)計(jì).zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'03.dwg',url:'http://www.nydnatest.com/p-8245133.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'A0圖紙 刀庫裝配圖.dwg',url:'http://www.nydnatest.com/p-8245134.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'A1圖紙 機(jī)械手.dwg',url:'http://www.nydnatest.com/p-8245135.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'A2圖紙 尺寸聯(lián)系圖.dwg',url:'http://www.nydnatest.com/p-8245136.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'A2圖紙 零件圖.dwg',url:'http://www.nydnatest.com/p-8245137.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'A3圖紙 液壓控制圖.dwg',url:'http://www.nydnatest.com/p-8245138.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'XK5040主軸零件圖A1.dwg',url:'http://www.nydnatest.com/p-8245139.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'XK5040數(shù)控立式銑床及控制系統(tǒng)設(shè)計(jì).doc',url:'http://www.nydnatest.com/p-8245140.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'XK5040數(shù)控立式銑床進(jìn)給系統(tǒng)設(shè)計(jì).doc',url:'http://www.nydnatest.com/p-8245141.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'XK5040立式銑床數(shù)控改造橫向進(jìn)給裝配圖A1.dwg',url:'http://www.nydnatest.com/p-8245142.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'主軸變速箱設(shè)計(jì)A1.dwg',url:'http://www.nydnatest.com/p-8245143.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'滾珠絲桿裝配圖A0.dwg',url:'http://www.nydnatest.com/p-8245144.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'零件1卡片.doc',url:'http://www.nydnatest.com/p-8245145.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'零件2卡片.doc',url:'http://www.nydnatest.com/p-8245146.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 = '6332511'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯(cuò)誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });