'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計ca6140車床法蘭盤加工工藝規(guī)程圖紙和工藝卡片.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'畢業(yè)設(shè)計---CA6140車床法蘭盤加工工藝規(guī)程(圖紙和工藝卡片) (包含22個文件)', },{ id:'0000100001', pId:'00001', name:'專用夾具裝配圖.dwg (86KB)', click:'getBookinfo(8786557)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'夾具體.dwg (87KB)', click:'getBookinfo(8786558)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'定位銷.dwg (52KB)', click:'getBookinfo(8786559)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'封面.doc (78KB)', click:'getBookinfo(8786560)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'工序卡1.dwg (100KB)', click:'getBookinfo(8786561)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'工序卡10.dwg (77KB)', click:'getBookinfo(8786562)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'工序卡11.dwg (111KB)', click:'getBookinfo(8786563)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'工序卡12.dwg (73KB)', click:'getBookinfo(8786564)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'工序卡13.dwg (77KB)', click:'getBookinfo(8786565)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'工序卡2.dwg (69KB)', click:'getBookinfo(8786566)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100011', pId:'00001', name:'工序卡3.dwg (79KB)', click:'getBookinfo(8786567)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100012', pId:'00001', name:'工序卡4.dwg (82KB)', click:'getBookinfo(8786568)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'工序卡5.dwg (80KB)', click:'getBookinfo(8786569)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100014', pId:'00001', name:'工序卡6.dwg (88KB)', click:'getBookinfo(8786570)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100015', pId:'00001', name:'工序卡7.dwg (82KB)', click:'getBookinfo(8786571)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100016', pId:'00001', name:'工序卡8.dwg (92KB)', click:'getBookinfo(8786572)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100017', pId:'00001', name:'工序卡9.dwg (101KB)', click:'getBookinfo(8786573)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100018', pId:'00001', name:'支撐板.dwg (103KB)', click:'getBookinfo(8786574)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100019', pId:'00001', name:'機(jī)械加工工藝過程卡.doc (64KB)', click:'getBookinfo(8786575)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100020', pId:'00001', name:'畢業(yè)設(shè)計---CA6140車床法蘭盤加工工藝規(guī)程(圖紙和工藝卡片).doc (1308KB)', click:'getBookinfo(8786576)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100021', pId:'00001', name:'毛坯圖.dwg (78KB)', click:'getBookinfo(8786577)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100022', pId:'00001', name:'零件圖.dwg (153KB)', click:'getBookinfo(8786578)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'畢業(yè)設(shè)計ca6140車床法蘭盤加工工藝規(guī)程圖紙和工藝卡片.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001', pId:'00001', name:'專用夾具裝配圖.dwg',url:'http://m.facezit.com/p-8786557.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'夾具體.dwg',url:'http://m.facezit.com/p-8786558.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'定位銷.dwg',url:'http://m.facezit.com/p-8786559.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'封面.doc',url:'http://m.facezit.com/p-8786560.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'工序卡1.dwg',url:'http://m.facezit.com/p-8786561.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'工序卡10.dwg',url:'http://m.facezit.com/p-8786562.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'工序卡11.dwg',url:'http://m.facezit.com/p-8786563.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'工序卡12.dwg',url:'http://m.facezit.com/p-8786564.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'工序卡13.dwg',url:'http://m.facezit.com/p-8786565.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'工序卡2.dwg',url:'http://m.facezit.com/p-8786566.html', target:'_blank' },{ id:'0000100011', pId:'00001', name:'工序卡3.dwg',url:'http://m.facezit.com/p-8786567.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'工序卡4.dwg',url:'http://m.facezit.com/p-8786568.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'工序卡5.dwg',url:'http://m.facezit.com/p-8786569.html', target:'_blank' },{ id:'0000100014', pId:'00001', name:'工序卡6.dwg',url:'http://m.facezit.com/p-8786570.html', target:'_blank' },{ id:'0000100015', pId:'00001', name:'工序卡7.dwg',url:'http://m.facezit.com/p-8786571.html', target:'_blank' },{ id:'0000100016', pId:'00001', name:'工序卡8.dwg',url:'http://m.facezit.com/p-8786572.html', target:'_blank' },{ id:'0000100017', pId:'00001', name:'工序卡9.dwg',url:'http://m.facezit.com/p-8786573.html', target:'_blank' },{ id:'0000100018', pId:'00001', name:'支撐板.dwg',url:'http://m.facezit.com/p-8786574.html', target:'_blank' },{ id:'0000100019', pId:'00001', name:'機(jī)械加工工藝過程卡.doc',url:'http://m.facezit.com/p-8786575.html', target:'_blank' },{ id:'0000100020', pId:'00001', name:'畢業(yè)設(shè)計---CA6140車床法蘭盤加工工藝規(guī)程(圖紙和工藝卡片).doc',url:'http://m.facezit.com/p-8786576.html', target:'_blank' },{ id:'0000100021', pId:'00001', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8786577.html', target:'_blank' },{ id:'0000100022', pId:'00001', name:'零件圖.dwg',url:'http://m.facezit.com/p-8786578.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 = '3429018'; 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; }); });