'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'料架組立圖3d.zip', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'料架組立圖3D (包含52個文件)', },{ id:'0000100001', pId:'00001', name:'1.sldprt (62KB)', },{ id:'0000100002', pId:'00001', name:'15-xianwei.sldprt (56KB)', },{ id:'0000100003', pId:'00001', name:'2.sldprt (63KB)', },{ id:'0000100004', pId:'00001', name:'4GN50RH-(狥よ).sldprt (63KB)', },{ id:'0000100005', pId:'00001', name:'4IK25GN-CWE-(狥よ).sldprt (53KB)', },{ id:'0000100006', pId:'00001', name:'chouche201.sldprt (56KB)', },{ id:'0000100007', pId:'00001', name:'chouche202.sldprt (56KB)', },{ id:'0000100008', pId:'00001', name:'daotao1.sldprt (60KB)', },{ id:'0000100009', pId:'00001', name:'daotao20.sldprt (60KB)', },{ id:'0000100010', pId:'00001', name:'kahuan1.sldprt (55KB)', },{ id:'0000100011', pId:'00001', name:'kahuan2.sldprt (55KB)', },{ id:'0000100012', pId:'00001', name:'kahuan201.sldprt (55KB)', },{ id:'0000100013', pId:'00001', name:'kahuan202.sldprt (55KB)', },{ id:'0000100014', pId:'00001', name:'luosi.sldprt (58KB)', },{ id:'0000100015', pId:'00001', name:'luosi2.sldprt (58KB)', },{ id:'0000100016', pId:'00001', name:'Tf2A01.sldprt (103KB)', },{ id:'0000100017', pId:'00001', name:'Tf2A02.sldprt (104KB)', },{ id:'0000100018', pId:'00001', name:'Tf2A03.sldprt (93KB)', },{ id:'0000100019', pId:'00001', name:'TF2A04-1.sldprt (67KB)', },{ id:'0000100020', pId:'00001', name:'TF2A04-2.sldprt (58KB)', },{ id:'0000100021', pId:'00001', name:'TF2A04-3.sldprt (62KB)', },{ id:'0000100022', pId:'00001', name:'TF2A05.sldprt (62KB)', },{ id:'0000100023', pId:'00001', name:'TF2A07.sldprt (93KB)', },{ id:'0000100024', pId:'00001', name:'TF2A08.sldprt (77KB)', },{ id:'0000100025', pId:'00001', name:'TF2A11.sldprt (75KB)', },{ id:'0000100026', pId:'00001', name:'TF2A12.sldprt (109KB)', },{ id:'0000100027', pId:'00001', name:'TF2A13.sldprt (67KB)', },{ id:'0000100028', pId:'00001', name:'TF2A14-1.sldprt (82KB)', },{ id:'0000100029', pId:'00001', name:'TF2A14-2.sldprt (83KB)', },{ id:'0000100030', pId:'00001', name:'TF2A15.sldprt (87KB)', },{ id:'0000100031', pId:'00001', name:'TF2A16.sldprt (65KB)', },{ id:'0000100032', pId:'00001', name:'TF2A17.sldprt (73KB)', },{ id:'0000100033', pId:'00001', name:'TF2A21.sldprt (75KB)', },{ id:'0000100034', pId:'00001', name:'TF2A22.sldprt (69KB)', },{ id:'0000100035', pId:'00001', name:'TF2A23.sldprt (57KB)', },{ id:'0000100036', pId:'00001', name:'TF2A24.sldprt (61KB)', },{ id:'0000100037', pId:'00001', name:'TF2A25.sldprt (74KB)', },{ id:'0000100038', pId:'00001', name:'TF2A30.sldprt (59KB)', },{ id:'0000100039', pId:'00001', name:'TF2A75-PSFG15-256(MISUMI).sldprt (56KB)', },{ id:'0000100040', pId:'00001', name:'TF2A76-BASB6202ZZ-50(MISUMI).sldasm (116KB)', },{ id:'0000100041', pId:'00001', name:'TF2A78-SHUA30-40-(MISUMI).sldprt (59KB)', },{ id:'0000100042', pId:'00001', name:'TF2A79-SHSWA30-40(MISUMI).sldprt (60KB)', },{ id:'0000100043', pId:'00001', name:'TF2A83-PSTS30A-200-(MISUMI).sldprt (53KB)', },{ id:'0000100044', pId:'00001', name:'TF2A83-PSTS30A-800-(MISUMI).sldprt (53KB)', },{ id:'0000100045', pId:'00001', name:'TF2A85-PSCS30-20(MISUMI).sldasm (111KB)', },{ id:'0000100046', pId:'00001', name:'TF2A86-PSFJ10-500(MISUMI).sldprt (53KB)', },{ id:'0000100047', pId:'00001', name:'TF2A89-PSFJ15-200-(MISUMI)1.sldprt (53KB)', },{ id:'0000100048', pId:'00001', name:'TF2A90-PSCSBR15-21(MISUMI).sldasm (113KB)', },{ id:'0000100049', pId:'00001', name:'TF2A91-BASB6002ZZ-30-(MISUMI).sldasm (116KB)', },{ id:'0000100050', pId:'00001', name:'zhouchen.sldprt (57KB)', },{ id:'0000100051', pId:'00001', name:'zhouchen2.sldprt (57KB)', },{ id:'0000100052', pId:'00001', name:'料架組立圖3D.SLDASM (1197KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'料架組立圖3d.zip', 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 = '7262406'; 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; }); });