'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'撥動叉零件的機(jī)械加工工藝規(guī)程及【銑20.5槽】夾具設(shè)計【工裝夾具類】【word2張cad圖紙全套】【工裝夾具類】【工藝過程、工序卡片】【畢設(shè)】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'卡片1.dwg (48KB)', click:'getBookinfo(8813868)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'卡片2.dwg (47KB)', click:'getBookinfo(8813869)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'卡片3.dwg (49KB)', click:'getBookinfo(8813870)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'卡片4.dwg (49KB)', click:'getBookinfo(8813871)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'卡片5.dwg (48KB)', click:'getBookinfo(8813872)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'卡片6.dwg (49KB)', click:'getBookinfo(8813873)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'卡片7.dwg (47KB)', click:'getBookinfo(8813874)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'文獻(xiàn)綜述.doc (130KB)', click:'getBookinfo(8813875)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'機(jī)械加工工序卡片.dwg (122KB)', click:'getBookinfo(8813876)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'機(jī)械加工工藝過程卡片.dwg (37KB)', click:'getBookinfo(8813877)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'正文.doc (2176KB)', click:'getBookinfo(8813878)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'銑床夾具體.dwg (86KB)', click:'getBookinfo(8813879)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'銑槽夾具.dwg (104KB)', click:'getBookinfo(8813880)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'銑槽夾具裝配及零件圖合計2張.dwg (147KB)', click:'getBookinfo(8813881)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00015', pId:'1', name:'零件圖簡圖.doc (643KB)', click:'getBookinfo(8813882)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'撥動叉零件的機(jī)械加工工藝規(guī)程及【銑20.5槽】夾具設(shè)計【工裝夾具類】【word2張cad圖紙全套】【工裝夾具類】【工藝過程、工序卡片】【畢設(shè)】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'卡片1.dwg',url:'http://m.facezit.com/p-8813868.html', target:'_blank' },{ id:'00002', pId:'1', name:'卡片2.dwg',url:'http://m.facezit.com/p-8813869.html', target:'_blank' },{ id:'00003', pId:'1', name:'卡片3.dwg',url:'http://m.facezit.com/p-8813870.html', target:'_blank' },{ id:'00004', pId:'1', name:'卡片4.dwg',url:'http://m.facezit.com/p-8813871.html', target:'_blank' },{ id:'00005', pId:'1', name:'卡片5.dwg',url:'http://m.facezit.com/p-8813872.html', target:'_blank' },{ id:'00006', pId:'1', name:'卡片6.dwg',url:'http://m.facezit.com/p-8813873.html', target:'_blank' },{ id:'00007', pId:'1', name:'卡片7.dwg',url:'http://m.facezit.com/p-8813874.html', target:'_blank' },{ id:'00008', pId:'1', name:'文獻(xiàn)綜述.doc',url:'http://m.facezit.com/p-8813875.html', target:'_blank' },{ id:'00009', pId:'1', name:'機(jī)械加工工序卡片.dwg',url:'http://m.facezit.com/p-8813876.html', target:'_blank' },{ id:'00010', pId:'1', name:'機(jī)械加工工藝過程卡片.dwg',url:'http://m.facezit.com/p-8813877.html', target:'_blank' },{ id:'00011', pId:'1', name:'正文.doc',url:'http://m.facezit.com/p-8813878.html', target:'_blank' },{ id:'00012', pId:'1', name:'銑床夾具體.dwg',url:'http://m.facezit.com/p-8813879.html', target:'_blank' },{ id:'00013', pId:'1', name:'銑槽夾具.dwg',url:'http://m.facezit.com/p-8813880.html', target:'_blank' },{ id:'00014', pId:'1', name:'銑槽夾具裝配及零件圖合計2張.dwg',url:'http://m.facezit.com/p-8813881.html', target:'_blank' },{ id:'00015', pId:'1', name:'零件圖簡圖.doc',url:'http://m.facezit.com/p-8813882.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 = '3519686'; 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; }); });