'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'機油泵傳動軸支架加工工藝規(guī)程和鉆φ11孔夾具設計[含cad圖紙工序卡工藝過程卡說明書].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'3d.STEP (197KB)', },{ id:'00002', pId:'1', name:'A1-鉆夾具裝配圖.DWG (125KB)', click:'getBookinfo(8543005)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'A1-鉆夾具零件-夾具體.DWG (99KB)', click:'getBookinfo(8543006)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'A3-傳動軸支架零件二維圖.DWG (108KB)', click:'getBookinfo(8543007)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'A4-鉆夾具零件-固定座.DWG (90KB)', click:'getBookinfo(8543008)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'A4-鉆夾具零件-固定軸.DWG (50KB)', click:'getBookinfo(8543009)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'A4-鉆夾具零件-擋片.DWG (92KB)', click:'getBookinfo(8543010)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'A4-鉆夾具零件-鉆套.DWG (82KB)', click:'getBookinfo(8543011)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'A4-鉆夾具零件-鉆模板.DWG (70KB)', click:'getBookinfo(8543012)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'lingjian 三維SW圖.SLDPRT (366KB)', },{ id:'00011', pId:'1', name:'PPT答辯稿.ppt (5251KB)', click:'getBookinfo(8543013)', icon:'/Images/filetype/PPT16.PNG'},{ id:'00012', pId:'1', name:'機械加工工序卡片.dwg (191KB)', click:'getBookinfo(8543014)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'機械加工工藝過程卡片.dwg (54KB)', click:'getBookinfo(8543015)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'毛坯圖.dwg (85KB)', click:'getBookinfo(8543016)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'說明書.doc (412KB)', click:'getBookinfo(8543017)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'機油泵傳動軸支架加工工藝規(guī)程和鉆φ11孔夾具設計[含cad圖紙工序卡工藝過程卡說明書].rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'A1-鉆夾具裝配圖.DWG',url:'http://m.facezit.com/p-8543005.html', target:'_blank' },{ id:'00003', pId:'1', name:'A1-鉆夾具零件-夾具體.DWG',url:'http://m.facezit.com/p-8543006.html', target:'_blank' },{ id:'00004', pId:'1', name:'A3-傳動軸支架零件二維圖.DWG',url:'http://m.facezit.com/p-8543007.html', target:'_blank' },{ id:'00005', pId:'1', name:'A4-鉆夾具零件-固定座.DWG',url:'http://m.facezit.com/p-8543008.html', target:'_blank' },{ id:'00006', pId:'1', name:'A4-鉆夾具零件-固定軸.DWG',url:'http://m.facezit.com/p-8543009.html', target:'_blank' },{ id:'00007', pId:'1', name:'A4-鉆夾具零件-擋片.DWG',url:'http://m.facezit.com/p-8543010.html', target:'_blank' },{ id:'00008', pId:'1', name:'A4-鉆夾具零件-鉆套.DWG',url:'http://m.facezit.com/p-8543011.html', target:'_blank' },{ id:'00009', pId:'1', name:'A4-鉆夾具零件-鉆模板.DWG',url:'http://m.facezit.com/p-8543012.html', target:'_blank' },{ id:'00011', pId:'1', name:'PPT答辯稿.ppt',url:'http://m.facezit.com/p-8543013.html', target:'_blank' },{ id:'00012', pId:'1', name:'機械加工工序卡片.dwg',url:'http://m.facezit.com/p-8543014.html', target:'_blank' },{ id:'00013', pId:'1', name:'機械加工工藝過程卡片.dwg',url:'http://m.facezit.com/p-8543015.html', target:'_blank' },{ id:'00014', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8543016.html', target:'_blank' },{ id:'00015', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8543017.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 = '7263168'; 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; }); });