'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'沖大小墊圈復(fù)合模設(shè)計【24張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A1-裝配圖.dwg (107KB)', click:'getBookinfo(8501450)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'A2-上固定板.dwg (45KB)', click:'getBookinfo(8501451)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A2-上模座.dwg (59KB)', click:'getBookinfo(8501452)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A2-下固定板.dwg (60KB)', click:'getBookinfo(8501453)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A2-下模座.dwg (69KB)', click:'getBookinfo(8501454)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A2-凹模.dwg (46KB)', click:'getBookinfo(8501455)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A2-卸料板.dwg (50KB)', click:'getBookinfo(8501456)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A3-上墊板.dwg (37KB)', click:'getBookinfo(8501457)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A3-凸凹模1.dwg (73KB)', click:'getBookinfo(8501458)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'A3-凸凹模2.dwg (55KB)', click:'getBookinfo(8501459)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'A3-凸模.dwg (61KB)', click:'getBookinfo(8501460)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'A3-凹凸模.dwg (52KB)', click:'getBookinfo(8501461)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'A3-固定套筒.dwg (61KB)', click:'getBookinfo(8501462)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'A3-定位銷.dwg (34KB)', click:'getBookinfo(8501463)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'A3-托板1.dwg (50KB)', click:'getBookinfo(8501464)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00016', pId:'1', name:'A3-托板2.dwg (45KB)', click:'getBookinfo(8501465)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00017', pId:'1', name:'A3-模柄.dwg (63KB)', click:'getBookinfo(8501466)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00018', pId:'1', name:'A3-零件圖.dwg (45KB)', click:'getBookinfo(8501467)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00019', pId:'1', name:'A3-頂件板1.dwg (62KB)', click:'getBookinfo(8501468)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00020', pId:'1', name:'A3-頂件板2.dwg (59KB)', click:'getBookinfo(8501469)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00021', pId:'1', name:'A3-頂件板3.dwg (45KB)', click:'getBookinfo(8501470)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00022', pId:'1', name:'A3-頂桿.dwg (58KB)', click:'getBookinfo(8501471)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00023', pId:'1', name:'A3-頂桿板4.dwg (36KB)', click:'getBookinfo(8501472)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00024', pId:'1', name:'A3-頂板.dwg (58KB)', click:'getBookinfo(8501473)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00025', pId:'1', name:'設(shè)計說明書.doc (105KB)', click:'getBookinfo(8501474)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00026', pId:'1', name:'金屬熱處理.doc (40KB)', click:'getBookinfo(8501475)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'沖大小墊圈復(fù)合模設(shè)計【24張cad圖紙和說明書】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'A1-裝配圖.dwg',url:'http://m.facezit.com/p-8501450.html', target:'_blank' },{ id:'00002', pId:'1', name:'A2-上固定板.dwg',url:'http://m.facezit.com/p-8501451.html', target:'_blank' },{ id:'00003', pId:'1', name:'A2-上模座.dwg',url:'http://m.facezit.com/p-8501452.html', target:'_blank' },{ id:'00004', pId:'1', name:'A2-下固定板.dwg',url:'http://m.facezit.com/p-8501453.html', target:'_blank' },{ id:'00005', pId:'1', name:'A2-下模座.dwg',url:'http://m.facezit.com/p-8501454.html', target:'_blank' },{ id:'00006', pId:'1', name:'A2-凹模.dwg',url:'http://m.facezit.com/p-8501455.html', target:'_blank' },{ id:'00007', pId:'1', name:'A2-卸料板.dwg',url:'http://m.facezit.com/p-8501456.html', target:'_blank' },{ id:'00008', pId:'1', name:'A3-上墊板.dwg',url:'http://m.facezit.com/p-8501457.html', target:'_blank' },{ id:'00009', pId:'1', name:'A3-凸凹模1.dwg',url:'http://m.facezit.com/p-8501458.html', target:'_blank' },{ id:'00010', pId:'1', name:'A3-凸凹模2.dwg',url:'http://m.facezit.com/p-8501459.html', target:'_blank' },{ id:'00011', pId:'1', name:'A3-凸模.dwg',url:'http://m.facezit.com/p-8501460.html', target:'_blank' },{ id:'00012', pId:'1', name:'A3-凹凸模.dwg',url:'http://m.facezit.com/p-8501461.html', target:'_blank' },{ id:'00013', pId:'1', name:'A3-固定套筒.dwg',url:'http://m.facezit.com/p-8501462.html', target:'_blank' },{ id:'00014', pId:'1', name:'A3-定位銷.dwg',url:'http://m.facezit.com/p-8501463.html', target:'_blank' },{ id:'00015', pId:'1', name:'A3-托板1.dwg',url:'http://m.facezit.com/p-8501464.html', target:'_blank' },{ id:'00016', pId:'1', name:'A3-托板2.dwg',url:'http://m.facezit.com/p-8501465.html', target:'_blank' },{ id:'00017', pId:'1', name:'A3-模柄.dwg',url:'http://m.facezit.com/p-8501466.html', target:'_blank' },{ id:'00018', pId:'1', name:'A3-零件圖.dwg',url:'http://m.facezit.com/p-8501467.html', target:'_blank' },{ id:'00019', pId:'1', name:'A3-頂件板1.dwg',url:'http://m.facezit.com/p-8501468.html', target:'_blank' },{ id:'00020', pId:'1', name:'A3-頂件板2.dwg',url:'http://m.facezit.com/p-8501469.html', target:'_blank' },{ id:'00021', pId:'1', name:'A3-頂件板3.dwg',url:'http://m.facezit.com/p-8501470.html', target:'_blank' },{ id:'00022', pId:'1', name:'A3-頂桿.dwg',url:'http://m.facezit.com/p-8501471.html', target:'_blank' },{ id:'00023', pId:'1', name:'A3-頂桿板4.dwg',url:'http://m.facezit.com/p-8501472.html', target:'_blank' },{ id:'00024', pId:'1', name:'A3-頂板.dwg',url:'http://m.facezit.com/p-8501473.html', target:'_blank' },{ id:'00025', pId:'1', name:'設(shè)計說明書.doc',url:'http://m.facezit.com/p-8501474.html', target:'_blank' },{ id:'00026', pId:'1', name:'金屬熱處理.doc',url:'http://m.facezit.com/p-8501475.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 = '7257725'; 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; }); });