'; } $("#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加工工藝及夾具設計【含cad圖紙、ug三維圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'UG三維圖紙 (包含30個文件)', },{ id:'0000100001', pId:'00001', name:'1-zhuangpei.prt (584KB)', },{ id:'0000100002', pId:'00001', name:'bocha.prt (452KB)', },{ id:'0000100003', pId:'00001', name:'chentao.prt (176KB)', },{ id:'0000100004', pId:'00001', name:'dainquan.prt (184KB)', },{ id:'0000100005', pId:'00001', name:'daoban.prt (357KB)', },{ id:'0000100006', pId:'00001', name:'daoban2.prt (327KB)', },{ id:'0000100007', pId:'00001', name:'dingweichentao.prt (208KB)', },{ id:'0000100008', pId:'00001', name:'gudingV.prt (309KB)', },{ id:'0000100009', pId:'00001', name:'huodongV.prt (316KB)', },{ id:'0000100010', pId:'00001', name:'jiajuti.prt (1228KB)', },{ id:'0000100011', pId:'00001', name:'luomu.prt (142KB)', },{ id:'0000100012', pId:'00001', name:'M10-25.prt (159KB)', },{ id:'0000100013', pId:'00001', name:'M10-40.prt (253KB)', },{ id:'0000100014', pId:'00001', name:'m10-50.prt (158KB)', },{ id:'0000100015', pId:'00001', name:'M8-40.prt (159KB)', },{ id:'0000100016', pId:'00001', name:'maopi.prt (251KB)', },{ id:'0000100017', pId:'00001', name:'shuogan.prt (138KB)', },{ id:'0000100018', pId:'00001', name:'XIAO-8-40.prt (138KB)', },{ id:'0000100019', pId:'00001', name:'XIAO10-35.prt (138KB)', },{ id:'0000100020', pId:'00001', name:'XIAO10-45.prt (137KB)', },{ id:'0000100021', pId:'00001', name:'xiao6-55.prt (135KB)', },{ id:'0000100022', pId:'00001', name:'xiao6-60.prt (138KB)', },{ id:'0000100023', pId:'00001', name:'yajinluoding.igs (1683KB)', },{ id:'0000100024', pId:'00001', name:'yajinluoding_igs.prt (285KB)', },{ id:'0000100025', pId:'00001', name:'zhuangpeitu.stp (544KB)', },{ id:'0000100026', pId:'00001', name:'zhuanmoban1.prt (308KB)', },{ id:'0000100027', pId:'00001', name:'zhuanmoban2.prt (397KB)', },{ id:'0000100028', pId:'00001', name:'zhuanmoban3.prt (392KB)', },{ id:'0000100029', pId:'00001', name:'zhuantao.prt (232KB)', },{ id:'0000100030', pId:'00001', name:'zhuantaoluoding.prt (246KB)', },{ id:'00002', pId:'1', name:'夾具體零件.dwg (105KB)', click:'getBookinfo(8416031)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00003', pId:'1', name:'工序卡.doc (225KB)', click:'getBookinfo(8416032)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00004', pId:'1', name:'機械加工工藝過程卡片.doc (141KB)', click:'getBookinfo(8416033)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00005', pId:'1', name:'毛坯圖.dwg (73KB)', click:'getBookinfo(8416034)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00006', pId:'1', name:'裝配圖.dwg (153KB)', click:'getBookinfo(8416035)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00007', pId:'1', name:'設計說明書.docx (643KB)', click:'getBookinfo(8416036)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00008', pId:'1', name:'零件圖.dwg (77KB)', click:'getBookinfo(8416037)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'ca6140車床撥叉831007加工工藝及夾具設計【含cad圖紙、ug三維圖紙】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00002', pId:'1', name:'夾具體零件.dwg',url:'http://m.facezit.com/p-8416031.html', target:'_blank' },{ id:'00003', pId:'1', name:'工序卡.doc',url:'http://m.facezit.com/p-8416032.html', target:'_blank' },{ id:'00004', pId:'1', name:'機械加工工藝過程卡片.doc',url:'http://m.facezit.com/p-8416033.html', target:'_blank' },{ id:'00005', pId:'1', name:'毛坯圖.dwg',url:'http://m.facezit.com/p-8416034.html', target:'_blank' },{ id:'00006', pId:'1', name:'裝配圖.dwg',url:'http://m.facezit.com/p-8416035.html', target:'_blank' },{ id:'00007', pId:'1', name:'設計說明書.docx',url:'http://m.facezit.com/p-8416036.html', target:'_blank' },{ id:'00008', pId:'1', name:'零件圖.dwg',url:'http://m.facezit.com/p-8416037.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 = '7248009'; 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; }); });