'; } $("#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]機(jī)械加工工藝規(guī)程及銑斷夾具設(shè)計【氣動夾緊】.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(8415368)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'工序020卡片.dwg (47KB)', click:'getBookinfo(8415369)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工序030卡片.dwg (51KB)', click:'getBookinfo(8415370)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'工序040卡片.dwg (44KB)', click:'getBookinfo(8415371)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序050卡片.dwg (65KB)', click:'getBookinfo(8415372)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序060卡片.dwg (49KB)', click:'getBookinfo(8415373)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序070卡片.dwg (46KB)', click:'getBookinfo(8415374)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序080卡片.dwg (72KB)', click:'getBookinfo(8415375)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序090卡片.dwg (72KB)', click:'getBookinfo(8415376)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序100卡片.dwg (72KB)', click:'getBookinfo(8415377)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序110卡片.dwg (72KB)', click:'getBookinfo(8415378)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序120卡片.dwg (78KB)', click:'getBookinfo(8415379)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序130卡片.dwg (78KB)', click:'getBookinfo(8415380)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序140卡片.dwg (78KB)', click:'getBookinfo(8415381)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00002', pId:'1', name:'壓塊.dwg (288KB)', click:'getBookinfo(8415382)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'夾具體.dwg (305KB)', click:'getBookinfo(8415383)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'夾具裝配圖.dwg (422KB)', click:'getBookinfo(8415384)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'工藝綜合卡.dwg (347KB)', click:'getBookinfo(8415385)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'工藝過程卡.dwg (50KB)', click:'getBookinfo(8415386)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'摘要.doc (19KB)', click:'getBookinfo(8415387)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'毛坯圖.dwg (285KB)', click:'getBookinfo(8415388)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00009', pId:'1', name:'裝備課設(shè)任務(wù)書.doc (24KB)', click:'getBookinfo(8415389)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00010', pId:'1', name:'說明書.doc (563KB)', click:'getBookinfo(8415390)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00011', pId:'1', name:'說明書封面.doc (21KB)', click:'getBookinfo(8415391)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00012', pId:'1', name:'零件圖.dwg (292KB)', click:'getBookinfo(8415392)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉[831007]機(jī)械加工工藝規(guī)程及銑斷夾具設(shè)計【氣動夾緊】.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'工序010卡片.dwg',url:'http://m.facezit.com/p-8415368.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'工序020卡片.dwg',url:'http://m.facezit.com/p-8415369.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'工序030卡片.dwg',url:'http://m.facezit.com/p-8415370.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工序040卡片.dwg',url:'http://m.facezit.com/p-8415371.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序050卡片.dwg',url:'http://m.facezit.com/p-8415372.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序060卡片.dwg',url:'http://m.facezit.com/p-8415373.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序070卡片.dwg',url:'http://m.facezit.com/p-8415374.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序080卡片.dwg',url:'http://m.facezit.com/p-8415375.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序090卡片.dwg',url:'http://m.facezit.com/p-8415376.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序100卡片.dwg',url:'http://m.facezit.com/p-8415377.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序110卡片.dwg',url:'http://m.facezit.com/p-8415378.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序120卡片.dwg',url:'http://m.facezit.com/p-8415379.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序130卡片.dwg',url:'http://m.facezit.com/p-8415380.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序140卡片.dwg',url:'http://m.facezit.com/p-8415381.html', target:'_blank' },{ id:'00002', pId:'1', name:'壓塊.dwg',url:'http://m.facezit.com/p-8415382.html', target:'_blank' },{ id:'00003', pId:'1', name:'夾具體.dwg',url:'http://m.facezit.com/p-8415383.html', target:'_blank' },{ id:'00004', pId:'1', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8415384.html', target:'_blank' },{ id:'00005', pId:'1', name:'工藝綜合卡.dwg',url:'http://m.facezit.com/p-8415385.html', target:'_blank' },{ id:'00006', pId:'1', name:'工藝過程卡.dwg',url:'http://m.facezit.com/p-8415386.html', target:'_blank' },{ id:'00007', pId:'1', name:'摘要.doc',url:'http://m.facezit.com/p-8415387.html', target:'_blank' },{ id:'00008', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8415388.html', target:'_blank' },{ id:'00009', pId:'1', name:'裝備課設(shè)任務(wù)書.doc',url:'http://m.facezit.com/p-8415389.html', target:'_blank' },{ id:'00010', pId:'1', name:'說明書.doc',url:'http://m.facezit.com/p-8415390.html', target:'_blank' },{ id:'00011', pId:'1', name:'說明書封面.doc',url:'http://m.facezit.com/p-8415391.html', target:'_blank' },{ id:'00012', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8415392.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 = '7247927'; 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; }); });