'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'ir50p五軸機(jī)器人.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'IR50p (包含47個文件)', },{ id:'0000100001', pId:'00001', name:'hand (包含12個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Biela.SLDPRT (52KB)', },{ id:'000010000100002', pId:'0000100001', name:'Engranaje.SLDPRT (120KB)', },{ id:'000010000100003', pId:'0000100001', name:'Ensamblaje_Brazo_PinzaGiratoria.SLDASM (146KB)', },{ id:'000010000100004', pId:'0000100001', name:'Motor_Casing.SLDPRT (67KB)', },{ id:'000010000100005', pId:'0000100001', name:'Pinza.SLDPRT (172KB)', },{ id:'000010000100006', pId:'0000100001', name:'Piston.SLDPRT (61KB)', },{ id:'000010000100007', pId:'0000100001', name:'rod.SLDPRT (51KB)', },{ id:'000010000100008', pId:'0000100001', name:'Soporte.SLDPRT (293KB)', },{ id:'000010000100009', pId:'0000100001', name:'Soporte_inferior2.SLDPRT (80KB)', },{ id:'000010000100010', pId:'0000100001', name:'Soporte_partido1.SLDPRT (315KB)', },{ id:'000010000100011', pId:'0000100001', name:'Soporte_partido2.SLDPRT (238KB)', },{ id:'000010000100012', pId:'0000100001', name:'~$Soporte_partido1.SLDPRT (0KB)', },{ id:'0000100002', pId:'00001', name:'render (包含6個文件)', },{ id:'000010000200001', pId:'0000100002', name:'1.png (591KB)', click:'getBookinfo(8426687)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'1332.JPG (493KB)', click:'getBookinfo(8426688)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'22.JPG (521KB)', click:'getBookinfo(8426689)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'222.JPG (555KB)', click:'getBookinfo(8426690)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'untitled.1.jpg (186KB)', click:'getBookinfo(8426691)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200006', pId:'0000100002', name:'untitled.3.jpg (320KB)', click:'getBookinfo(8426692)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'arm 1 cover.SLDPRT (111KB)', },{ id:'0000100004', pId:'00001', name:'arm 2 cover.SLDPRT (119KB)', },{ id:'0000100005', pId:'00001', name:'arm 2 left.SLDPRT (283KB)', },{ id:'0000100006', pId:'00001', name:'arm 2 right.SLDPRT (300KB)', },{ id:'0000100007', pId:'00001', name:'arm 3 base.SLDPRT (125KB)', },{ id:'0000100008', pId:'00001', name:'arm 3 cover.SLDPRT (62KB)', },{ id:'0000100009', pId:'00001', name:'arm 3.SLDPRT (184KB)', },{ id:'0000100010', pId:'00001', name:'arm1 left.SLDPRT (519KB)', },{ id:'0000100011', pId:'00001', name:'arm1 right.SLDPRT (533KB)', },{ id:'0000100012', pId:'00001', name:'Assem1.SLDASM (1863KB)', },{ id:'0000100013', pId:'00001', name:'base bearing.SLDPRT (88KB)', },{ id:'0000100014', pId:'00001', name:'base cover 1.SLDPRT (294KB)', },{ id:'0000100015', pId:'00001', name:'base cover 2.SLDPRT (272KB)', },{ id:'0000100016', pId:'00001', name:'base.SLDPRT (670KB)', },{ id:'0000100017', pId:'00001', name:'big cover 1.SLDPRT (153KB)', },{ id:'0000100018', pId:'00001', name:'big cover 2.SLDPRT (167KB)', },{ id:'0000100019', pId:'00001', name:'black ring.SLDPRT (58KB)', },{ id:'0000100020', pId:'00001', name:'blak joint 1.SLDPRT (79KB)', },{ id:'0000100021', pId:'00001', name:'blak joint 2.SLDPRT (69KB)', },{ id:'0000100022', pId:'00001', name:'blak joint 3.SLDPRT (71KB)', },{ id:'0000100023', pId:'00001', name:'blak joint 4.SLDPRT (63KB)', },{ id:'0000100024', pId:'00001', name:'radial ball bearing_68_am.sldprt (461KB)', },{ id:'0000100025', pId:'00001', name:'side 1.SLDPRT (284KB)', },{ id:'0000100026', pId:'00001', name:'side 2.SLDPRT (263KB)', },{ id:'0000100027', pId:'00001', name:'small cover 1.SLDPRT (217KB)', },{ id:'0000100028', pId:'00001', name:'small cover 2.SLDPRT (218KB)', },{ id:'0000100029', pId:'00001', name:'square.SLDPRT (126KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'ir50p五軸機(jī)器人.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'1.png',url:'http://m.facezit.com/p-8426687.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'1332.JPG',url:'http://m.facezit.com/p-8426688.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'22.JPG',url:'http://m.facezit.com/p-8426689.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'222.JPG',url:'http://m.facezit.com/p-8426690.html', target:'_blank' },{ id:'000010000200005', pId:'0000100002', name:'untitled.1.jpg',url:'http://m.facezit.com/p-8426691.html', target:'_blank' },{ id:'000010000200006', pId:'0000100002', name:'untitled.3.jpg',url:'http://m.facezit.com/p-8426692.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 = '7249518'; 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; }); });