'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'彎管夾具.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'STL (包含44個(gè)文件)', },{ id:'0000100001', pId:'00001', name:'Assem1 - angular contact ball bearing_68_iso-1.STL (1575KB)', },{ id:'0000100002', pId:'00001', name:'Assem1 - angular contact ball bearing_68_iso-2.STL (1575KB)', },{ id:'0000100003', pId:'00001', name:'Assem1 - angular contact ball bearing_68_iso-3.STL (1575KB)', },{ id:'0000100004', pId:'00001', name:'Assem1 - angular contact ball bearing_68_iso-4.STL (1575KB)', },{ id:'0000100005', pId:'00001', name:'Assem1 - angular contact ball bearing_68_iso-5.STL (1575KB)', },{ id:'0000100006', pId:'00001', name:'Assem1 - angular contact ball bearing_68_iso-6.STL (1575KB)', },{ id:'0000100007', pId:'00001', name:'Assem1 - Bended tube-1.STL (231KB)', },{ id:'0000100008', pId:'00001', name:'Assem1 - Bending wheel-1.STL (640KB)', },{ id:'0000100009', pId:'00001', name:'Assem1 - Bottom plate-1.STL (93KB)', },{ id:'0000100010', pId:'00001', name:'Assem1 - Central plate-1.STL (76KB)', },{ id:'0000100011', pId:'00001', name:'Assem1 - gripring external retaining ring_wti-1.STL (40KB)', },{ id:'0000100012', pId:'00001', name:'Assem1 - Handle-1.STL (21KB)', },{ id:'0000100013', pId:'00001', name:'Assem1 - heavy duty external retaining ring_wti-1.STL (42KB)', },{ id:'0000100014', pId:'00001', name:'Assem1 - heavy duty external retaining ring_wti-2.STL (42KB)', },{ id:'0000100015', pId:'00001', name:'Assem1 - Hight tool 1-1.STL (4363KB)', },{ id:'0000100016', pId:'00001', name:'Assem1 - Main shaft-1.STL (3276KB)', },{ id:'0000100017', pId:'00001', name:'Assem1 - plain washer normal grade a_iso-2.STL (20KB)', },{ id:'0000100018', pId:'00001', name:'Assem1 - plain washer xlarge grade c_iso-1.STL (19KB)', },{ id:'0000100019', pId:'00001', name:'Assem1 - plain washer xlarge grade c_iso-2.STL (19KB)', },{ id:'0000100020', pId:'00001', name:'Assem1 - plain washer xlarge grade c_iso-4.STL (19KB)', },{ id:'0000100021', pId:'00001', name:'Assem1 - Slider-1.STL (21KB)', },{ id:'0000100022', pId:'00001', name:'Assem1 - Slider-2.STL (21KB)', },{ id:'0000100023', pId:'00001', name:'Assem1 - socket head cap screw_iso-10.STL (106KB)', },{ id:'0000100024', pId:'00001', name:'Assem1 - socket head cap screw_iso-11.STL (106KB)', },{ id:'0000100025', pId:'00001', name:'Assem1 - socket head cap screw_iso-12.STL (156KB)', },{ id:'0000100026', pId:'00001', name:'Assem1 - socket head cap screw_iso-13.STL (109KB)', },{ id:'0000100027', pId:'00001', name:'Assem1 - socket head cap screw_iso-2.STL (161KB)', },{ id:'0000100028', pId:'00001', name:'Assem1 - socket head cap screw_iso-3.STL (161KB)', },{ id:'0000100029', pId:'00001', name:'Assem1 - socket head cap screw_iso-4.STL (161KB)', },{ id:'0000100030', pId:'00001', name:'Assem1 - socket head cap screw_iso-5.STL (161KB)', },{ id:'0000100031', pId:'00001', name:'Assem1 - socket head cap screw_iso-6.STL (161KB)', },{ id:'0000100032', pId:'00001', name:'Assem1 - socket head cap screw_iso-7.STL (161KB)', },{ id:'0000100033', pId:'00001', name:'Assem1 - socket head cap screw_iso-8.STL (161KB)', },{ id:'0000100034', pId:'00001', name:'Assem1 - socket head cap screw_iso-9.STL (161KB)', },{ id:'0000100035', pId:'00001', name:'Assem1 - Top plate-1.STL (436KB)', },{ id:'0000100036', pId:'00001', name:'Assem1 - vertical 1-1.STL (1518KB)', },{ id:'0000100037', pId:'00001', name:'Assem1 - vertical 1-2.STL (1518KB)', },{ id:'0000100038', pId:'00001', name:'Assem1 - vertical 2-1.STL (2597KB)', },{ id:'0000100039', pId:'00001', name:'Assem1 - vertical 2-2.STL (2597KB)', },{ id:'0000100040', pId:'00001', name:'Assem1 - Wheel 1-1.STL (482KB)', },{ id:'0000100041', pId:'00001', name:'Assem1 - Wheel 1-2.STL (482KB)', },{ id:'0000100042', pId:'00001', name:'Assem1 - Wheel 2-1.STL (256KB)', },{ id:'0000100043', pId:'00001', name:'Assem1 - Wheel carier-1.STL (2015KB)', },{ id:'0000100044', pId:'00001', name:'Assem1 - Wheel carier-2.STL (2015KB)', },{ id:'00002', pId:'1', name:'Assem1.SLDASM (5862KB)', },{ id:'00003', pId:'1', name:'Bended tube.SLDPRT (76KB)', },{ id:'00004', pId:'1', name:'Bending wheel.SLDPRT (236KB)', },{ id:'00005', pId:'1', name:'Bottom plate.SLDPRT (70KB)', },{ id:'00006', pId:'1', name:'Central plate.SLDPRT (109KB)', },{ id:'00007', pId:'1', name:'Handle.SLDPRT (61KB)', },{ id:'00008', pId:'1', name:'Hight tool 1.SLDPRT (1944KB)', },{ id:'00009', pId:'1', name:'Main shaft.SLDPRT (1432KB)', },{ id:'00010', pId:'1', name:'Slider.SLDPRT (39KB)', },{ id:'00011', pId:'1', name:'Top plate.SLDPRT (185KB)', },{ id:'00012', pId:'1', name:'untitled.124.jpg (354KB)', click:'getBookinfo(8531640)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'untitled.125.jpg (303KB)', click:'getBookinfo(8531641)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00014', pId:'1', name:'vertical 1.SLDPRT (573KB)', },{ id:'00015', pId:'1', name:'vertical 2.SLDPRT (1088KB)', },{ id:'00016', pId:'1', name:'Wheel 1.SLDPRT (166KB)', },{ id:'00017', pId:'1', name:'Wheel 2.SLDPRT (126KB)', },{ id:'00018', pId:'1', name:'Wheel carier.SLDPRT (946KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'彎管夾具.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00012', pId:'1', name:'untitled.124.jpg',url:'http://www.croleymarine.com/p-8531640.html', target:'_blank' },{ id:'00013', pId:'1', name:'untitled.125.jpg',url:'http://www.croleymarine.com/p-8531641.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("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '7261314'; 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("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });