'; } $("#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ī)程和夾具設(shè)計【ug三維】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'柴油機(jī)連桿加工工藝規(guī)程和夾具設(shè)計【UG三維】 (包含36個文件)', },{ id:'0000100001', pId:'00001', name:'夾具三維【UG】 (包含28個文件)', },{ id:'000010000100001', pId:'0000100001', name:'A6X15_GB117-86.prt (79KB)', },{ id:'000010000100002', pId:'0000100001', name:'LD.prt (73KB)', },{ id:'000010000100003', pId:'0000100001', name:'LD14008.prt (73KB)', },{ id:'000010000100004', pId:'0000100001', name:'M14_GB6170-86.prt (94KB)', },{ id:'000010000100005', pId:'0000100001', name:'M6X10_GB70-85.prt (98KB)', },{ id:'000010000100006', pId:'0000100001', name:'M6X15_GB70-85.prt (97KB)', },{ id:'000010000100007', pId:'0000100001', name:'M8_GB6170-86.prt (95KB)', },{ id:'000010000100008', pId:'0000100001', name:'MOD.prt (65KB)', },{ id:'000010000100009', pId:'0000100001', name:'MOD25.prt (65KB)', },{ id:'000010000100010', pId:'0000100001', name:'P00.prt (126KB)', },{ id:'000010000100011', pId:'0000100001', name:'P01.prt (199KB)', },{ id:'000010000100012', pId:'0000100001', name:'P02.prt (107KB)', },{ id:'000010000100013', pId:'0000100001', name:'P03.prt (88KB)', },{ id:'000010000100014', pId:'0000100001', name:'P04.prt (198KB)', },{ id:'000010000100015', pId:'0000100001', name:'P05.prt (95KB)', },{ id:'000010000100016', pId:'0000100001', name:'P06.prt (69KB)', },{ id:'000010000100017', pId:'0000100001', name:'P07.prt (96KB)', },{ id:'000010000100018', pId:'0000100001', name:'P08.prt (170KB)', },{ id:'000010000100019', pId:'0000100001', name:'P09.prt (98KB)', },{ id:'000010000100020', pId:'0000100001', name:'P10.prt (87KB)', },{ id:'000010000100021', pId:'0000100001', name:'P1012304.prt (87KB)', },{ id:'000010000100022', pId:'0000100001', name:'P11.prt (76KB)', },{ id:'000010000100023', pId:'0000100001', name:'P1112884.prt (76KB)', },{ id:'000010000100024', pId:'0000100001', name:'P12.prt (76KB)', },{ id:'000010000100025', pId:'0000100001', name:'P1216657.prt (76KB)', },{ id:'000010000100026', pId:'0000100001', name:'Part14.prt (89KB)', },{ id:'000010000100027', pId:'0000100001', name:'Part1413230.prt (89KB)', },{ id:'000010000100028', pId:'0000100001', name:'ZK.log (47KB)', },{ id:'0000100002', pId:'00001', name:'夾具裝配圖.dwg (83KB)', click:'getBookinfo(8169774)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'工件.prt (644KB)', },{ id:'0000100004', pId:'00001', name:'工件二維.dwg (80KB)', click:'getBookinfo(8169775)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'柴油機(jī)連桿加工工藝規(guī)程和夾具設(shè)計.doc (404KB)', click:'getBookinfo(8169776)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'裝配二維.dwg (94KB)', click:'getBookinfo(8169777)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'裝配圖.prt (83KB)', },{ id:'0000100008', pId:'00001', name:'裝配圖000.dwg (122KB)', click:'getBookinfo(8169778)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'柴油機(jī)連桿加工工藝規(guī)程和夾具設(shè)計【ug三維】.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100002', pId:'00001', name:'夾具裝配圖.dwg',url:'http://m.facezit.com/p-8169774.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'工件二維.dwg',url:'http://m.facezit.com/p-8169775.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'柴油機(jī)連桿加工工藝規(guī)程和夾具設(shè)計.doc',url:'http://m.facezit.com/p-8169776.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'裝配二維.dwg',url:'http://m.facezit.com/p-8169777.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'裝配圖000.dwg',url:'http://m.facezit.com/p-8169778.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 = '3529092'; 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; }); });