'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ca10b解放牌汽車后鋼板彈簧吊耳的機械加工工藝及銑4mm工藝槽夾具設(shè)計【帶三維圖】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'diaoersanwei (包含11個文件)', },{ id:'000010000100001', pId:'0000100001', name:'diaoer.stp (317KB)', },{ id:'000010000100002', pId:'0000100001', name:'diaoer80.prt (208KB)', },{ id:'000010000100003', pId:'0000100001', name:'diaoer_stp.prt (160KB)', },{ id:'000010000100004', pId:'0000100001', name:'gangbanjiajuti.prt (196KB)', },{ id:'000010000100005', pId:'0000100001', name:'GB_T 70.1-2000 M8 x 35.prt (152KB)', },{ id:'000010000100006', pId:'0000100001', name:'left.prt (152KB)', },{ id:'000010000100007', pId:'0000100001', name:'right.prt (156KB)', },{ id:'000010000100008', pId:'0000100001', name:'shaft.prt (128KB)', },{ id:'000010000100009', pId:'0000100001', name:'shaft2.prt (136KB)', },{ id:'000010000100010', pId:'0000100001', name:'tanlun.prt (164KB)', },{ id:'000010000100011', pId:'0000100001', name:'zhijiaoduidaokuai.prt (156KB)', },{ id:'00002', pId:'1', name:'3D.prt (1096KB)', },{ id:'00003', pId:'1', name:'吊耳零件圖.dwg (80KB)', click:'getBookinfo(8413174)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'工序卡1.DWG (78KB)', click:'getBookinfo(8413175)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工序卡2.DWG (60KB)', click:'getBookinfo(8413176)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工序卡3.DWG (58KB)', click:'getBookinfo(8413177)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'工序卡4.DWG (54KB)', click:'getBookinfo(8413178)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'底座.dwg (63KB)', click:'getBookinfo(8413179)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'彈侖.dwg (39KB)', click:'getBookinfo(8413180)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'文獻(xiàn)綜述.doc (123KB)', click:'getBookinfo(8413181)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001', pId:'1', name:'3D-UG (包含12個文件)', },{ id:'00011', pId:'1', name:'機械加工工藝過程卡片.dwg (50KB)', click:'getBookinfo(8413182)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'毛坯圖.dwg (64KB)', click:'getBookinfo(8413183)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'說明書.doc (1562KB)', click:'getBookinfo(8413184)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'銑床夾具圖.dwg (70KB)', click:'getBookinfo(8413185)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca10b解放牌汽車后鋼板彈簧吊耳的機械加工工藝及銑4mm工藝槽夾具設(shè)計【帶三維圖】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00003', pId:'1', name:'吊耳零件圖.dwg',url:'http://m.facezit.com/p-8413174.html', target:'_blank' },{ id:'00004', pId:'1', name:'工序卡1.DWG',url:'http://m.facezit.com/p-8413175.html', target:'_blank' },{ id:'00005', pId:'1', name:'工序卡2.DWG',url:'http://m.facezit.com/p-8413176.html', target:'_blank' },{ id:'00006', pId:'1', name:'工序卡3.DWG',url:'http://m.facezit.com/p-8413177.html', target:'_blank' },{ id:'00007', pId:'1', name:'工序卡4.DWG',url:'http://m.facezit.com/p-8413178.html', target:'_blank' },{ id:'00008', pId:'1', name:'底座.dwg',url:'http://m.facezit.com/p-8413179.html', target:'_blank' },{ id:'00009', pId:'1', name:'彈侖.dwg',url:'http://m.facezit.com/p-8413180.html', target:'_blank' },{ id:'00010', pId:'1', name:'文獻(xiàn)綜述.doc',url:'http://m.facezit.com/p-8413181.html', target:'_blank' },{ id:'00011', pId:'1', name:'機械加工工藝過程卡片.dwg',url:'http://m.facezit.com/p-8413182.html', target:'_blank' },{ id:'00012', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8413183.html', target:'_blank' },{ id:'00013', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8413184.html', target:'_blank' },{ id:'00014', pId:'1', name:'銑床夾具圖.dwg',url:'http://m.facezit.com/p-8413185.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 = '7247665'; 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; }); });