'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'氣門搖臂軸支座的機械加工工藝及夾具設計銑36mm下端面.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'氣門搖臂軸支座的機械加工工藝及夾具設計--銑36mm下端面 (包含23個文件)', },{ id:'0000100001', pId:'00001', name:'全套工序卡[13張] (包含13個文件)', },{ id:'000010000100001', pId:'0000100001', name:'支座機械加工工序卡片10.doc (44KB)', click:'getBookinfo(8548841)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'支座機械加工工序卡片100.doc (58KB)', click:'getBookinfo(8548842)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'支座機械加工工序卡片110.doc (52KB)', click:'getBookinfo(8548843)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'支座機械加工工序卡片120.doc (52KB)', click:'getBookinfo(8548844)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'支座機械加工工序卡片130.doc (69KB)', click:'getBookinfo(8548845)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'支座機械加工工序卡片20.doc (44KB)', click:'getBookinfo(8548846)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'支座機械加工工序卡片30.doc (44KB)', click:'getBookinfo(8548847)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'支座機械加工工序卡片40.doc (44KB)', click:'getBookinfo(8548848)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'支座機械加工工序卡片50.doc (45KB)', click:'getBookinfo(8548849)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'支座機械加工工序卡片60.doc (51KB)', click:'getBookinfo(8548850)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'支座機械加工工序卡片70.doc (51KB)', click:'getBookinfo(8548851)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'支座機械加工工序卡片80.doc (51KB)', click:'getBookinfo(8548852)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100013', pId:'0000100001', name:'支座機械加工工序卡片90.doc (55KB)', click:'getBookinfo(8548853)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'絲桿.dwg (152KB)', click:'getBookinfo(8548854)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'買家售后必讀.jpg (438KB)', click:'getBookinfo(8548855)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'機械加工工藝過程卡片.doc (52KB)', click:'getBookinfo(8548856)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'毛坯圖.dwg (88KB)', click:'getBookinfo(8548857)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'設計說明書.doc (806KB)', click:'getBookinfo(8548858)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'銑36mm端面夾具裝配圖.dwg (124KB)', click:'getBookinfo(8548859)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'銑床夾具體.dwg (104KB)', click:'getBookinfo(8548860)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'零件圖.dwg (96KB)', click:'getBookinfo(8548861)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'零件圖.dwl (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'氣門搖臂軸支座的機械加工工藝及夾具設計銑36mm下端面.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100001', pId:'0000100001', name:'支座機械加工工序卡片10.doc',url:'http://facezit.com/p-8548841.html', target:'_blank' },{ id:'000010000100002', pId:'0000100001', name:'支座機械加工工序卡片100.doc',url:'http://facezit.com/p-8548842.html', target:'_blank' },{ id:'000010000100003', pId:'0000100001', name:'支座機械加工工序卡片110.doc',url:'http://facezit.com/p-8548843.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'支座機械加工工序卡片120.doc',url:'http://facezit.com/p-8548844.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'支座機械加工工序卡片130.doc',url:'http://facezit.com/p-8548845.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'支座機械加工工序卡片20.doc',url:'http://facezit.com/p-8548846.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'支座機械加工工序卡片30.doc',url:'http://facezit.com/p-8548847.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'支座機械加工工序卡片40.doc',url:'http://facezit.com/p-8548848.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'支座機械加工工序卡片50.doc',url:'http://facezit.com/p-8548849.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'支座機械加工工序卡片60.doc',url:'http://facezit.com/p-8548850.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'支座機械加工工序卡片70.doc',url:'http://facezit.com/p-8548851.html', target:'_blank' },{ id:'000010000100012', pId:'0000100001', name:'支座機械加工工序卡片80.doc',url:'http://facezit.com/p-8548852.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'支座機械加工工序卡片90.doc',url:'http://facezit.com/p-8548853.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'絲桿.dwg',url:'http://facezit.com/p-8548854.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'買家售后必讀.jpg',url:'http://facezit.com/p-8548855.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'機械加工工藝過程卡片.doc',url:'http://facezit.com/p-8548856.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'毛坯圖.dwg',url:'http://facezit.com/p-8548857.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'設計說明書.doc',url:'http://facezit.com/p-8548858.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'銑36mm端面夾具裝配圖.dwg',url:'http://facezit.com/p-8548859.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'銑床夾具體.dwg',url:'http://facezit.com/p-8548860.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'零件圖.dwg',url:'http://facezit.com/p-8548861.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 = '7264052'; 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; }); });