'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'nybb2001深松機.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'NYBB2001深松機 (包含44個文件)', },{ id:'0000100001', pId:'00001', name:'solidworks2013 (包含43個文件)', },{ id:'000010000100001', pId:'0000100001', name:'1.SLDPRT (341KB)', },{ id:'000010000100002', pId:'0000100001', name:'2.SLDPRT (247KB)', },{ id:'000010000100003', pId:'0000100001', name:'3.SLDPRT (134KB)', },{ id:'000010000100004', pId:'0000100001', name:'back.SLDPRT (124KB)', },{ id:'000010000100005', pId:'0000100001', name:'Braccket 2.SLDPRT (644KB)', },{ id:'000010000100006', pId:'0000100001', name:'Bracket.SLDPRT (337KB)', },{ id:'000010000100007', pId:'0000100001', name:'Clevis Pin_AI.sldprt (892KB)', },{ id:'000010000100008', pId:'0000100001', name:'countersunk square neck bolt_ai.sldprt (1442KB)', },{ id:'000010000100009', pId:'0000100001', name:'Cultivator tyne.SLDPRT (250KB)', },{ id:'000010000100010', pId:'0000100001', name:'guzzet to hitch point.SLDPRT (129KB)', },{ id:'000010000100011', pId:'0000100001', name:'hex bolt_ai.sldprt (1259KB)', },{ id:'000010000100012', pId:'0000100001', name:'hex jam nut_ai.sldprt (1095KB)', },{ id:'000010000100013', pId:'0000100001', name:'hex nut_ai.sldprt (1280KB)', },{ id:'000010000100014', pId:'0000100001', name:'Holder.SLDPRT (197KB)', },{ id:'000010000100015', pId:'0000100001', name:'Hydraulic Adapter.SLDPRT (290KB)', },{ id:'000010000100016', pId:'0000100001', name:'Hydraulic Assembly.SLDASM (851KB)', },{ id:'000010000100017', pId:'0000100001', name:'Jeck Support.SLDPRT (274KB)', },{ id:'000010000100018', pId:'0000100001', name:'l 60 frame support.SLDPRT (131KB)', },{ id:'000010000100019', pId:'0000100001', name:'l 60 hitch for z.r.SLDPRT (1579KB)', },{ id:'000010000100020', pId:'0000100001', name:'l 60 hitch1.SLDPRT (296KB)', },{ id:'000010000100021', pId:'0000100001', name:'l60 hitch small.SLDPRT (232KB)', },{ id:'000010000100022', pId:'0000100001', name:'l60 hitch.SLDPRT (226KB)', },{ id:'000010000100023', pId:'0000100001', name:'l60gutka 2.SLDPRT (117KB)', },{ id:'000010000100024', pId:'0000100001', name:'Long Plate.SLDPRT (267KB)', },{ id:'000010000100025', pId:'0000100001', name:'main frame base.SLDPRT (1177KB)', },{ id:'000010000100026', pId:'0000100001', name:'NYBB2001深松機.SLDASM (3376KB)', },{ id:'000010000100027', pId:'0000100001', name:'Pipe Copy.SLDPRT (1464KB)', },{ id:'000010000100028', pId:'0000100001', name:'Piston.SLDPRT (285KB)', },{ id:'000010000100029', pId:'0000100001', name:'Rod.SLDPRT (203KB)', },{ id:'000010000100030', pId:'0000100001', name:'rOLLER sTUB.SLDPRT (153KB)', },{ id:'000010000100031', pId:'0000100001', name:'Roller.SLDPRT (2267KB)', },{ id:'000010000100032', pId:'0000100001', name:'Rubberr Pipe.SLDPRT (113KB)', },{ id:'000010000100033', pId:'0000100001', name:'Short Plate.SLDPRT (131KB)', },{ id:'000010000100034', pId:'0000100001', name:'Single long.SLDASM (503KB)', },{ id:'000010000100035', pId:'0000100001', name:'Single short.SLDASM (435KB)', },{ id:'000010000100036', pId:'0000100001', name:'small pipe.SLDPRT (113KB)', },{ id:'000010000100037', pId:'0000100001', name:'snr_ucf205_0.SLDPRT (436KB)', },{ id:'000010000100038', pId:'0000100001', name:'sTop w.SLDPRT (139KB)', },{ id:'000010000100039', pId:'0000100001', name:'Support.SLDPRT (271KB)', },{ id:'000010000100040', pId:'0000100001', name:'Supports.SLDPRT (171KB)', },{ id:'000010000100041', pId:'0000100001', name:'Tip.SLDPRT (210KB)', },{ id:'000010000100042', pId:'0000100001', name:'Top small.SLDPRT (200KB)', },{ id:'000010000100043', pId:'0000100001', name:'top.SLDPRT (108KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'nybb2001深松機.rar', open:true, icon:'/Images/filetype/RAR16.PNG'}]; $(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 = '3729827'; 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; }); });