'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'【工裝夾具類】ca6140車床撥叉[831007]機械加工工藝規(guī)程及鉆直徑22孔夾具設計【方案1】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'工序卡片[14張] (包含14個文件)', },{ id:'0000100001', pId:'00001', name:'工序010卡片.dwg (55KB)', click:'getBookinfo(8729616)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序020卡片.dwg (47KB)', click:'getBookinfo(8729617)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序030卡片.dwg (51KB)', click:'getBookinfo(8729618)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序040卡片.dwg (44KB)', click:'getBookinfo(8729619)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序050卡片.dwg (65KB)', click:'getBookinfo(8729620)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序060卡片.dwg (49KB)', click:'getBookinfo(8729621)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序070卡片.dwg (46KB)', click:'getBookinfo(8729622)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序080卡片.dwg (72KB)', click:'getBookinfo(8729623)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序090卡片.dwg (72KB)', click:'getBookinfo(8729624)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序100卡片.dwg (72KB)', click:'getBookinfo(8729625)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序110卡片.dwg (72KB)', click:'getBookinfo(8729626)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序120卡片.dwg (78KB)', click:'getBookinfo(8729627)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序130卡片.dwg (78KB)', click:'getBookinfo(8729628)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序140卡片.dwg (78KB)', click:'getBookinfo(8729629)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'夾具裝配圖.dwg (362KB)', click:'getBookinfo(8729630)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'夾具零件圖.dwg (311KB)', click:'getBookinfo(8729631)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工藝綜合卡.dwg (347KB)', click:'getBookinfo(8729632)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工藝過程卡.dwg (50KB)', click:'getBookinfo(8729633)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'撥叉零件圖.dwg (291KB)', click:'getBookinfo(8729634)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'毛坯圖.dwg (292KB)', click:'getBookinfo(8729635)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'設計說明書.doc (281KB)', click:'getBookinfo(8729636)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'【工裝夾具類】ca6140車床撥叉[831007]機械加工工藝規(guī)程及鉆直徑22孔夾具設計【方案1】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序010卡片.dwg',url:'http://m.facezit.com/p-8729616.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序020卡片.dwg',url:'http://m.facezit.com/p-8729617.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序030卡片.dwg',url:'http://m.facezit.com/p-8729618.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序040卡片.dwg',url:'http://m.facezit.com/p-8729619.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序050卡片.dwg',url:'http://m.facezit.com/p-8729620.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序060卡片.dwg',url:'http://m.facezit.com/p-8729621.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序070卡片.dwg',url:'http://m.facezit.com/p-8729622.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序080卡片.dwg',url:'http://m.facezit.com/p-8729623.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序090卡片.dwg',url:'http://m.facezit.com/p-8729624.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序100卡片.dwg',url:'http://m.facezit.com/p-8729625.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序110卡片.dwg',url:'http://m.facezit.com/p-8729626.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序120卡片.dwg',url:'http://m.facezit.com/p-8729627.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序130卡片.dwg',url:'http://m.facezit.com/p-8729628.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序140卡片.dwg',url:'http://m.facezit.com/p-8729629.html', target:'_blank' },{ id:'00002', pId:'1', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8729630.html', target:'_blank' },{ id:'00003', pId:'1', name:'夾具零件圖.dwg',url:'http://m.facezit.com/p-8729631.html', target:'_blank' },{ id:'00004', pId:'1', name:'工藝綜合卡.dwg',url:'http://m.facezit.com/p-8729632.html', target:'_blank' },{ id:'00005', pId:'1', name:'工藝過程卡.dwg',url:'http://m.facezit.com/p-8729633.html', target:'_blank' },{ id:'00006', pId:'1', name:'撥叉零件圖.dwg',url:'http://m.facezit.com/p-8729634.html', target:'_blank' },{ id:'00007', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8729635.html', target:'_blank' },{ id:'00008', pId:'1', name:'設計說明書.doc',url:'http://m.facezit.com/p-8729636.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 = '3516790'; 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; }); });