'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'0080ca6140車床拔叉零件加工工藝規(guī)程及銑削工藝裝備設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'0080-CA6140車床拔叉零件加工工藝規(guī)程及銑削工藝裝備設(shè)計 (包含16個文件)', },{ id:'0000100001', pId:'00001', name:'夾具總圖.dwg (68KB)', click:'getBookinfo(8387573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'夾具零件圖.dwg (77KB)', click:'getBookinfo(8387574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'夾具零件圖.png (16KB)', click:'getBookinfo(8387575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'定位心軸.dwg (95KB)', click:'getBookinfo(8387576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'定位心軸.png (13KB)', click:'getBookinfo(8387577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡.png (84KB)', click:'getBookinfo(8387578)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡片.doc (271KB)', click:'getBookinfo(8387579)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'撥叉毛坯圖.png (15KB)', click:'getBookinfo(8387580)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'撥叉零件圖.dwg (74KB)', click:'getBookinfo(8387581)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'撥叉零件圖.png (15KB)', click:'getBookinfo(8387582)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'毛坯圖.dwg (75KB)', click:'getBookinfo(8387583)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'設(shè)計說明書.png (254KB)', click:'getBookinfo(8387584)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'說明書.doc (260KB)', click:'getBookinfo(8387585)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'銑床夾具裝配圖.dwg (96KB)', click:'getBookinfo(8387586)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'銑床夾具裝配圖.png (23KB)', click:'getBookinfo(8387587)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'零件圖.dwg (58KB)', click:'getBookinfo(8387588)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'0080ca6140車床拔叉零件加工工藝規(guī)程及銑削工藝裝備設(shè)計.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'夾具總圖.dwg',url:'http://m.facezit.com/p-8387573.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'夾具零件圖.dwg',url:'http://m.facezit.com/p-8387574.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'夾具零件圖.png',url:'http://m.facezit.com/p-8387575.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'定位心軸.dwg',url:'http://m.facezit.com/p-8387576.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'定位心軸.png',url:'http://m.facezit.com/p-8387577.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡.png',url:'http://m.facezit.com/p-8387578.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡片.doc',url:'http://m.facezit.com/p-8387579.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'撥叉毛坯圖.png',url:'http://m.facezit.com/p-8387580.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'撥叉零件圖.dwg',url:'http://m.facezit.com/p-8387581.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'撥叉零件圖.png',url:'http://m.facezit.com/p-8387582.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8387583.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'設(shè)計說明書.png',url:'http://m.facezit.com/p-8387584.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'說明書.doc',url:'http://m.facezit.com/p-8387585.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'銑床夾具裝配圖.dwg',url:'http://m.facezit.com/p-8387586.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'銑床夾具裝配圖.png',url:'http://m.facezit.com/p-8387587.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8387588.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 = '7245541'; 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; }); });